bstraehle commited on
Commit
e26d276
1 Parent(s): 89c38df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -217,7 +217,7 @@ def chat(message, history):
217
  global client, assistant, thread
218
 
219
  if assistant == None:
220
- assistant = load_assistant(client)
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)