BhanuHarish commited on
Commit
8c308e8
·
verified ·
1 Parent(s): 3e78bfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -11,11 +11,11 @@ from Gradio_UI import GradioUI
11
  @tool
12
  def fetch_top_restaurants(location: str): #it's import to specify the return type
13
  #Keep this format for the description / args / args description but feel free to modify the tool
14
- """A tool that fetches the yop retraunts in a given location
15
- Args:
16
- location (str): The location to search for restaurants.
17
  """
18
- fetch_top_restaurants list: A list of dictionaries containing restaurant names and links.
 
19
 
20
  # Construct the query for DuckDuckGo
21
  query = f"top 5 restaurants in {location}"
 
11
  @tool
12
  def fetch_top_restaurants(location: str): #it's import to specify the return type
13
  #Keep this format for the description / args / args description but feel free to modify the tool
14
+ """A tool that fetches the top retraunts in a given location
15
+ Args:location (str): The location to search for restaurants.
 
16
  """
17
+ Returns:
18
+ list: A list of dictionaries containing restaurant names and links.
19
 
20
  # Construct the query for DuckDuckGo
21
  query = f"top 5 restaurants in {location}"