Merge pull request #6005 from allenbenz/patch-1

Fix clip interrogate from the webui
This commit is contained in:
AUTOMATIC1111 2022-12-25 09:12:29 +03:00 committed by GitHub
commit a66514e1a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -270,7 +270,7 @@ def apply_styles(prompt, prompt_neg, style1_name, style2_name):
def interrogate(image):
prompt = shared.interrogator.interrogate(image)
prompt = shared.interrogator.interrogate(image.convert("RGB"))
return gr_show(True) if prompt is None else prompt