Commit
•
3880fe0
1
Parent(s):
29b8c4f
Update app.py
Browse files
app.py
CHANGED
@@ -139,7 +139,7 @@ with tab2:
|
|
139 |
y_input_building = st.slider("Choose your y-value", -1112, 435, 0)
|
140 |
z_input_building = st.slider("Choose your z-value", -1648, 226, 0)
|
141 |
|
142 |
-
if st.button("Predict"):
|
143 |
building_input_prediction = explore_magnetic_field(building_hist_model, x_input_building, y_input_building, z_input_building)
|
144 |
st.write(building_input_prediction)
|
145 |
|
@@ -148,7 +148,7 @@ with tab2:
|
|
148 |
y_input_bikelane = st.slider("Choose your y-value", -1007, 786, 0)
|
149 |
z_input_bikelane = st.slider("Choose your z-value", -1475, 16, 0)
|
150 |
|
151 |
-
if st.button("Predict"):
|
152 |
bikelane_input_prediction = explore_magnetic_field(bikelane_hist_model, x_input_bikelane, y_input_bikelane, z_input_bikelane)
|
153 |
st.write(bikelane_input_prediction)
|
154 |
|
|
|
139 |
y_input_building = st.slider("Choose your y-value", -1112, 435, 0)
|
140 |
z_input_building = st.slider("Choose your z-value", -1648, 226, 0)
|
141 |
|
142 |
+
if st.button("Predict building input"):
|
143 |
building_input_prediction = explore_magnetic_field(building_hist_model, x_input_building, y_input_building, z_input_building)
|
144 |
st.write(building_input_prediction)
|
145 |
|
|
|
148 |
y_input_bikelane = st.slider("Choose your y-value", -1007, 786, 0)
|
149 |
z_input_bikelane = st.slider("Choose your z-value", -1475, 16, 0)
|
150 |
|
151 |
+
if st.button("Predict bikelane input"):
|
152 |
bikelane_input_prediction = explore_magnetic_field(bikelane_hist_model, x_input_bikelane, y_input_bikelane, z_input_bikelane)
|
153 |
st.write(bikelane_input_prediction)
|
154 |
|