Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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 |
+
|