mgerlitz commited on
Commit
9ee4c14
·
verified ·
1 Parent(s): 79128bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,7 +44,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
44
  # 1. Instantiate Agent ( modify this part to create your agent)
45
  try:
46
 
47
- final_answer = FinalAnswerTool()
48
 
49
 
50
 
@@ -62,7 +62,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
62
  # We're creating our CodeAgent
63
  agent = CodeAgent(
64
  model=model,
65
- tools=[final_answer, DuckDuckGoSearchTool(), VisitWebpageTool()],
66
  max_steps=6,
67
  verbosity_level=1,
68
  grammar=None,
 
44
  # 1. Instantiate Agent ( modify this part to create your agent)
45
  try:
46
 
47
+ #final_answer = FinalAnswerTool()
48
 
49
 
50
 
 
62
  # We're creating our CodeAgent
63
  agent = CodeAgent(
64
  model=model,
65
+ tools=[ DuckDuckGoSearchTool(), VisitWebpageTool()],
66
  max_steps=6,
67
  verbosity_level=1,
68
  grammar=None,