Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,9 +39,10 @@ def houry_templature(arg1:str, arg2:int)-> str: #it's import to specify the retu
|
|
| 39 |
hourly = response.Hourly()
|
| 40 |
hourly_temperature_2m = hourly.Variables(0).ValuesAsNumpy()
|
| 41 |
|
| 42 |
-
|
|
|
|
| 43 |
|
| 44 |
-
return hourly_data["temperature_2m"]
|
| 45 |
|
| 46 |
@tool
|
| 47 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 39 |
hourly = response.Hourly()
|
| 40 |
hourly_temperature_2m = hourly.Variables(0).ValuesAsNumpy()
|
| 41 |
|
| 42 |
+
hourly_data["temperature_2m"] = hourly_temperature_2m
|
| 43 |
+
|
| 44 |
|
| 45 |
+
return hourly_data["temperature_2m"]
|
| 46 |
|
| 47 |
@tool
|
| 48 |
def get_current_time_in_timezone(timezone: str) -> str:
|