kate0711 commited on
Commit
334131f
·
verified ·
1 Parent(s): dc6a0eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,7 +36,7 @@ def my_test_tool(genre: str)-> str: #it's import to specify the return type
36
  'I love deadlines. I love the whooshing noise they make as they go by.'
37
  ],
38
  'philosophical': [
39
- 'Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.',
40
  'A day without laughter is a day wasted.',
41
  'Man is the only creature who refuses to be what he is.'
42
  ]
@@ -80,7 +80,7 @@ with open("prompts.yaml", 'r') as stream:
80
 
81
  agent = CodeAgent(
82
  model=model,
83
- tools=[get_current_time_in_timezone, image_generation_tool, final_answer], ## add your tools here (don't remove final answer)
84
  max_steps=6,
85
  verbosity_level=1,
86
  grammar=None,
 
36
  'I love deadlines. I love the whooshing noise they make as they go by.'
37
  ],
38
  'philosophical': [
39
+ 'Two things are infinite: the universe and human stupidity; and I am not sure about the universe.',
40
  'A day without laughter is a day wasted.',
41
  'Man is the only creature who refuses to be what he is.'
42
  ]
 
80
 
81
  agent = CodeAgent(
82
  model=model,
83
+ tools=[get_current_time_in_timezone, my_test_tool, final_answer], ## add your tools here (don't remove final answer)
84
  max_steps=6,
85
  verbosity_level=1,
86
  grammar=None,