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