takoyaro / db-storage1111

automatic1111's stable-diffusion-webui extension for storing images to a database
49 stars 19 forks source link

Optimize the code #3

Closed WALL-E closed 1 year ago

takoyaro commented 1 year ago

Wouldn't that just save every image to the DB automatically? I'm more than happy to improve the code but systematically upload everything to the DB feels overkill to me as some people have bandwidth limitations or "on-demand" plans and might want to be more selective about what they upload to the database.

WALL-E commented 1 year ago

"checkbox_save_to_db" has already been checked.

https://github.com/takoyaro/db-storage1111/blob/7cb751ffd685c7e7c0f64864a41c4c07d66552b6/scripts/storage.py#L36-L39

takoyaro commented 1 year ago

You are absolutely right....😅 merging!