initialize result so not to cause exception on empty results

master
Vladimir Mandic 3 years ago committed by GitHub
parent fef98723b2
commit 65be1df7bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save