Spaces:
Runtime error
Runtime error
tao-shen Claude Opus 4.6 commited on
Commit ·
4da041a
1
Parent(s): b0f06a1
fix: remove tao-shen/HuggingClaw-data refs to prevent unwanted linked spaces
Browse filesHF scans README content to detect dataset references, causing duplicated
Spaces to appear as "linked" to the original dataset. Replace all specific
dataset repo names with generic examples and remove huggingface-dataset tag.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Files changed (3)
- .env.example+1-1
- README.md+2-3
- scripts/sync_hf.py+1-1
41 unmodified lines4243444546474841 unmodified lines# Target Dataset repository for data backup.# Format: your-username/repo-name# Example: tao-shen/HuggingClaw-data## Manual mode (default): create the repo yourself, then set this variable.# Auto mode (AUTO_CREATE_DATASET=true): if not set, HuggingClaw derives41 unmodified lines4243444546474841 unmodified lines# Target Dataset repository for data backup.# Format: your-username/repo-name# Example: your-name/YourSpace-data## Manual mode (default): create the repo yourself, then set this variable.# Auto mode (AUTO_CREATE_DATASET=true): if not set, HuggingClaw derives
9 unmodified lines1011121314151662 unmodified lines7980818283848516 unmodified lines1021031041051061071089 unmodified linesapp_port: 7860tags:- huggingface- huggingface-dataset- openrouter- chatbot- llm62 unmodified lines| Secret | Status | Description | Example ||--------|:------:|-------------|---------|| `HF_TOKEN` | **Required** | HF Access Token with write permission ([create one](https://huggingface.co/settings/tokens)) | `hf_AbCdEfGhIjKlMnOpQrStUvWxYz` || `OPENCLAW_DATASET_REPO` | See below | Dataset repo for backup — format: `username/repo-name`. Required in manual mode; optional in auto mode (see [Data Persistence](#data-persistence)) | `tao-shen/HuggingClaw-data` || `OPENAI_API_KEY` | Recommended | OpenAI (or any [OpenAI-compatible](https://openclawdoc.com/docs/reference/environment-variables)) API key | `sk-proj-xxxxxxxxxxxx` || `OPENROUTER_API_KEY` | Optional | [OpenRouter](https://openrouter.ai) API key (200+ models, free tier available) | `sk-or-v1-xxxxxxxxxxxx` || `ANTHROPIC_API_KEY` | Optional | Anthropic Claude API key | `sk-ant-xxxxxxxxxxxx` |16 unmodified lines1. Set `AUTO_CREATE_DATASET` = `true` in your Space secrets2. Set `HF_TOKEN` with write permission3. (Optional) Set `OPENCLAW_DATASET_REPO` if you want a custom repo name4. On first startup, HuggingClaw automatically creates a **private** Dataset repo. If `OPENCLAW_DATASET_REPO` is not set, it derives the name from your HF username + Space name: `your-username/SpaceName-data` (e.g. `tao-shen/HuggingClaw-data`). Each Space gets its own dataset, so duplicating a Space won't cause conflicts> **Security note:** `AUTO_CREATE_DATASET` defaults to `false` — the system will not create repos on your behalf unless you explicitly opt in.9 unmodified lines10111213141562 unmodified lines7879808182838416 unmodified lines1011021031041051061079 unmodified linesapp_port: 7860tags:- huggingface- openrouter- chatbot- llm62 unmodified lines| Secret | Status | Description | Example ||--------|:------:|-------------|---------|| `HF_TOKEN` | **Required** | HF Access Token with write permission ([create one](https://huggingface.co/settings/tokens)) | `hf_AbCdEfGhIjKlMnOpQrStUvWxYz` || `OPENCLAW_DATASET_REPO` | See below | Dataset repo for backup — format: `username/repo-name`. Required in manual mode; optional in auto mode (see [Data Persistence](#data-persistence)) | `your-name/YourSpace-data` || `OPENAI_API_KEY` | Recommended | OpenAI (or any [OpenAI-compatible](https://openclawdoc.com/docs/reference/environment-variables)) API key | `sk-proj-xxxxxxxxxxxx` || `OPENROUTER_API_KEY` | Optional | [OpenRouter](https://openrouter.ai) API key (200+ models, free tier available) | `sk-or-v1-xxxxxxxxxxxx` || `ANTHROPIC_API_KEY` | Optional | Anthropic Claude API key | `sk-ant-xxxxxxxxxxxx` |16 unmodified lines1. Set `AUTO_CREATE_DATASET` = `true` in your Space secrets2. Set `HF_TOKEN` with write permission3. (Optional) Set `OPENCLAW_DATASET_REPO` if you want a custom repo name4. On first startup, HuggingClaw automatically creates a **private** Dataset repo. If `OPENCLAW_DATASET_REPO` is not set, it derives the name from your HF username + Space name: `your-username/SpaceName-data` (e.g. `your-name/YourSpace-data`). Each Space gets its own dataset, so duplicating a Space won't cause conflicts> **Security note:** `AUTO_CREATE_DATASET` defaults to `false` — the system will not create repos on your behalf unless you explicitly opt in.
80 unmodified lines8182838485868780 unmodified linesAUTO_CREATE_DATASET = os.environ.get("AUTO_CREATE_DATASET", "false").lower() in ("true", "1", "yes")# Dataset repo: always auto-derive from SPACE_ID when not explicitly set.# Format: {username}/{SpaceName}-data (e.g. "tao-shen/HuggingClaw-data")# This ensures each duplicated Space gets its own dataset automatically.HF_REPO_ID = os.environ.get("OPENCLAW_DATASET_REPO", "")if not HF_REPO_ID and SPACE_ID:80 unmodified lines8182838485868780 unmodified linesAUTO_CREATE_DATASET = os.environ.get("AUTO_CREATE_DATASET", "false").lower() in ("true", "1", "yes")# Dataset repo: always auto-derive from SPACE_ID when not explicitly set.# Format: {username}/{SpaceName}-data (e.g. "your-name/YourSpace-data")# This ensures each duplicated Space gets its own dataset automatically.HF_REPO_ID = os.environ.get("OPENCLAW_DATASET_REPO", "")if not HF_REPO_ID and SPACE_ID:
.env.example+1-1
README.md+2-3
scripts/sync_hf.py+1-1