Spaces:
Sleeping
Sleeping
Vishnu-add
commited on
Commit
•
0f3e8c4
1
Parent(s):
b262f69
Update app.py
Browse files
app.py
CHANGED
@@ -24,9 +24,9 @@ n_days = st.slider("Days of prediction",1,30)
|
|
24 |
|
25 |
# period =n_years*365
|
26 |
|
27 |
-
@st.cache_data(allow_output_mutation=True)
|
28 |
|
29 |
# @st.cache
|
|
|
30 |
def load_data(ticker):
|
31 |
data=yf.download(ticker, START, TODAY)
|
32 |
data.reset_index(inplace=True)
|
|
|
24 |
|
25 |
# period =n_years*365
|
26 |
|
|
|
27 |
|
28 |
# @st.cache
|
29 |
+
@st.cache_data()
|
30 |
def load_data(ticker):
|
31 |
data=yf.download(ticker, START, TODAY)
|
32 |
data.reset_index(inplace=True)
|