BoghdadyJR commited on
Commit
f576150
·
verified ·
1 Parent(s): 81a8015

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -45,7 +45,8 @@ def get_location_from_ip():
45
 
46
  @tool("get_weather_by_location", args_schema=WeatherInput, return_direct=True)
47
  def get_weather_by_location(city: str = None):
48
- """Get the weather based on the user's location if no city is specified."""
 
49
 
50
  if not city:
51
  location = get_location_from_ip()
 
45
 
46
  @tool("get_weather_by_location", args_schema=WeatherInput, return_direct=True)
47
  def get_weather_by_location(city: str = None):
48
+
49
+ """Get the weather based on the user's location if no city is specified."""
50
 
51
  if not city:
52
  location = get_location_from_ip()