JAMESPARK3 commited on
Commit
cb75c90
ยท
verified ยท
1 Parent(s): 0b2ef6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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: 8em; font-weight: bold; color: black;">
378
- {temp}{precip_mark} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {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} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {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 = "ํ๋ฆผ"