Spaces:
Runtime error
Runtime error
add stock history image
Browse files
app.py
CHANGED
|
@@ -48,7 +48,10 @@ with right_column:
|
|
| 48 |
stock_df = get_stock_price(option_ticker, datetime(2023, 1, 5), datetime(2023, 1, 6))
|
| 49 |
st.table(stock_df)
|
| 50 |
|
| 51 |
-
st.subheader("LSTM-based
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
with st.spinner("Loading LSTM model from Hopsworks.."):
|
| 54 |
date, value = model(option_ticker)
|
|
|
|
| 48 |
stock_df = get_stock_price(option_ticker, datetime(2023, 1, 5), datetime(2023, 1, 6))
|
| 49 |
st.table(stock_df)
|
| 50 |
|
| 51 |
+
st.subheader("LSTM-based stock price prediction model")
|
| 52 |
+
|
| 53 |
+
get_history_plot_from_hopsworks(option_ticker)
|
| 54 |
+
st.image("stock_prediction.png", caption="Stock Prediction History")
|
| 55 |
|
| 56 |
with st.spinner("Loading LSTM model from Hopsworks.."):
|
| 57 |
date, value = model(option_ticker)
|