Spaces:
Running on Zero
Running on Zero
Download app.py from realphongha/DanbooruTagQuery: direct link, hf CLI and curl.
- Browser
- Download file 334 Bytes
-
https://huggingface.co/spaces/realphongha/DanbooruTagQuery/resolve/main/app.py
- Command line
-
hf download hf://spaces/realphongha/DanbooruTagQuery/app.py
-
curl -L -o app.py https://huggingface.co/spaces/realphongha/DanbooruTagQuery/resolve/main/app.py
334 Bytes
| #!/usr/bin/env python3 | |
| """DanbooruTagQuery Hugging Face Space. | |
| All logic lives in the shared `danbooru_deploy` package (pip-installed from | |
| realphongha/DanbooruTagQuery `deploy/`). This file only imports and runs its | |
| single entry point, forced to CPU (the Space has no GPU). | |
| """ | |
| from danbooru_deploy import main | |
| main(use_cuda=False) |