munta commited on
Commit
9717151
·
1 Parent(s): e94f91b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,5 +1,8 @@
1
  import streamlit as st
 
 
2
  sLen = st.slider('Sepal lenght(cm) ', 0.0, 10.0)
3
  sWid = st.slider('Sepal width(cm) ', 0.0, 10.0)
4
  pLen = st.slider('Petal lenght(cm) ', 0.0, 10.0)
5
- p= st.slider('Petal width(cm) ', 0.0, 10.0)
 
 
1
  import streamlit as st
2
+
3
+ with st.form(key='my_form'):
4
  sLen = st.slider('Sepal lenght(cm) ', 0.0, 10.0)
5
  sWid = st.slider('Sepal width(cm) ', 0.0, 10.0)
6
  pLen = st.slider('Petal lenght(cm) ', 0.0, 10.0)
7
+ p= st.slider('Petal width(cm) ', 0.0, 10.0)
8
+ st.form_submit_button('Predict')