bstraehle commited on
Commit
9d0ab7a
1 Parent(s): 364d52e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,7 +65,7 @@ def create_assistant(client):
65
  return assistant
66
 
67
  def load_assistant(client):
68
- ASSISTANT_ID = "asst_LLnivkXMNturcHtqI7YPGa7T"
69
 
70
  assistant = client.beta.assistants.retrieve(ASSISTANT_ID)
71
 
@@ -218,7 +218,7 @@ def chat(message, history):
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)
 
65
  return assistant
66
 
67
  def load_assistant(client):
68
+ ASSISTANT_ID = "asst_ypbcWnilAd60bc2DQ8haDL5P"
69
 
70
  assistant = client.beta.assistants.retrieve(ASSISTANT_ID)
71
 
 
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)