JAMESPARK3 commited on
Commit
586c602
ยท
verified ยท
1 Parent(s): b801773

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -274,7 +274,7 @@ def main():
274
  tomorrow_morning_temps = tomorrow_temp_data[tomorrow_temp_data['hour'].between(6, 11)]['fcstValue'].astype(float)
275
  tomorrow_morning_temp = tomorrow_temp_data[tomorrow_temp_data['hour'] == 6]['fcstValue'].iloc[0] if not tomorrow_temp_data[tomorrow_temp_data['hour'] == 6].empty else 0
276
 
277
- st.markdown(f"""<span style='font-size: 3.5em'>์‹ค์‹œ๊ฐ„ ๋‚ ์”จ ๋Œ€์‹œ๋ณด๋“œ <span style='font-size: 0.7em'>(ํ˜„์žฌ์˜จ๋„: <b><span style='color: {'red' if current_temp >= 0 else 'blue'}'>{current_temp:.1f}</span></b>๋„, ๋‚ด์ผ ์•„์นจ 6์‹œ ์˜จ๋„: <b><span style='color: {'red' if float(tomorrow_morning_temp) >= 0 else 'blue'}'>{float(tomorrow_morning_temp):.1f}</span></b>๋„)</span></span>""", unsafe_allow_html=True)
278
 
279
  # ๊ทธ๋ž˜ํ”„ ๊ทธ๋ฆฌ๊ธฐ
280
  fig, ax = plt.subplots(figsize=(25, 10))
 
274
  tomorrow_morning_temps = tomorrow_temp_data[tomorrow_temp_data['hour'].between(6, 11)]['fcstValue'].astype(float)
275
  tomorrow_morning_temp = tomorrow_temp_data[tomorrow_temp_data['hour'] == 6]['fcstValue'].iloc[0] if not tomorrow_temp_data[tomorrow_temp_data['hour'] == 6].empty else 0
276
 
277
+ st.markdown(f"""<span style='font-size: 3.5em'><b>์‹ค์‹œ๊ฐ„ ๋‚ ์”จ ๋Œ€์‹œ๋ณด๋“œ</b> <span style='font-size: 0.7em'>(ํ˜„์žฌ์˜จ๋„: <b><span style='color: {'red' if current_temp >= 0 else 'blue'}'>{current_temp:.1f}</span></b>๋„, ๋‚ด์ผ ์•„์นจ 6์‹œ ์˜จ๋„: <b><span style='color: {'red' if float(tomorrow_morning_temp) >= 0 else 'blue'}'>{float(tomorrow_morning_temp):.1f}</span></b>๋„)</span></span>""", unsafe_allow_html=True)
278
 
279
  # ๊ทธ๋ž˜ํ”„ ๊ทธ๋ฆฌ๊ธฐ
280
  fig, ax = plt.subplots(figsize=(25, 10))