Spaces:
Runtime error
Runtime error
Commit
·
3073aa2
1
Parent(s):
699f5e3
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,9 @@ import gradio as gr
|
|
15 |
from huggingface_hub import notebook_login
|
16 |
notebook_login()
|
17 |
import hopsworks
|
18 |
-
|
|
|
|
|
19 |
|
20 |
|
21 |
st.write("""
|
@@ -29,7 +31,6 @@ model = keras.models.load_model('model_stock_prices.h5')
|
|
29 |
|
30 |
|
31 |
# downloading the last 10 days to make the prediction
|
32 |
-
from datetime import date
|
33 |
|
34 |
today = date.today()
|
35 |
days_ago = today - timedelta(days=20)
|
@@ -92,9 +93,6 @@ final_prediction = a[-1][3]
|
|
92 |
|
93 |
|
94 |
|
95 |
-
import matplotlib.pyplot as plt
|
96 |
-
import streamlit as st
|
97 |
-
|
98 |
prediction = []
|
99 |
#prediction.append(final_prediction)
|
100 |
close = hist['Close'].to_list()
|
|
|
15 |
from huggingface_hub import notebook_login
|
16 |
notebook_login()
|
17 |
import hopsworks
|
18 |
+
from datetime import date
|
19 |
+
import matplotlib.pyplot as plt
|
20 |
+
import streamlit as st
|
21 |
|
22 |
|
23 |
st.write("""
|
|
|
31 |
|
32 |
|
33 |
# downloading the last 10 days to make the prediction
|
|
|
34 |
|
35 |
today = date.today()
|
36 |
days_ago = today - timedelta(days=20)
|
|
|
93 |
|
94 |
|
95 |
|
|
|
|
|
|
|
96 |
prediction = []
|
97 |
#prediction.append(final_prediction)
|
98 |
close = hist['Close'].to_list()
|