Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -186,11 +186,9 @@ def main():
|
|
186 |
st.session_state['chat_history'] = chat_history
|
187 |
st.session_state['sources'] = sources
|
188 |
|
189 |
-
# Clear the
|
190 |
-
|
191 |
-
st.experimental_rerun()
|
192 |
|
193 |
if __name__ == "__main__":
|
194 |
main()
|
195 |
-
|
196 |
-
|
|
|
186 |
st.session_state['chat_history'] = chat_history
|
187 |
st.session_state['sources'] = sources
|
188 |
|
189 |
+
# Clear the input by setting the message to an empty string
|
190 |
+
# and rerun the app to refresh the display
|
191 |
+
st.experimental_rerun()
|
192 |
|
193 |
if __name__ == "__main__":
|
194 |
main()
|
|
|
|