Kevin Wu commited on
Commit
854997c
·
1 Parent(s): 46a11ed
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -123,7 +123,7 @@ def get_response(prompt, file_id, assistant_id):
123
  messages = list(
124
  client.beta.threads.messages.list(thread_id=thread.id, run_id=run.id)
125
  )
126
- assert len(messages) == 1
127
  message_content = messages[0].content[0].text
128
  annotations = message_content.annotations
129
  for index, annotation in enumerate(annotations):
 
123
  messages = list(
124
  client.beta.threads.messages.list(thread_id=thread.id, run_id=run.id)
125
  )
126
+
127
  message_content = messages[0].content[0].text
128
  annotations = message_content.annotations
129
  for index, annotation in enumerate(annotations):