mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-05 11:42:34 +00:00
initialize result so not to cause exception on empty results
This commit is contained in:
@@ -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:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user