import streamlit as st | |
def main(): | |
try: | |
# ์ ํ๋ฆฌ์ผ์ด์ ์ ๋ฉ์ธ ๋ก์ง | |
st.title('AIQ ๋ธ๋ก๊ทธ ์๊ฐ') | |
# HTML iframe ์ฝ๋๋ฅผ Markdown ํจ์๋ฅผ ์ฌ์ฉํ์ฌ ํฌํจ | |
iframe_html = f""" | |
<iframe src="https://app.relevanceai.com/agents/f1db6c/eddb63179c6f-4e0a-bc55-557a58e422b2/031a5940-4b06-450f-98d5-5ff66c4b8f5a/share" width="100%" height="800" frameborder="0"></iframe> | |
""" | |
st.markdown(iframe_html, unsafe_allow_html=True) | |
except Exception as e: | |
st.error(f"์ ํ๋ฆฌ์ผ์ด์ ์คํ ์ค ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค: {e}") | |
if __name__ == "__main__": | |
main() | |