alvis44 commited on
Commit
ad1114b
·
verified ·
1 Parent(s): ef25cc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,7 +25,7 @@ class BasicAgent:
25
  self.agent = CodeAgent(
26
  tools=[search_tool, final_answer],
27
  model=model,
28
- max_steps=6,
29
  verbosity_level=1,
30
  grammar=None,
31
  planning_interval=None,
@@ -105,7 +105,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
105
  except Exception as e:
106
  print(f"Error running agent on task {task_id}: {e}")
107
  results_log.append({"Task ID": task_id, "Question": question_text, "Submitted Answer": f"AGENT ERROR: {e}"})
108
- time.sleep(20)
109
 
110
  if not answers_payload:
111
  print("Agent did not produce any answers to submit.")
 
25
  self.agent = CodeAgent(
26
  tools=[search_tool, final_answer],
27
  model=model,
28
+ max_steps=10,
29
  verbosity_level=1,
30
  grammar=None,
31
  planning_interval=None,
 
105
  except Exception as e:
106
  print(f"Error running agent on task {task_id}: {e}")
107
  results_log.append({"Task ID": task_id, "Question": question_text, "Submitted Answer": f"AGENT ERROR: {e}"})
108
+ time.sleep(60)
109
 
110
  if not answers_payload:
111
  print("Agent did not produce any answers to submit.")