added alpha sort and threshold variables to create process method in preprocessing

This commit is contained in:
JC_Array 2022-10-10 18:37:52 -05:00
parent d66bc86159
commit bb932dbf9f

View File

@ -29,7 +29,7 @@ def preprocess(process_src, process_dst, process_width, process_height, process_
shared.interrogator.load()
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):
if process_caption: