Spaces:
Running
Running
pragnakalp
commited on
Commit
•
7875a5f
1
Parent(s):
5fac140
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ 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 |
-
imge.
|
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 |
+
print(imge.filename)
|
137 |
add_csv = [Method,imge,text_output]
|
138 |
print("^^^^^",type(imge))
|
139 |
with open(DATA_FILE, "a") as f:
|