Anne31415 commited on
Commit
f145236
·
1 Parent(s): b2e5352

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -115,6 +115,8 @@ def page1():
115
  def process_question(question):
116
  # Clear the previous run status
117
  st.session_state.run = None
 
 
118
 
119
  # Add message to the thread
120
  client.beta.threads.messages.create(
 
115
  def process_question(question):
116
  # Clear the previous run status
117
  st.session_state.run = None
118
+ st.session_state.messages = []
119
+
120
 
121
  # Add message to the thread
122
  client.beta.threads.messages.create(