Spaces:
Running on Zero
Running on Zero
Commit History
-
pin UI version Running
4a2b642 -
fix: drop [hf] extra from git VCS URL
pip errors when a VCS git requirement has both #subdirectory and [extras]: it treats deploy[hf] as a literal path and finds no pyproject.toml. huggingface-hub is already a direct dependency, so hub support is unaffected by dropping the empty [hf] extra. Verified: clean venv pip-install of git+...#subdirectory=deploy (no extras) + space pins imports danbooru_deploy and runs CPU-only.4316a43 -
refactor: collapse app.py to import main from danbooru_deploy
All logic (predictor, UI, hub download, model switcher, ZeroGPU) now lives in the shared danbooru-deploy package. app.py just runs its CPU-forced entry point. - app.py reduced to: from danbooru_deploy import main; main(use_cuda=False) - requirements: install git subdirectory=deploy[hf] (hub extra) - CPU guaranteed two ways: explicit use_cuda=False + CPU onnxruntime wheel4a77736 -
feat: use shared danbooru-deploy package (CPU-only)
Replace vendored Predictor/preprocessor/loaders with the pip-installed danbooru-deploy package (from realphongha/DanbooruTagQuery deploy/). - Add git+https...subdirectory=deploy to requirements - Pass use_cuda=False to force CPU (HF Space has no GPU) - Drop duplicated code: load_category_map, load_tag_to_id, load_config, _sidecar_path, preprocess, Predictor, CATEGORY_MAP, IMAGENET constants - Keep HF-specific: model discovery, hub download, ZeroGPU UI, model switcher2e4a3a4
-
fix model card button
c284db3 -
add .pi-subagents to gitignore
6ee1554 -
fix: remove @spaces.GPU from on_analyze; add Model Card button with GPU dummy; fix clear button output count
bdcbd2b
-
fix app.py
7de3058 -
fix app.py
1ae40eb -
remove ssr
3244843 -
fix app.py
3dc0f4f -
use onnxruntime CPU
f5047d4 -
fix a category bug
1509478 -
update requirements
343ad6e -
update requirements
5f4c218 -
fixed lookup file for tag-category
cdff22b -
update requirements
ff3cad5 -
add gradio app
a5b1307 -
initial commit
Verified signature0ca4d5d