Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|