cowrycode commited on
Commit
5ad4c5d
·
verified ·
1 Parent(s): 568dfc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,7 +122,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
122
  question_text = questions_data[0].get("question")
123
  task_id = questions_data[0].get("task_id")
124
  print(f"Processing my question 0 : : : : : : :")
125
- agent.run(question_text)
126
  print(f"Answered Task {task_id}: {answer[:50]}...")
127
  answers_payload = []
128
  answers_payload.append({"task_id": task_id, "submitted_answer": answer})
 
122
  question_text = questions_data[0].get("question")
123
  task_id = questions_data[0].get("task_id")
124
  print(f"Processing my question 0 : : : : : : :")
125
+ answer = agent.run(question_text)
126
  print(f"Answered Task {task_id}: {answer[:50]}...")
127
  answers_payload = []
128
  answers_payload.append({"task_id": task_id, "submitted_answer": answer})