Robzy commited on
Commit
e5f3c41
·
1 Parent(s): 1b8548d
Files changed (1) hide show
  1. app_streamlit.py +4 -4
app_streamlit.py CHANGED
@@ -39,12 +39,12 @@ st.subheader('Forecast and hindcast')
39
  st.subheader('Unit: PM25 - particle matter of diameter < 2.5 micrometers')
40
 
41
  #pickle_file_path = 'air_quality_df.pkl'
42
- pickle_file_path = 'outcome_df.pkl'
43
 
44
- with open(pickle_file_path, 'rb') as file:
45
- st.session_state.df = pickle.load(file).sort_values(by="date")
46
 
47
- fig = figure.plot(st.session_state.df)
48
 
49
  # Render the chart in Streamlit
50
  st.plotly_chart(fig)
 
39
  st.subheader('Unit: PM25 - particle matter of diameter < 2.5 micrometers')
40
 
41
  #pickle_file_path = 'air_quality_df.pkl'
42
+ # pickle_file_path = 'outcome_df.pkl'
43
 
44
+ # with open(pickle_file_path, 'rb') as file:
45
+ # st.session_state.df = pickle.load(file).sort_values(by="date")
46
 
47
+ fig = figure.plot(df)
48
 
49
  # Render the chart in Streamlit
50
  st.plotly_chart(fig)