mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-09 07:10:16 +08:00
[3/?] [wip] fix incorrect variable reference
still needs testing
This commit is contained in:
parent
f776254b12
commit
514456101b
@ -164,7 +164,7 @@ def get_deepbooru_tags_from_model(model, tags, pil_image, threshold, deepbooru_o
|
||||
if use_escape:
|
||||
tag_outformat = re.sub(re_special, r'\\\1', tag_outformat)
|
||||
if include_ranks:
|
||||
use_escape += f":{weight:.3f}"
|
||||
tag_outformat += f":{weight:.3f}"
|
||||
|
||||
result_tags_out.append(tag_outformat)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user