Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,9 +36,9 @@ step = st.number_input('Enter the Price step',min_value = 10,value = 10,step=1)
|
|
36 |
a,b = prediction(max_value,step,pc2)
|
37 |
if st.button('Predict'):
|
38 |
fun()
|
39 |
-
chart_data = pd.DataFrame(a,b
|
40 |
|
41 |
-
columns=["a", "b"
|
42 |
|
43 |
st.bar_chart(chart_data)
|
44 |
|
|
|
36 |
a,b = prediction(max_value,step,pc2)
|
37 |
if st.button('Predict'):
|
38 |
fun()
|
39 |
+
chart_data = pd.DataFrame(a,b,
|
40 |
|
41 |
+
columns=["a", "b"],x="Price action ($)",y="Q ($)",width=6)
|
42 |
|
43 |
st.bar_chart(chart_data)
|
44 |
|