Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def chat(message, history, openai_api_key):
|
|
81 |
run = create_run(_client, _assistant, _thread)
|
82 |
run = wait_on_run(_client, _thread, run)
|
83 |
|
84 |
-
messages = list_messages(
|
85 |
|
86 |
return extract_content_values(messages)[0]
|
87 |
|
|
|
81 |
run = create_run(_client, _assistant, _thread)
|
82 |
run = wait_on_run(_client, _thread, run)
|
83 |
|
84 |
+
messages = list_messages(_client, _thread)
|
85 |
|
86 |
return extract_content_values(messages)[0]
|
87 |
|