Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,11 +36,12 @@ 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 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
|
|
44 |
|
45 |
|
46 |
|
|
|
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", "c"],x="Price action ($)",y="Q ($)",width=6)
|
42 |
+
|
43 |
+
st.bar_chart(chart_data)
|
44 |
+
|
45 |
|
46 |
|
47 |
|