Spaces:
Build error
Build error
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)
|