Spaces:
Kpd81
/
Sleeping

tao-shen Claude Opus 4.6 commited on
Commit
419ff91
·
1 Parent(s): 5a096f1

fix: always derive dataset from SPACE_ID, ignore OPENCLAW_DATASET_REPO on HF

Browse files

When running on HF Spaces (SPACE_ID is set), always use
{SPACE_ID}-data as the dataset name. This prevents duplicated
Spaces from inheriting the original's dataset via copied secrets.
OPENCLAW_DATASET_REPO is only used for local Docker without SPACE_ID.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

1 file changed +17 -9
scripts/sync_hf.py+17-9