Merge pull request #6005 from allenbenz/patch-1
Fix clip interrogate from the webui
This commit is contained in:
commit
a66514e1a3
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ def apply_styles(prompt, prompt_neg, style1_name, style2_name):
|
||||||
|
|
||||||
|
|
||||||
def interrogate(image):
|
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
|
return gr_show(True) if prompt is None else prompt
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue