iQuentin commited on
Commit
a609f74
·
verified ·
1 Parent(s): 2425a36

rechange to first question

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(".rewsna eht sa"): # ("How many studio albums"): <--- REMOVE THAT FOR ALL QUESTIONS
255
  print(f"First 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("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