bstraehle commited on
Commit
20c3424
·
verified ·
1 Parent(s): f60e752

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -197,8 +197,7 @@ def chat(message, history):
197
  if result:
198
  print("## result")
199
  print(result)
200
- thread = create_thread(client)
201
- create_message(client, thread, results[0] + " " + message)
202
  run = create_run(client, assistant, thread)
203
  run = wait_on_run(client, thread, run)
204
  run_steps = get_run_steps(client, thread, run)
 
197
  if result:
198
  print("## result")
199
  print(result)
200
+ create_message(client, thread, result + " ### " + message)
 
201
  run = create_run(client, assistant, thread)
202
  run = wait_on_run(client, thread, run)
203
  run_steps = get_run_steps(client, thread, run)