Bobricha commited on
Commit
8c21a97
·
verified ·
1 Parent(s): 94a1f5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -53,10 +53,10 @@ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_co
53
  with open("prompts.yaml", 'r') as stream:
54
  prompt_templates = yaml.safe_load(stream)
55
 
56
- agent2 = CodeAgent(
57
  model=model,
58
  tools=[final_answer], ## add your tools here (don't remove final answer)
59
- max_steps=5,
60
  verbosity_level=1,
61
  grammar=None,
62
  planning_interval=None,
@@ -66,4 +66,4 @@ agent2 = CodeAgent(
66
  )
67
 
68
 
69
- GradioUI(agent2).launch()
 
53
  with open("prompts.yaml", 'r') as stream:
54
  prompt_templates = yaml.safe_load(stream)
55
 
56
+ agent = CodeAgent(
57
  model=model,
58
  tools=[final_answer], ## add your tools here (don't remove final answer)
59
+ max_steps=6,
60
  verbosity_level=1,
61
  grammar=None,
62
  planning_interval=None,
 
66
  )
67
 
68
 
69
+ GradioUI(agent).launch()