jeipollack commited on
Commit
79a047a
·
verified ·
1 Parent(s): 68a64c5

Update description of arg: location

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -7,6 +7,9 @@ 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 find_open_restaurants(location:str, timezone:str)-> str: #it's import to specify the return type
@@ -14,7 +17,7 @@ def find_open_restaurants(location:str, timezone:str)-> str: #it's import to spe
14
  Finds restaurants currently open in a specified location.
15
 
16
  Args:
17
- location (str): The city or area to search in.
18
  timezone (str): The timezone of the location (e.g., 'America/New_York').
19
 
20
  Returns:
 
7
 
8
  from Gradio_UI import GradioUI
9
 
10
+ # Initialize DuckDuckGo search tool
11
+ search_tool = DuckDuckGoSearchTool()
12
+
13
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
14
  @tool
15
  def find_open_restaurants(location:str, timezone:str)-> str: #it's import to specify the return type
 
17
  Finds restaurants currently open in a specified location.
18
 
19
  Args:
20
+ location (str): The name of the city or area where the user wants to find open restaurants.
21
  timezone (str): The timezone of the location (e.g., 'America/New_York').
22
 
23
  Returns: