cowrycode commited on
Commit
065dbd4
·
verified ·
1 Parent(s): 17b047a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -133,7 +133,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
133
  print(f"Skipping item with missing task_id or question: {item}")
134
  continue
135
  try:
136
- answer = wait agent.run(question_text) # await coroutine
137
  answers_payload.append({"task_id": task_id, "submitted_answer": answer})
138
  print(f"Answered Task {task_id}: {answer[:50]}...")
139
  except Exception as e:
 
133
  print(f"Skipping item with missing task_id or question: {item}")
134
  continue
135
  try:
136
+ answer = await agent.run(question_text) # await coroutine
137
  answers_payload.append({"task_id": task_id, "submitted_answer": answer})
138
  print(f"Answered Task {task_id}: {answer[:50]}...")
139
  except Exception as e: