petkar commited on
Commit
eefca5a
·
verified ·
1 Parent(s): 015a7d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -33,7 +33,8 @@ def get_top_sightseeing(city: str, count: int) -> str:
33
  if results:
34
  return f"Top sightseeing locations in {city}:\n" + "\n".join(f"{i+1}. {r['title']}" for i, r in enumerate(results[:count]))
35
  else:
36
-
 
37
  @tool
38
  def my_custom_tool(city:str, season:str)-> str: # it's important to specify the return type
39
  """
 
33
  if results:
34
  return f"Top sightseeing locations in {city}:\n" + "\n".join(f"{i+1}. {r['title']}" for i, r in enumerate(results[:count]))
35
  else:
36
+ return f"No sightseeing data found for {city}."
37
+
38
  @tool
39
  def my_custom_tool(city:str, season:str)-> str: # it's important to specify the return type
40
  """