Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,5 +66,6 @@ with st.form(key="chat_form", clear_on_submit=True):
|
|
| 66 |
if user_input:
|
| 67 |
response = get_chatbot_response(user_input)
|
| 68 |
st.session_state.history.append((user_input, response))
|
|
|
|
| 69 |
else:
|
| 70 |
st.warning("Please Enter A Prompt")
|
|
|
|
| 66 |
if user_input:
|
| 67 |
response = get_chatbot_response(user_input)
|
| 68 |
st.session_state.history.append((user_input, response))
|
| 69 |
+
st.rerun()
|
| 70 |
else:
|
| 71 |
st.warning("Please Enter A Prompt")
|