Unverified Commit 65be1df7 authored by Vladimir Mandic's avatar Vladimir Mandic Committed by GitHub

initialize result so not to cause exception on empty results

parent fef98723
...@@ -135,7 +135,7 @@ class InterrogateModels: ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment