Spaces:
Sleeping
Sleeping
Modify little
Browse files9 unmodified lines1011121314151633 unmodified lines5051525354555635 unmodified lines929394959697989 unmodified linesfrom gpt import gpt_apifrom sentence_transformers import SentenceTransformer, utilst.header("π€μμ° ChatBot (Demo)")model = SentenceTransformer('snunlp/KR-SBERT-V40K-klueNLI-augSTS')33 unmodified lineswith col1:st.header("RuleBased")st.image("https://static.streamlit.io/examples/cat.jpg", width=169)with st.form('form_rulebased', clear_on_submit=True):user_input = st.text_input(label='You: ', value='', key='input_rulebased')35 unmodified lineswith col2:st.header("GPT-4")st.image("https://static.streamlit.io/examples/dog.jpg", width=200)with st.form('form_gpt', clear_on_submit=True):user_input = st.text_input(label='You: ', value='', key='input_gpt')9 unmodified lines1011121314151633 unmodified lines5051525354555635 unmodified lines929394959697989 unmodified linesfrom gpt import gpt_apifrom sentence_transformers import SentenceTransformer, utilst.header("π€μμ° νλ₯΄μλ ChatBot (Demo)")model = SentenceTransformer('snunlp/KR-SBERT-V40K-klueNLI-augSTS')33 unmodified lineswith col1:st.header("1. RuleBased")st.image("https://static.streamlit.io/examples/cat.jpg", width=169)with st.form('form_rulebased', clear_on_submit=True):user_input = st.text_input(label='You: ', value='', key='input_rulebased')35 unmodified lineswith col2:st.header("2. GPT-4")st.image("https://static.streamlit.io/examples/dog.jpg", width=200)with st.form('form_gpt', clear_on_submit=True):user_input = st.text_input(label='You: ', value='', key='input_gpt')
chatgpt_app.py+3-3