Spoon-assassin commited on
Commit
0627a44
·
verified ·
1 Parent(s): 3a8a448

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,7 +56,7 @@ def meteo_weathercode_to_emoji(weathercode):
56
  }
57
  return emoji.get(weathercode, "❓")
58
 
59
- def get_city_coordinates(city_name: str) -> float, float:
60
  """
61
  Finds the GPS coordinates (latitude, longitude) of a city.
62
 
@@ -78,7 +78,7 @@ def get_city_coordinates(city_name: str) -> float, float:
78
  return None
79
 
80
  @tool
81
- def get_weather_forecast(city: str, days: str=3):
82
  """
83
  Retrieves a weather forecast for a city over the next few days.
84
 
 
56
  }
57
  return emoji.get(weathercode, "❓")
58
 
59
+ def get_city_coordinates(city_name: str):
60
  """
61
  Finds the GPS coordinates (latitude, longitude) of a city.
62
 
 
78
  return None
79
 
80
  @tool
81
+ def get_weather_forecast(city: str, days: str=3) -> str:
82
  """
83
  Retrieves a weather forecast for a city over the next few days.
84