Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,6 @@ def prediction(price_max,price_step,policy_net):
|
|
29 |
plt.bar(price_grid, Q_s.detach().numpy(), color='crimson', width=6, alpha=0.8)
|
30 |
plt.show()
|
31 |
st.header('Enter the Spectification')
|
32 |
-
max_value = st.number_input('Enter the Maximun Value of Price',min_value = 500,step=1)
|
33 |
-
step = st.number_input('Enter the Price step',min_value = 10, step=1)
|
34 |
prediction(max_value,step,pc2)
|
|
|
29 |
plt.bar(price_grid, Q_s.detach().numpy(), color='crimson', width=6, alpha=0.8)
|
30 |
plt.show()
|
31 |
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 |
prediction(max_value,step,pc2)
|