jaidesign commited on
Commit
97e2f08
·
verified ·
1 Parent(s): 2a6737c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -71,7 +71,8 @@ def get_weather(location: str = None, zipcode: int = None) -> str:
71
  conditions = data["weather"][0]["description"]
72
  humidity = data["main"]["humidity"]
73
 
74
- return (f"The current Weather in {location} is: {conditions.capitalize()}, Temperature: {temperature}°C, Humidity: {humidity}%")
 
75
 
76
 
77
  @tool
 
71
  conditions = data["weather"][0]["description"]
72
  humidity = data["main"]["humidity"]
73
 
74
+ return (f"The current Weather in {location} is: {conditions.capitalize()},"
75
+ f"Temperature: {temperature}°C, Humidity: {humidity}%")
76
 
77
 
78
  @tool