petkar commited on
Commit
492aa00
·
verified ·
1 Parent(s): ddba5f0

Update app.py

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