initialize result so not to cause exception on empty results

This commit is contained in:
Vladimir Mandic 2022-12-31 07:46:04 -05:00 committed by GitHub
parent fef98723b2
commit 65be1df7bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class InterrogateModels:
return caption[0]
def interrogate(self, pil_image):
res = None
res = ""
try: