| title: Pocket Studio Model Delivery | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| license: other | |
| # Pocket Studio Model Delivery | |
| Small HTTP proxy for Pocket Studio model downloads. | |
| The Space is public so the apps can download without showing Hugging Face to the user, but the model origin stays private in `hf://buckets/acul3/acul`. The Space reads the bucket using an `HF_TOKEN` secret configured in Hugging Face. | |
| Required Space settings: | |
| - Secret: `HF_TOKEN` | |
| - Variable: `HF_BUCKET_ID=acul3/acul` | |
| - Variable: `MODEL_ALLOWED_PREFIXES=MusicModels,DreamLiteModels` | |
| Optional: | |
| - `MODEL_MANIFEST_PATH=/app/model_manifest.json` | |
| - `CACHE_SECONDS=3600` | |
| Endpoints: | |
| - `GET /health` | |
| - `GET /models/{store}/{path}` | |
| - `HEAD /models/{store}/{path}` | |
| - `GET /manifest` when `model_manifest.json` is deployed with the Space | |