Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,10 +29,10 @@ def prediction(price_max,price_step,policy_net):
|
|
29 |
#plt.show()
|
30 |
return price_grid[a_opt]
|
31 |
def fun():
|
32 |
-
st.header(
|
33 |
st.subheader(str(a))
|
34 |
return
|
35 |
-
st.header(
|
36 |
max_value = st.number_input('Enter the Maximum Value of Price',min_value=50,value = 500,step=1)
|
37 |
step = st.number_input('Enter the Price step',min_value = 10,value = 10,step=1)
|
38 |
a = prediction(max_value,step,pc2)
|
|
|
29 |
#plt.show()
|
30 |
return price_grid[a_opt]
|
31 |
def fun():
|
32 |
+
st.header("Optimal Price Action")
|
33 |
st.subheader(str(a))
|
34 |
return
|
35 |
+
st.header("Enter the Specification")
|
36 |
max_value = st.number_input('Enter the Maximum Value of Price',min_value=50,value = 500,step=1)
|
37 |
step = st.number_input('Enter the Price step',min_value = 10,value = 10,step=1)
|
38 |
a = prediction(max_value,step,pc2)
|