saritha5 commited on
Commit
62ffabc
1 Parent(s): f21f5e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -32,6 +32,10 @@ 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
- if st.button('Predict'):
36
  st.header('Optimal Price Action')
37
- st.subheader(str(a))
 
 
 
 
 
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
+ def fun():
36
  st.header('Optimal Price Action')
37
+ st.subheader(str(a))
38
+
39
+ if st.button('Predict'):
40
+ fun()
41
+