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]
|
||||
|
||||
def interrogate(self, pil_image):
|
||||
res = None
|
||||
res = ""
|
||||
|
||||
try:
|
||||
|
||||
|
|
Loading…
Reference in a new issue