alexkueck commited on
Commit
793ae81
1 Parent(s): a38197e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -212,7 +212,8 @@ def create_assistant(prompt, file):
212
  thread, run = create_thread_and_run(prompt, client, assistant.id)
213
  run = wait_on_run(run, thread, client)
214
  response = get_response(thread, client, assistant.id)
215
- result = assistant.content[0].text.value
 
216
  return result
217
 
218
  ###################################################
 
212
  thread, run = create_thread_and_run(prompt, client, assistant.id)
213
  run = wait_on_run(run, thread, client)
214
  response = get_response(thread, client, assistant.id)
215
+ print("response...................")
216
+ result = response[1].content[0].text.value
217
  return result
218
 
219
  ###################################################