bstraehle commited on
Commit
364d52e
1 Parent(s): 74d0b36

Update app.py

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