File size: 647 Bytes
04c7345
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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()