Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ lipstick = cv2.imread("lipstick_image.png", cv2.IMREAD_UNCHANGED)
|
|
21 |
|
22 |
def get_weather(location="your_city"):
|
23 |
# Fetch weather data from OpenWeatherMap API
|
24 |
-
api_key = "
|
25 |
url = f"http://api.openweathermap.org/data/2.5/weather?q={location}&appid={api_key}&units=metric"
|
26 |
response = requests.get(url)
|
27 |
weather_data = response.json()
|
|
|
21 |
|
22 |
def get_weather(location="your_city"):
|
23 |
# Fetch weather data from OpenWeatherMap API
|
24 |
+
api_key = "e835da1cfdcc7d7f97ba4158e97b518e"
|
25 |
url = f"http://api.openweathermap.org/data/2.5/weather?q={location}&appid={api_key}&units=metric"
|
26 |
response = requests.get(url)
|
27 |
weather_data = response.json()
|