Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ def main():
|
|
| 61 |
if user_input.strip(): # Check if input is not empty
|
| 62 |
bot_response = chat_with_nietzsche(user_input)
|
| 63 |
st.session_state.history.append((user_input, bot_response))
|
| 64 |
-
st.
|
| 65 |
|
| 66 |
# Run the Streamlit app
|
| 67 |
if __name__ == "__main__":
|
|
|
|
| 61 |
if user_input.strip(): # Check if input is not empty
|
| 62 |
bot_response = chat_with_nietzsche(user_input)
|
| 63 |
st.session_state.history.append((user_input, bot_response))
|
| 64 |
+
st.rerun() # Refresh the app to display the new response
|
| 65 |
|
| 66 |
# Run the Streamlit app
|
| 67 |
if __name__ == "__main__":
|