pragnakalp
commited on
Commit
•
23df7db
1
Parent(s):
b00eb28
Update app.py
Browse files
app.py
CHANGED
@@ -86,9 +86,8 @@ Generate OCR
|
|
86 |
def generate_ocr(Method,img):
|
87 |
|
88 |
text_output = ''
|
89 |
-
print("\n\n img :",
|
90 |
-
|
91 |
-
if img:
|
92 |
add_csv = []
|
93 |
image_id = 1
|
94 |
print("Method___________________",Method)
|
|
|
86 |
def generate_ocr(Method,img):
|
87 |
|
88 |
text_output = ''
|
89 |
+
print("\n\n img :",img.any())
|
90 |
+
if img.any() or (img).any():
|
|
|
91 |
add_csv = []
|
92 |
image_id = 1
|
93 |
print("Method___________________",Method)
|