Note: This repository hosts management scripts/tools only. No model weights are included.
Tools for:
πΌοΈ waveshaker/loras_gallery
π§ waveshaker/loras
π waveshaker/dataset_collections
models_manager_v*.pyis used for centralized local management of the three repositories above:- JSON Management: Pull/upload
models.json, maintain card metadata (Title, Trigger), and globally manage custom KV fields. - Model Upload: Auto-clean local images and convert to WebP, one-click flat upload to the Models repo.
- Dataset Upload: Automated pipeline (TXT cleanup, PNG to JPG, Parquet packaging) and push to the Datasets repo.
- Showcase Upload: Process local PNGs (extract metadata, convert to WebP), generate/update
gallery.json, and push to thecomfyui_showcasefolder in the Models repo. Support both local-only generation and incremental upload.
- JSON Management: Pull/upload
comfy_dataset_prep_wf_v**.json: A ComfyUI workflow for LoRA dataset prep. Integrates Krea2, Qwen Image 2.1, Flux 2 Klein 9B, and SQVLM for high-res(1-1.56MP) upscaling and auto-captioning of faces and bodies.showcase_tempalte_v**.json: A ComfyUI workflow designed to generate PNG images with embedded workflow metadata. The accompanying Python tool parses these images to extract the exact Prompt, generation parameters, and LoRA stacks, automatically compiling them into a structuredgallery.jsonfor the web gallery's "ComfyUI Showcase" viewer.filter_nsfw.py: A script for rough NSFW filtering(based on NudeNet). It provides a quick initial screen, but manual review is still necessary for accurate results.batch_preview_generator/: A batch pipeline for auto-generating and deploying preview images. It follows a structured 5-step workflow:- Uses
0_batch_template_*.jsonto batch generate random preview images. - Runs
1_batch_regroup.pyto automatically reorganize all output images into their respective subfolders. - Runs
2_batch_process_meta.pyto extract themetadata from thepngfiles and convert the images intowebpformat. - Runs
3_batch_upload_showcase.pyto batch upload the processed showcase folders to Hugging Face. - Runs
4_batch_modify_json.pyto automatically update themodels.jsondata by regex-matching theshowcaseitems for each entry, leaving you ready for a final manual upload.
The
batch_preview_generator/is primarily designed for adapting older models like Pony and FLUX.1 - Dev, with the main goal of rapid batch generation. For newer models, useshowcase_tempalte_v**.jsonto generate images, and then upload them usingmodels_manager_v*.py.- Uses
- Downloads last month
- 51
