Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -218,7 +218,7 @@ def chat(message, history):
|
|
218 |
global client, assistant, thread
|
219 |
|
220 |
if assistant == None:
|
221 |
-
assistant =
|
222 |
|
223 |
if thread == None or len(history) == 0:
|
224 |
thread = create_thread(client)
|
|
|
218 |
global client, assistant, thread
|
219 |
|
220 |
if assistant == None:
|
221 |
+
assistant = create_assistant(client)
|
222 |
|
223 |
if thread == None or len(history) == 0:
|
224 |
thread = create_thread(client)
|