diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-12-25 06:12:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-25 06:12:29 +0000 |
commit | a66514e1a35a3d140e6242e553b5fd0c5bec42f4 (patch) | |
tree | c828b5c572b4df7b8ff65ab65388269712bfad3f | |
parent | c1512ef9aeb2234ccf7757c678e5c6e2b9d561c4 (diff) | |
parent | 61a273236ffd1366456cac7040e30972ca65dc2c (diff) | |
download | stable-diffusion-webui-gfx803-a66514e1a35a3d140e6242e553b5fd0c5bec42f4.tar.gz stable-diffusion-webui-gfx803-a66514e1a35a3d140e6242e553b5fd0c5bec42f4.tar.bz2 stable-diffusion-webui-gfx803-a66514e1a35a3d140e6242e553b5fd0c5bec42f4.zip |
Merge pull request #6005 from allenbenz/patch-1
Fix clip interrogate from the webui
-rw-r--r-- | modules/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py index 9dec61d5..7bf5abd9 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -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
|