Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -392,7 +392,7 @@ async def home(
|
|
392 |
# ', ')[1].split('°C')[0].split(': ')[1])
|
393 |
#weather = weather_info.split(', ')[2].split(': ')[1]
|
394 |
# Create a Weather object from the weather data
|
395 |
-
temperature =
|
396 |
weather = 'Sunny'
|
397 |
weather = Weather(temperature=temperature, weather=weather)
|
398 |
temperature = weather.temperature
|
|
|
392 |
# ', ')[1].split('°C')[0].split(': ')[1])
|
393 |
#weather = weather_info.split(', ')[2].split(': ')[1]
|
394 |
# Create a Weather object from the weather data
|
395 |
+
temperature = float(20)
|
396 |
weather = 'Sunny'
|
397 |
weather = Weather(temperature=temperature, weather=weather)
|
398 |
temperature = weather.temperature
|