Spaces:
Sleeping
Sleeping
Commit
·
8734db7
1
Parent(s):
dc1da06
Update app.py
Browse files
app.py
CHANGED
@@ -99,10 +99,9 @@ if st.button('Analyze'):
|
|
99 |
|
100 |
#Call the function to plot the final graph
|
101 |
plot_final_graph()
|
102 |
-
df_test = pd.DataFrame(y_test)
|
103 |
-
df_predicted = pd.DataFrame(y_predicted)
|
104 |
df_predictions = pd.concat([df_test, df_predicted], axis=1)
|
105 |
-
#df_predictions = pd.DataFrame({'Original_Price': y_test, 'Predicted_Price': y_predicted}, columns=['Original_Price', 'Predicted_Price'])
|
106 |
|
107 |
st.subheader("Original Stock Pice and Predicted Stock Price:")
|
108 |
st.dataframe(df_predictions,use_container_width=True)
|
|
|
99 |
|
100 |
#Call the function to plot the final graph
|
101 |
plot_final_graph()
|
102 |
+
df_test = pd.DataFrame(y_test, columns=['Original_Price'])
|
103 |
+
df_predicted = pd.DataFrame(y_predicted, columns=['Predicted_Price'])
|
104 |
df_predictions = pd.concat([df_test, df_predicted], axis=1)
|
|
|
105 |
|
106 |
st.subheader("Original Stock Pice and Predicted Stock Price:")
|
107 |
st.dataframe(df_predictions,use_container_width=True)
|