bstraehle commited on
Commit
36edaa3
1 Parent(s): 0784f56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ def create_assistant(client):
27
  return assistant
28
 
29
  def load_assistant():
30
- assistant = client.beta.assistants.retrieve("asst_abc123")
31
 
32
  show_json("assistant", assistant)
33
 
@@ -114,7 +114,7 @@ def chat(message, history):
114
  global client, assistant, thread
115
 
116
  if assistant == None:
117
- assistant = create_assistant(client)
118
 
119
  if thread == None:
120
  thread = create_thread(client)
 
27
  return assistant
28
 
29
  def load_assistant():
30
+ assistant = client.beta.assistants.retrieve("asst_rA2o181bBD633oWoaiImdzwG")
31
 
32
  show_json("assistant", assistant)
33
 
 
114
  global client, assistant, thread
115
 
116
  if assistant == None:
117
+ assistant = load_assistant(client)
118
 
119
  if thread == None:
120
  thread = create_thread(client)