yetessam commited on
Commit
453152e
·
verified ·
1 Parent(s): 32b8e07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ from Gradio_UI import GradioUI
18
 
19
 
20
  @tool
21
- def get_current_time_in_timezone(timezone: str) -> str:
22
 
23
  """A tool that fetches the current local time in a specified timezone.
24
  Args:
@@ -78,7 +78,7 @@ combined_prompts = {**prompt_templates, **content_prompts}
78
 
79
  agent = CodeAgent(
80
  model=model,
81
- tools=[final_answer, polite_guard, web_search, get_current_time_in_timezone ], ## add your tools here (don't remove final answer)
82
  max_steps=6,
83
  verbosity_level=1,
84
  grammar=None,
 
18
 
19
 
20
  @tool
21
+ def get_the_current_time_in_timezone(timezone: str) -> str:
22
 
23
  """A tool that fetches the current local time in a specified timezone.
24
  Args:
 
78
 
79
  agent = CodeAgent(
80
  model=model,
81
+ tools=[final_answer, polite_guard, web_search, get_the_current_time_in_timezone ], ## add your tools here (don't remove final answer)
82
  max_steps=6,
83
  verbosity_level=1,
84
  grammar=None,