Alvianojs commited on
Commit
0d47fe9
·
1 Parent(s): c7d003b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -5,7 +5,7 @@ from datasets import load_dataset
5
  import os
6
  from src.basic_plot import basic_chart
7
  from src.map_viz import calling_map_viz
8
- from src.map_viz_pred import calling_pred_map_viz
9
  from src.data_ingestion import daily_average
10
  from src.heatmap import HeatMap
11
  from src.data_ingestion import remove_previous_view, merge_volumes
@@ -118,9 +118,9 @@ def main():
118
  starter_variables = [x_train, str(d), pred_hour_choice, pred_view_choice]
119
  st.plotly_chart(predicted_figure(clf, starter_variables, figs))
120
 
121
- if checkbox_two_pred:
122
- st.subheader("Predictive Traffic Map")
123
- st.pyplot(calling_pred_map_viz(counts_df))
124
 
125
  if __name__ == "__main__":
126
  main()
 
5
  import os
6
  from src.basic_plot import basic_chart
7
  from src.map_viz import calling_map_viz
8
+ #from src.map_viz_pred import calling_pred_map_viz
9
  from src.data_ingestion import daily_average
10
  from src.heatmap import HeatMap
11
  from src.data_ingestion import remove_previous_view, merge_volumes
 
118
  starter_variables = [x_train, str(d), pred_hour_choice, pred_view_choice]
119
  st.plotly_chart(predicted_figure(clf, starter_variables, figs))
120
 
121
+ # if checkbox_two_pred:
122
+ # st.subheader("Predictive Traffic Map")
123
+ # st.pyplot(calling_pred_map_viz(counts_df))
124
 
125
  if __name__ == "__main__":
126
  main()