bstraehle commited on
Commit
377c496
1 Parent(s): 1ba7dce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def chat(message, history, openai_api_key):
81
  run = create_run(_client, _assistant, _thread)
82
  run = wait_on_run(_client, _thread, run)
83
 
84
- messages = list_messages(client, thread)
85
 
86
  return extract_content_values(messages)[0]
87
 
 
81
  run = create_run(_client, _assistant, _thread)
82
  run = wait_on_run(_client, _thread, run)
83
 
84
+ messages = list_messages(_client, _thread)
85
 
86
  return extract_content_values(messages)[0]
87