mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
initialize result so not to cause exception on empty results
This commit is contained in:
parent
fef98723b2
commit
65be1df7bb
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ class InterrogateModels:
|
||||||
return caption[0]
|
return caption[0]
|
||||||
|
|
||||||
def interrogate(self, pil_image):
|
def interrogate(self, pil_image):
|
||||||
res = None
|
res = ""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue