vladmandic
33d4a4999d
lint deepbooru
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-01-24 18:51:11 +01:00
CalamitousFelicitousness
26c679f9e7
refactor(caption): remove unused _device tracking property
2026-01-21 11:56:07 +00:00
CalamitousFelicitousness
6b10f0df4f
refactor(caption): address PR review feedback
...
Rename WD14 module and settings to WaifuDiffusion:
- Rename wd14.py to waifudiffusion.py
- Rename WD14Tagger class to WaifuDiffusionTagger
- Rename WD14_MODELS constant to WAIFUDIFFUSION_MODELS
- Rename settings: wd14_model -> waifudiffusion_model,
wd14_character_threshold -> waifudiffusion_character_threshold
- Update all log messages from "WD14" to "WaifuDiffusion"
Code quality improvements:
- Simplify threshold parameter defaulting using `or` operator
- Extract save_output logic into _save_tags_to_file() helper with
isolated error handling to prevent single file failures from
impacting entire batch
- Fix timing log format consistency (remove 's' suffix)
2026-01-21 11:56:07 +00:00
CalamitousFelicitousness
becb19319d
refactor(caption): unify tagger settings and reorganize Caption Tab UI
...
Consolidate WD14 and DeepBooru tagger settings into unified options:
- Merge wd14_general_threshold + deepbooru_score_threshold → tagger_threshold
- Merge wd14_include_rating + deepbooru_include_rating → tagger_include_rating
- Rename interrogate_score → tagger_show_scores
- Rename tagger_escape → tagger_escape_brackets
- Rename CLiP → OpenCLiP in caption type choices
UI reorganization:
- Add Interrogate tab to Caption Tab with default caption type selector
- Move interrogate_offload to Model Offloading section as "Offload caption models"
- Hide Interrogate settings section (all settings now in Caption Tab UI)
- Update locale_en.json for OpenCLiP naming
Code improvements:
- DeepBooru tag_multi() now accepts same parameters as WD14 for unified interface
- Fix setting references in interrogate.py for consolidated settings
- Add comprehensive tagger test suite (cli/test-tagger.py)
2026-01-21 11:56:07 +00:00
CalamitousFelicitousness
09b8fe9761
feat(caption): integrate DeepBooru into unified Booru Tagger UI
...
Add DeepBooru as a model option alongside WD14 models in the Booru Tags
tab, with dynamic UI that disables inapplicable controls.
Changes:
- Create modules/interrogate/tagger.py as unified adapter module
- Add batch, load/unload, get_models functions to deepbooru.py
- Update ui_caption.py to use unified tagger interface
- Consolidate shared tagger settings in shared.py
- Add implementation plan for future settings consolidation
UI behavior:
- Model dropdown shows DeepBooru + all WD14 models
- Character threshold and include rating disabled for DeepBooru
- All controls re-enable when WD14 model selected
2026-01-21 11:56:07 +00:00
Vladimir Mandic
d1c3b97c65
add prompt enhance
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-03-28 14:05:28 -04:00
Vladimir Mandic
1f2fc929f7
add joytag
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-02-15 10:10:04 -05:00
Vladimir Mandic
2963ce127c
refactor interrogate/caption
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-02-01 15:40:19 -05:00
Vladimir Mandic
654f44f66f
refactor interrogate/analyze/vqa code
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-02-01 11:47:20 -05:00