ChaosBot commited on
Commit
c71e212
·
verified ·
1 Parent(s): 2e27295

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def get_weather(city: str) -> str:
19
  Returns:
20
  str: A string containing the weather information or an error message.
21
  """
22
- api_key = os.getenv('API_KEY')
23
  if not api_key:
24
  return "Error: API Key not found in environment variables."
25
 
 
19
  Returns:
20
  str: A string containing the weather information or an error message.
21
  """
22
+ api_key = os.getenv('WEATHER_API_KEY')
23
  if not api_key:
24
  return "Error: API Key not found in environment variables."
25