mewmnp commited on
Commit
2bcd631
·
1 Parent(s): 017b95f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -1,5 +1,8 @@
1
  import streamlit as st
2
- sLen = st.slider('sepal length(cm) ', 0.0, 10.0)
3
- sWid = st.slider('sepal width(cm) ', 0.0, 10.0)
4
- pLen = st.slider('petal length(cm) ', 0.0, 10.0)
5
- pWid = 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 length(cm) ', 0.0, 10.0)
5
+ sWid = st.slider('sepal width(cm) ', 0.0, 10.0)
6
+ pLen = st.slider('petal length(cm) ', 0.0, 10.0)
7
+ pWid = st.slider('petal width(cm) ', 0.0, 10.0)
8
+ st.form_submit_button('Predict')