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() | |