Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def my_weather_tool(location: str) -> str:
|
|
| 16 |
location: Location name (e.g., 'New York') or lat,lon coordinates (e.g., '40.7128,-74.0060')
|
| 17 |
"""
|
| 18 |
# Get API key from environment
|
| 19 |
-
api_key = os.getenv("
|
| 20 |
if not api_key:
|
| 21 |
return "Error: TOMORROW_API_KEY environment variable is not set. Please set it to use this tool."
|
| 22 |
|
|
|
|
| 16 |
location: Location name (e.g., 'New York') or lat,lon coordinates (e.g., '40.7128,-74.0060')
|
| 17 |
"""
|
| 18 |
# Get API key from environment
|
| 19 |
+
api_key = os.getenv("TOMORROW_API_KEY")
|
| 20 |
if not api_key:
|
| 21 |
return "Error: TOMORROW_API_KEY environment variable is not set. Please set it to use this tool."
|
| 22 |
|