vitpolis commited on
Commit
2235859
·
verified ·
1 Parent(s): 316407f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ from Gradio_UI import GradioUI
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  # https://trends.google.com/trending
12
  @tool
13
- def fomo_buster(country: str) -> str:
14
  """
15
  Get 5 top google trends in the given Country from URL https://trends.google.com/trending
16
 
@@ -95,7 +95,7 @@ with open("prompts.yaml", 'r') as stream:
95
 
96
  agent = CodeAgent(
97
  model=model,
98
- tools=[final_answer, image_generation_tool, get_current_time_in_timezone, fomo_buster], ## add your tools here (don't remove final answer)
99
  max_steps=6,
100
  verbosity_level=1,
101
  grammar=None,
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  # https://trends.google.com/trending
12
  @tool
13
+ def get_google_trends(country: str) -> str:
14
  """
15
  Get 5 top google trends in the given Country from URL https://trends.google.com/trending
16
 
 
95
 
96
  agent = CodeAgent(
97
  model=model,
98
+ tools=[final_answer, image_generation_tool, get_current_time_in_timezone, fomo_buster, get_google_trends], ## add your tools here (don't remove final answer)
99
  max_steps=6,
100
  verbosity_level=1,
101
  grammar=None,