makinuh commited on
Commit
972d3ec
·
verified ·
1 Parent(s): 5ba943f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -7,7 +7,6 @@ from tools.final_answer import FinalAnswerTool
7
 
8
  from Gradio_UI import GradioUI
9
 
10
- # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
  def limited_search(search_query: str, num_results: int) -> str:
13
  """A tool that performs a DuckDuckGo search with the number of search results specified in initial user input.
@@ -58,7 +57,7 @@ with open("prompts.yaml", 'r') as stream:
58
 
59
  agent = CodeAgent(
60
  model=model,
61
- tools=[final_answer], ## add your tools here (don't remove final answer)
62
  max_steps=6,
63
  verbosity_level=1,
64
  grammar=None,
 
7
 
8
  from Gradio_UI import GradioUI
9
 
 
10
  @tool
11
  def limited_search(search_query: str, num_results: int) -> str:
12
  """A tool that performs a DuckDuckGo search with the number of search results specified in initial user input.
 
57
 
58
  agent = CodeAgent(
59
  model=model,
60
+ tools=[limited_search,get_current_time_in_timezone,image_generation_tool,final_answer], ## add your tools here (don't remove final answer)
61
  max_steps=6,
62
  verbosity_level=1,
63
  grammar=None,