mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
added alpha sort and threshold variables to create process method in preprocessing
This commit is contained in:
parent
d66bc86159
commit
bb932dbf9f
@ -29,7 +29,7 @@ def preprocess(process_src, process_dst, process_width, process_height, process_
|
|||||||
shared.interrogator.load()
|
shared.interrogator.load()
|
||||||
|
|
||||||
if process_caption_deepbooru:
|
if process_caption_deepbooru:
|
||||||
deepbooru.create_deepbooru_process()
|
deepbooru.create_deepbooru_process(opts.deepbooru_threshold, opts.deepbooru_sort_alpha)
|
||||||
|
|
||||||
def save_pic_with_caption(image, index):
|
def save_pic_with_caption(image, index):
|
||||||
if process_caption:
|
if process_caption:
|
||||||
|
Loading…
Reference in New Issue
Block a user