Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,6 +23,11 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 23 |
def get_weather_tool(latitude:float, longitude:float)-> pd.DataFrame:
|
| 24 |
"""
|
| 25 |
A tool to get weather
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
"""
|
| 27 |
import openmeteo_requests
|
| 28 |
import requests_cache
|
|
|
|
| 23 |
def get_weather_tool(latitude:float, longitude:float)-> pd.DataFrame:
|
| 24 |
"""
|
| 25 |
A tool to get weather
|
| 26 |
+
Args:
|
| 27 |
+
latitude: latitude of the place we want the weather datafrom
|
| 28 |
+
longitude: longitude of the place we want the weather data from
|
| 29 |
+
Returns:
|
| 30 |
+
A pandas DataFrame containing historical temperatures and temperatures forecasts
|
| 31 |
"""
|
| 32 |
import openmeteo_requests
|
| 33 |
import requests_cache
|