Spaces:
Sleeping
Sleeping
Jekyll & Hyde Gradio demo
Browse files
README.md
CHANGED
|
@@ -8,6 +8,8 @@ sdk_version: 4.44.0
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
|
|
|
|
|
|
| 11 |
short_description: Dual-persona Gemma 2B LoRA — Jekyll & Hyde MoE demo
|
| 12 |
models:
|
| 13 |
- google/gemma-2-2b-it
|
|
@@ -31,7 +33,9 @@ Browser demo of **Jekyll & Hyde** (Gemma 2 2B + dual LoRA, MoE blend, dynamic de
|
|
| 31 |
1. Accept [Gemma 2 license](https://huggingface.co/google/gemma-2-2b-it) on your HF account.
|
| 32 |
2. Upload adapters: `python scripts/upload_hf_hub.py`
|
| 33 |
3. Create this Space from the GitHub repo with **App file** = `hf_space/app.py` (or duplicate `hf_space/` into a dedicated Space repo).
|
| 34 |
-
4. Space **Settings → Hardware**
|
|
|
|
|
|
|
| 35 |
5. Add Space secret `HF_TOKEN` if gated model access fails (usually auto on Spaces).
|
| 36 |
|
| 37 |
## Local smoke test
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
+
python_version: "3.12"
|
| 12 |
+
startup_duration_timeout: 1h
|
| 13 |
short_description: Dual-persona Gemma 2B LoRA — Jekyll & Hyde MoE demo
|
| 14 |
models:
|
| 15 |
- google/gemma-2-2b-it
|
|
|
|
| 33 |
1. Accept [Gemma 2 license](https://huggingface.co/google/gemma-2-2b-it) on your HF account.
|
| 34 |
2. Upload adapters: `python scripts/upload_hf_hub.py`
|
| 35 |
3. Create this Space from the GitHub repo with **App file** = `hf_space/app.py` (or duplicate `hf_space/` into a dedicated Space repo).
|
| 36 |
+
4. Space **Settings → Hardware** → **ZeroGPU** (`zero-a10g`) — free for PRO hosts; visitors use daily GPU quota.
|
| 37 |
+
|
| 38 |
+
Or run: `python scripts/enable_zerogpu_space.py`
|
| 39 |
5. Add Space secret `HF_TOKEN` if gated model access fails (usually auto on Spaces).
|
| 40 |
|
| 41 |
## Local smoke test
|