Spaces:
Running
Running
pragnakalp
commited on
Commit
•
304f47e
1
Parent(s):
f0ccfe1
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def generate_ocr(Method,img):
|
|
85 |
flag(Method,text_output,img)
|
86 |
except e:
|
87 |
print(e)
|
88 |
-
|
89 |
else:
|
90 |
raise gr.Error("Please upload an image!!!!")
|
91 |
|
|
|
85 |
flag(Method,text_output,img)
|
86 |
except e:
|
87 |
print(e)
|
88 |
+
return text_output
|
89 |
else:
|
90 |
raise gr.Error("Please upload an image!!!!")
|
91 |
|