mdified app with prie
Browse files
app.py
CHANGED
|
@@ -102,3 +102,8 @@ plt.ylabel('Price')
|
|
| 102 |
plt.legend()
|
| 103 |
st.pyplot(fig2)
|
| 104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
plt.legend()
|
| 103 |
st.pyplot(fig2)
|
| 104 |
|
| 105 |
+
# also printing the next day closing price
|
| 106 |
+
last_predicted_price = float(y_pred[-1])
|
| 107 |
+
actual_closing_price = float(y_test[-1])
|
| 108 |
+
st.subheader("Predicted Upcoming Trading Day Closing Price: ",last_predicted_price)
|
| 109 |
+
st.subheader("Last Closing Price: ",actual_closing_price)
|