Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -335,7 +335,7 @@ def show_weather_info(data):
|
|
335 |
elif morning_six_data['SKY_STTS'] in ["구름", "구름많음"]:
|
336 |
weather_icon = "⛅"
|
337 |
elif morning_six_data['SKY_STTS'] == "흐림":
|
338 |
-
weather_icon = "
|
339 |
|
340 |
tomorrow_morning_weather = f"{tomorrow_temp}°C {weather_icon}"
|
341 |
|
@@ -379,13 +379,13 @@ def show_weather_info(data):
|
|
379 |
elif sky_status in ["구름", "구름많음"]:
|
380 |
weather_icon = "⛅"
|
381 |
elif sky_status == "흐림":
|
382 |
-
weather_icon = "
|
383 |
|
384 |
precip_mark = weather_icon
|
385 |
st.markdown(f'''
|
386 |
<div class="time-container">
|
387 |
<div style="text-align: center; margin-bottom: 0.5rem; font-size: 6em; font-weight: bold; color: black;">
|
388 |
-
{temp}{precip_mark} {tomorrow_morning_weather}
|
389 |
</div>
|
390 |
<span class="date-text">{formatted_date}</span>
|
391 |
</div>
|
@@ -501,7 +501,7 @@ def show_temperature_graph(data):
|
|
501 |
icon = "⛅"
|
502 |
description = "구름" if sky_status == "구름" else "구름<br>많음"
|
503 |
elif sky_status == "흐림":
|
504 |
-
icon = "
|
505 |
description = "흐림"
|
506 |
else:
|
507 |
icon = "☀️"
|
|
|
335 |
elif morning_six_data['SKY_STTS'] in ["구름", "구름많음"]:
|
336 |
weather_icon = "⛅"
|
337 |
elif morning_six_data['SKY_STTS'] == "흐림":
|
338 |
+
weather_icon = '<span style="color: white; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);">☁</span>'
|
339 |
|
340 |
tomorrow_morning_weather = f"{tomorrow_temp}°C {weather_icon}"
|
341 |
|
|
|
379 |
elif sky_status in ["구름", "구름많음"]:
|
380 |
weather_icon = "⛅"
|
381 |
elif sky_status == "흐림":
|
382 |
+
weather_icon = '<span style="color: white; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);">☁</span>'
|
383 |
|
384 |
precip_mark = weather_icon
|
385 |
st.markdown(f'''
|
386 |
<div class="time-container">
|
387 |
<div style="text-align: center; margin-bottom: 0.5rem; font-size: 6em; font-weight: bold; color: black;">
|
388 |
+
{temp}{precip_mark} {tomorrow_morning_weather}
|
389 |
</div>
|
390 |
<span class="date-text">{formatted_date}</span>
|
391 |
</div>
|
|
|
501 |
icon = "⛅"
|
502 |
description = "구름" if sky_status == "구름" else "구름<br>많음"
|
503 |
elif sky_status == "흐림":
|
504 |
+
icon = '<span style="color: white; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);">☁</span>'
|
505 |
description = "흐림"
|
506 |
else:
|
507 |
icon = "☀️"
|