Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import requests
|
|
6 |
from io import StringIO
|
7 |
import base64
|
8 |
|
9 |
-
|
10 |
def load_data_predictions(github_token):
|
11 |
|
12 |
url = 'https://api.github.com/repos/mmmapms/Forecast_DAM_V2/contents/Predictions.csv'
|
|
|
6 |
from io import StringIO
|
7 |
import base64
|
8 |
|
9 |
+
#@st.cache_data(ttl=86400) # TTL is set for 86400 seconds (24 hours)
|
10 |
def load_data_predictions(github_token):
|
11 |
|
12 |
url = 'https://api.github.com/repos/mmmapms/Forecast_DAM_V2/contents/Predictions.csv'
|