Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -366,7 +366,7 @@ def show_weather_info(data):
|
|
| 366 |
sky_status = nearest_forecast['SKY_STTS']
|
| 367 |
if sky_status == "๋ง์":
|
| 368 |
weather_icon = "โ"
|
| 369 |
-
elif sky_status
|
| 370 |
weather_icon = "โ
"
|
| 371 |
elif sky_status == "ํ๋ฆผ":
|
| 372 |
weather_icon = "โ"
|
|
@@ -374,8 +374,8 @@ def show_weather_info(data):
|
|
| 374 |
precip_mark = weather_icon
|
| 375 |
st.markdown(f'''
|
| 376 |
<div class="time-container">
|
| 377 |
-
<div style="text-align: center; margin-bottom: 0.5rem; font-size:
|
| 378 |
-
{temp}{precip_mark} {tomorrow_morning_weather}
|
| 379 |
</div>
|
| 380 |
<span class="date-text">{formatted_date}</span>
|
| 381 |
</div>
|
|
@@ -475,9 +475,9 @@ def show_temperature_graph(data):
|
|
| 475 |
elif sky_status == "๋ง์":
|
| 476 |
icon = "โ๏ธ"
|
| 477 |
description = "๋ง์"
|
| 478 |
-
elif sky_status
|
| 479 |
icon = "โ
"
|
| 480 |
-
description = "๊ตฌ๋ฆ<br>๋ง์"
|
| 481 |
elif sky_status == "ํ๋ฆผ":
|
| 482 |
icon = "โ๏ธ"
|
| 483 |
description = "ํ๋ฆผ"
|
|
|
|
| 366 |
sky_status = nearest_forecast['SKY_STTS']
|
| 367 |
if sky_status == "๋ง์":
|
| 368 |
weather_icon = "โ"
|
| 369 |
+
elif sky_status in ["๊ตฌ๋ฆ", "๊ตฌ๋ฆ๋ง์"]:
|
| 370 |
weather_icon = "โ
"
|
| 371 |
elif sky_status == "ํ๋ฆผ":
|
| 372 |
weather_icon = "โ"
|
|
|
|
| 374 |
precip_mark = weather_icon
|
| 375 |
st.markdown(f'''
|
| 376 |
<div class="time-container">
|
| 377 |
+
<div style="text-align: center; margin-bottom: 0.5rem; font-size: 6em; font-weight: bold; color: black;">
|
| 378 |
+
{temp}{precip_mark} {tomorrow_morning_weather}
|
| 379 |
</div>
|
| 380 |
<span class="date-text">{formatted_date}</span>
|
| 381 |
</div>
|
|
|
|
| 475 |
elif sky_status == "๋ง์":
|
| 476 |
icon = "โ๏ธ"
|
| 477 |
description = "๋ง์"
|
| 478 |
+
elif sky_status in ["๊ตฌ๋ฆ", "๊ตฌ๋ฆ๋ง์"]:
|
| 479 |
icon = "โ
"
|
| 480 |
+
description = "๊ตฌ๋ฆ" if sky_status == "๊ตฌ๋ฆ" else "๊ตฌ๋ฆ<br>๋ง์"
|
| 481 |
elif sky_status == "ํ๋ฆผ":
|
| 482 |
icon = "โ๏ธ"
|
| 483 |
description = "ํ๋ฆผ"
|