Spaces:
Sleeping
Sleeping
Update chatgpt_app.py
Browse files- chatgpt_app.py +2 -2
chatgpt_app.py
CHANGED
|
@@ -53,7 +53,7 @@ with col1:
|
|
| 53 |
st.header("RuleBased")
|
| 54 |
st.image("https://static.streamlit.io/examples/cat.jpg", width=169)
|
| 55 |
with st.form('form_rulebased', clear_on_submit=True):
|
| 56 |
-
user_input = st.
|
| 57 |
submitted = st.form_submit_button('Send')
|
| 58 |
|
| 59 |
if submitted and user_input:
|
|
@@ -94,7 +94,7 @@ with col2:
|
|
| 94 |
st.header("GPT-4")
|
| 95 |
st.image("https://static.streamlit.io/examples/dog.jpg", width=200)
|
| 96 |
with st.form('form_gpt', clear_on_submit=True):
|
| 97 |
-
user_input = st.
|
| 98 |
submitted = st.form_submit_button('Send')
|
| 99 |
|
| 100 |
if submitted and user_input:
|
|
|
|
| 53 |
st.header("RuleBased")
|
| 54 |
st.image("https://static.streamlit.io/examples/cat.jpg", width=169)
|
| 55 |
with st.form('form_rulebased', clear_on_submit=True):
|
| 56 |
+
user_input = st.text_input(label='You: ', value='', key='input_rulebased')
|
| 57 |
submitted = st.form_submit_button('Send')
|
| 58 |
|
| 59 |
if submitted and user_input:
|
|
|
|
| 94 |
st.header("GPT-4")
|
| 95 |
st.image("https://static.streamlit.io/examples/dog.jpg", width=200)
|
| 96 |
with st.form('form_gpt', clear_on_submit=True):
|
| 97 |
+
user_input = st.text_input(label='You: ', value='', key='input_gpt')
|
| 98 |
submitted = st.form_submit_button('Send')
|
| 99 |
|
| 100 |
if submitted and user_input:
|