Spaces:
Sleeping
Sleeping
Sync from GitHub 1cb4089: fix(data-sync): 更新 DATA_REPO_RAW 到 AutoZYX-Labs/NDS-Statistics-Data 新位置
Browse files- dashboard_st.py +1 -1
dashboard_st.py
CHANGED
|
@@ -549,7 +549,7 @@ UPLOAD_DIR = _BASE / "uploaded_images"
|
|
| 549 |
# every load_df() cache miss (TTL=60s) so data updates propagate within
|
| 550 |
# a minute, and code changes don't require re-committing the large
|
| 551 |
# binary files. Set NDS_SKIP_DATA_SYNC=1 for local dev to keep local .db.
|
| 552 |
-
DATA_REPO_RAW = "https://raw.githubusercontent.com/AutoZYX/NDS-Statistics-Data/main"
|
| 553 |
|
| 554 |
def _sync_data_from_repo():
|
| 555 |
"""Download latest .db files from the data repo. Silently falls back
|
|
|
|
| 549 |
# every load_df() cache miss (TTL=60s) so data updates propagate within
|
| 550 |
# a minute, and code changes don't require re-committing the large
|
| 551 |
# binary files. Set NDS_SKIP_DATA_SYNC=1 for local dev to keep local .db.
|
| 552 |
+
DATA_REPO_RAW = "https://raw.githubusercontent.com/AutoZYX-Labs/NDS-Statistics-Data/main"
|
| 553 |
|
| 554 |
def _sync_data_from_repo():
|
| 555 |
"""Download latest .db files from the data repo. Silently falls back
|