Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def init_assistant():
|
|
20 |
model="gpt-4-1106-preview",
|
21 |
)
|
22 |
|
23 |
-
_thread =
|
24 |
|
25 |
def wait_on_run(run, thread):
|
26 |
global _client
|
|
|
20 |
model="gpt-4-1106-preview",
|
21 |
)
|
22 |
|
23 |
+
_thread = _client.beta.threads.create()
|
24 |
|
25 |
def wait_on_run(run, thread):
|
26 |
global _client
|