thatting commited on
Commit
e1b82dc
·
verified ·
1 Parent(s): f052a7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -72,8 +72,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
72
  agent = CodeAgent(model=model,
73
  tools=[DuckDuckGoSearchTool(), VisitWebpageTool(), final_answer],
74
  max_steps=20,
75
- verbosity_level=2,
76
- prompt_templates=prompt_templates)
77
  except Exception as e:
78
  print(f"Error instantiating agent: {e}")
79
  return f"Error initializing agent: {e}", None
 
72
  agent = CodeAgent(model=model,
73
  tools=[DuckDuckGoSearchTool(), VisitWebpageTool(), final_answer],
74
  max_steps=20,
75
+ verbosity_level=2)
 
76
  except Exception as e:
77
  print(f"Error instantiating agent: {e}")
78
  return f"Error initializing agent: {e}", None