Spaces:
Runtime error
Runtime error
Commit
·
f2de731
1
Parent(s):
8e8baed
Update app.py
Browse files
app.py
CHANGED
|
@@ -100,9 +100,10 @@ if st.button('Analyze'):
|
|
| 100 |
#Call the function to plot the final graph
|
| 101 |
plot_final_graph()
|
| 102 |
|
|
|
|
| 103 |
|
| 104 |
st.subheader("Original Stock Pice and Predicted Stock Price:")
|
| 105 |
-
st.dataframe(
|
| 106 |
|
| 107 |
|
| 108 |
|
|
|
|
| 100 |
#Call the function to plot the final graph
|
| 101 |
plot_final_graph()
|
| 102 |
|
| 103 |
+
df_predictions = pd.DataFrame([y_test, y_predicted], columns = ['Original Price','Predicted Price'])
|
| 104 |
|
| 105 |
st.subheader("Original Stock Pice and Predicted Stock Price:")
|
| 106 |
+
st.dataframe(df_predictions,use_container_width=True)
|
| 107 |
|
| 108 |
|
| 109 |
|