iQuentin commited on
Commit
d91f374
·
verified ·
1 Parent(s): 801039b

Go for question "Given this table"

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 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("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