petkar commited on
Commit
83f9faf
·
verified ·
1 Parent(s): 52b1d4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -16,13 +16,13 @@ search_model = HfApiModel(
16
  )
17
 
18
  @tool
19
- def my_custom_tool(arg1:str, arg2:int)-> str: # it's important to specify the return type
20
  """
21
  Fetches the top 5 sightseeing events in a city for a given season using Hugging Face II-Search.
22
 
23
  Args:
24
- city: Name of the city (e.g., "Paris").
25
- season: Season or time of year (e.g., "summer").
26
 
27
  Returns:
28
  A formatted string listing the top 5 sightseeing events.
 
16
  )
17
 
18
  @tool
19
+ def my_custom_tool(city:str, season:str)-> str: # it's important to specify the return type
20
  """
21
  Fetches the top 5 sightseeing events in a city for a given season using Hugging Face II-Search.
22
 
23
  Args:
24
+ arg1: Name of the city (e.g., "Paris").
25
+ arg2: Season or time of year (e.g., "summer").
26
 
27
  Returns:
28
  A formatted string listing the top 5 sightseeing events.