alexkueck commited on
Commit
abc047c
·
1 Parent(s): 3c93bd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -211,7 +211,7 @@ def create_assistant(prompt, file):
211
  assistant = client.beta.assistants.update(assistant.id,tools=[{"type": "code_interpreter"}, {"type": "retrieval"}],file_ids=[file_neu.id],)
212
  thread, run = create_thread_and_run(prompt)
213
  run = wait_on_run(run, thread)
214
- response = get_response(thread))
215
  result = assistant.content[0].text.value
216
  return result
217
 
 
211
  assistant = client.beta.assistants.update(assistant.id,tools=[{"type": "code_interpreter"}, {"type": "retrieval"}],file_ids=[file_neu.id],)
212
  thread, run = create_thread_and_run(prompt)
213
  run = wait_on_run(run, thread)
214
+ response = get_response(thread)
215
  result = assistant.content[0].text.value
216
  return result
217