iQuentin commited on
Commit
01c7d56
·
verified ·
1 Parent(s): 6c0f98d

Question who nominated

Browse files
Files changed (1) hide show
  1. simuGAIA.py +2 -2
simuGAIA.py CHANGED
@@ -251,8 +251,8 @@ def run_simuGAIA_all( profile: gr.OAuthProfile | None, submit: Optional[bool] =
251
  existing_answer = manager.get_answer_by_task_id(task_id)
252
  if not existing_answer:
253
  # then we call the agent
254
- if question_text.startswith("How many studio albums"): # (".rewsna eht sa"): <--- REMOVE THAT FOR ALL QUESTIONS
255
- print(f"First question detected. INVOKING AGENT! Be careful!")
256
  submitted_answer = agent.invoke(question_text)
257
 
258
  # Save answer, task_id, and question_text to already_answered.json
 
251
  existing_answer = manager.get_answer_by_task_id(task_id)
252
  if not existing_answer:
253
  # then we call the agent
254
+ if question_text.startswith("Who nominated the only"): # ("How many studio albums"): # (".rewsna eht sa"): <--- REMOVE THAT FOR ALL QUESTIONS
255
+ print(f"Precise question detected. INVOKING AGENT! Be careful!")
256
  submitted_answer = agent.invoke(question_text)
257
 
258
  # Save answer, task_id, and question_text to already_answered.json