saritha5 commited on
Commit
507b4ad
·
1 Parent(s): 907e380

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,8 +32,8 @@ st.header('Enter the Spectification')
32
  max_value = st.number_input('Enter the Maximun Value of Price',min_value=50,value = 500,step=1)
33
  step = st.number_input('Enter the Price step',min_value = 10,value = 10,step=1)
34
  a = prediction(max_value,step,pc2)
35
- my_form = st.form(key = 'form1'):
36
- my_form.form_submit_button('Predict')
37
  st.header('Optimal Price Action')
38
  st.subheader(str(a))
39
 
 
32
  max_value = st.number_input('Enter the Maximun Value of Price',min_value=50,value = 500,step=1)
33
  step = st.number_input('Enter the Price step',min_value = 10,value = 10,step=1)
34
  a = prediction(max_value,step,pc2)
35
+ result = st.button("Predict")
36
+ st.write(result)
37
  st.header('Optimal Price Action')
38
  st.subheader(str(a))
39