Spaces:
Running
Running
pragnakalp
commited on
Commit
•
7ee9d4d
1
Parent(s):
ac6f34c
Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ def generate_ocr(Method,img):
|
|
134 |
# print("^^^^^^^^^^^^^^^",new_data)
|
135 |
imge = Image.fromarray(new_data.astype(np.uint8),'RGB')
|
136 |
add_csv = [Method,imge,text_output]
|
137 |
-
print("^^^^^",
|
138 |
with open(DATA_FILE, "a") as f:
|
139 |
writer = csv.writer(f)
|
140 |
# write the data
|
|
|
134 |
# print("^^^^^^^^^^^^^^^",new_data)
|
135 |
imge = Image.fromarray(new_data.astype(np.uint8),'RGB')
|
136 |
add_csv = [Method,imge,text_output]
|
137 |
+
print("^^^^^",type(imge))
|
138 |
with open(DATA_FILE, "a") as f:
|
139 |
writer = csv.writer(f)
|
140 |
# write the data
|