Puree commited on
Commit
7017db6
1 Parent(s): 93cde73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def main():
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
- st.form_submit_button("start predict ")
28
  if clicked:
29
  result=model.predict(pd.DataFrame({"LANDUSE_TYPE": [Land_use],
30
  "USER": [User],
 
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],
30
  "USER": [User],