Puree commited on
Commit
f2459c3
1 Parent(s): cfc3358

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, value=None, step=0.5)
27
  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:",min_value=0.5, max_value=10.0, value=float, step=0.5)
27
  st.form_submit_button("start predict ")
28
  if clicked:
29
  result=model.predict(pd.DataFrame({"LANDUSE_TYPE": [Land_use],