rasa0704 commited on
Commit
bd44df6
·
1 Parent(s): 7a02452

mdified app with prie

Browse files
Files changed (1) hide show
  1. app.py +5 -0
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)