cowrycode commited on
Commit
8cda6ba
·
verified ·
1 Parent(s): dba216b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ async def smart_agent(questions_data: List[Dict[str, Any]]) -> List[Dict[str, An
91
  return {"task_id": task_id, "submitted_answer": f"AGENT ERROR: {e}"}
92
 
93
  #tasks = [process_question(item) for item in questions_data]
94
- process_question(questions_data[0])
95
  #answers_payload = await asyncio.gather(*tasks)
96
 
97
  print("✅ All tasks completed.")
 
91
  return {"task_id": task_id, "submitted_answer": f"AGENT ERROR: {e}"}
92
 
93
  #tasks = [process_question(item) for item in questions_data]
94
+ answers_payload = process_question(questions_data[0])
95
  #answers_payload = await asyncio.gather(*tasks)
96
 
97
  print("✅ All tasks completed.")