Spaces:
Running on Zero
Running on Zero
A newer version of the Gradio SDK is available: 6.22.0
metadata
title: DanbooruTagQuery
emoji: 🏷️
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 5.23.3
app_file: app.py
pinned: false
🏷️ DanbooruTagQuery
ONNX-powered anime image tagger. Upload an image or paste a URL to get predicted Danbooru tags with scores and categories.
Runs CPU-only by default. All logic (predictor, preprocessing, category, UI, hub download, model switcher) lives in the shared danbooru-deploy package — this app.py only imports its main() entry point (see realphongha/DanbooruTagQuery deploy/).
Local testing
# Use a local model file
python app.py /path/to/DanbooruTagQuery_b16_448x448.onnx
# Or point to a directory with .onnx + sidecar files
export MODEL_DIR=/path/to/models/
python app.py
Credits
- Model: realphongha/danbooru-tag-query
- Dataset: danbooru-tags