Spaces:
Runtime error
Runtime error
Update app.py
Browse files9 unmodified lines101112131415161716 unmodified lines34353637389 unmodified lines)# From here down is all the Streamlit UI.st.set_page_config(page_title="DataStreams' Chat Model", page_icon=":robot:")st.header("μλ νμΈμ. μ λ λ°μ΄ν°μ€νΈλ¦Όμ¦μμ μ μν κ³ νμ μ λ¬Έ μλ΄ AI λν λ΄μ΄μμ.")16 unmodified linesdef get_text():input_text = st.text_input("You: ", key= input)return input_text9 unmodified lines101112131415161716 unmodified lines3435363738394041424344454647484950515253549 unmodified lines)# From here down is all the Streamlit UI.st.set_page_config(page_title="λ°μ΄ν°μ€νΈλ¦Όμ¦ μ± λͺ¨λΈ", page_icon=":robot:")st.header("μλ νμΈμ. μ λ λ°μ΄ν°μ€νΈλ¦Όμ¦μμ μ μν κ³ νμ μ λ¬Έ μλ΄ AI λν λ΄μ΄μμ. μ λ λ§μνμλ κ²μ κΈ°μ΅νλ κ³μν΄μ μ§λ¬Έν΄μ£Όμλ©΄ λμ.")16 unmodified linesdef get_text():input_text = st.text_input("μλ΄μ: ", key= input)return input_textchat = ChatOpenAI(temperature=0)user_input=get_text()submit = st.button('Generate')if submit:response = load_answer(user_input)st.subheader("Answer:")st.write(response,key=1)
app.py+20-4