Oyelami Oyewole A. commited on
Commit
ebf8488
·
verified ·
1 Parent(s): eef0b54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,6 +4,7 @@ import requests
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
 
7
 
8
  from Gradio_UI import GradioUI
9
 
@@ -105,7 +106,7 @@ with open("prompts.yaml", 'r') as stream:
105
 
106
  agent = CodeAgent(
107
  model=model,
108
- tools=[final_answer,get_current_time_in_timezone(timezone),get_weather_forecast(cityname) ], ## add your tools here (don't remove final answer)
109
  max_steps=6,
110
  verbosity_level=1,
111
  grammar=None,
 
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
7
+ from geopy.geocoders import Nominatim
8
 
9
  from Gradio_UI import GradioUI
10
 
 
106
 
107
  agent = CodeAgent(
108
  model=model,
109
+ tools=[final_answer,get_current_time_in_timezone(),get_weather_forecast() ], ## add your tools here (don't remove final answer)
110
  max_steps=6,
111
  verbosity_level=1,
112
  grammar=None,