Mihkelmj commited on
Commit
e3ae012
·
1 Parent(s): 1d31989

fixed the multiquote thing

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,14 +69,14 @@ with col2:
69
  # Display the prediction
70
  # st.write(f'Predicted Pollution Level: {prediction[0]:.2f}')
71
  with sub1:
72
- pollution_box(label="O<sub>3</sub>", value=f"{round(today["O3"])} µg/m³", delta=f"{round(int(today["O3"]) - int(previous_day["O3"]))} µg/m³")
73
  with st.expander("Learn more about O3", expanded=False):
74
  st.markdown(
75
  "*Ozone (O<sub>3</sub>)*: A harmful gas at ground level, contributing to respiratory issues and aggravating asthma.",
76
  unsafe_allow_html=True,
77
  )
78
  with sub2:
79
- pollution_box(label="NO<sub>2</sub>", value=f"{round(today["NO2"])} µg/m³", delta=f"{round(int(today["NO2"]) - int(previous_day["NO2"]))} µg/m³")
80
  with st.expander("Learn more about O3", expanded=False):
81
  st.markdown(
82
  "*Wadeva particle (NO<sub>2</sub>)*: A harmful gas at ground level, contributing to respiratory issues and aggravating asthma.",
 
69
  # Display the prediction
70
  # st.write(f'Predicted Pollution Level: {prediction[0]:.2f}')
71
  with sub1:
72
+ pollution_box(label="O<sub>3</sub>", value=f"{round(today['O3'])} µg/m³", delta=f"{round(int(today['O3']) - int(previous_day['O3']))} µg/m³")
73
  with st.expander("Learn more about O3", expanded=False):
74
  st.markdown(
75
  "*Ozone (O<sub>3</sub>)*: A harmful gas at ground level, contributing to respiratory issues and aggravating asthma.",
76
  unsafe_allow_html=True,
77
  )
78
  with sub2:
79
+ pollution_box(label="NO<sub>2</sub>", value=f"{round(today['NO2'])} µg/m³", delta=f"{round(int(today['NO2']) - int(previous_day['NO2']))} µg/m³")
80
  with st.expander("Learn more about O3", expanded=False):
81
  st.markdown(
82
  "*Wadeva particle (NO<sub>2</sub>)*: A harmful gas at ground level, contributing to respiratory issues and aggravating asthma.",