iQuentin commited on
Commit
1e5a627
·
verified ·
1 Parent(s): 7ae3ee6

Go for Last question without file : "What is the first"

Browse files
Files changed (1) hide show
  1. simuGAIA.py +1 -1
simuGAIA.py CHANGED
@@ -251,7 +251,7 @@ 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("Who are the pitchers"): # **NOK**:("What country had the least number"): # ("Where were the Vietnamese"): # ("On June 6, 2023, an article"): # ("How many at bats did the Yankee"): # ("Who did the actor who"): # ("m making a grocery list", 2): # ("What is the surname of the"): # ("Given this table"): # ("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
 
 
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("What is the first name of"): # **NOK**: ("Who are the pitchers"): # **NOK**:("What country had the least number"): # ("Where were the Vietnamese"): # ("On June 6, 2023, an article"): # ("How many at bats did the Yankee"): # ("Who did the actor who"): # ("m making a grocery list", 2): # ("What is the surname of the"): # ("Given this table"): # ("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