Merge pull request #6005 from allenbenz/patch-1
Fix clip interrogate from the webui
This commit is contained in:
commit
a66514e1a3
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user