Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def main():
|
|
23 |
Land_use = st.selectbox("Land use",options = unique_LANDUSE_TYPE)
|
24 |
User = st.selectbox("User",options = unique_USER)
|
25 |
Month = st.selectbox("Month",options = unique_Month)
|
26 |
-
pipe_diam = st.number_input("pipe diameter:",min_value=0.5, max_value=10.0, step=0.5)
|
27 |
clicked = st.form_submit_button("start predict ")
|
28 |
if clicked:
|
29 |
result=model.predict(pd.DataFrame({"LANDUSE_TYPE": [Land_use],
|
|
|
23 |
Land_use = st.selectbox("Land use",options = unique_LANDUSE_TYPE)
|
24 |
User = st.selectbox("User",options = unique_USER)
|
25 |
Month = st.selectbox("Month",options = unique_Month)
|
26 |
+
pipe_diam = st.number_input("pipe diameter(meter):",min_value=0.5, max_value=10.0, step=0.5)
|
27 |
clicked = st.form_submit_button("start predict ")
|
28 |
if clicked:
|
29 |
result=model.predict(pd.DataFrame({"LANDUSE_TYPE": [Land_use],
|