Spaces:
Running
Running
pragnakalp
commited on
Commit
•
afa9234
1
Parent(s):
7875a5f
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,6 @@ def generate_ocr(Method,img):
|
|
133 |
new_data=img.reshape(img.shape)
|
134 |
# print("^^^^^^^^^^^^^^^",new_data)
|
135 |
imge = Image.fromarray(new_data.astype(np.uint8),'RGB')
|
136 |
-
print(imge.filename)
|
137 |
add_csv = [Method,imge,text_output]
|
138 |
print("^^^^^",type(imge))
|
139 |
with open(DATA_FILE, "a") as f:
|
|
|
133 |
new_data=img.reshape(img.shape)
|
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:
|