Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -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 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
|
| 125 |
if __name__ == "__main__":
|
| 126 |
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()
|