Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -275,11 +275,11 @@ def extract(image):
|
|
275 |
#cv2.imwrite('demo.jpeg',line_image)
|
276 |
|
277 |
|
278 |
-
im=Image.fromarray(line_image)
|
279 |
-
im=im.convert("L")
|
280 |
-
im.save("demo.jpeg")
|
281 |
-
print("#### Image Saved #######")
|
282 |
-
|
283 |
|
284 |
|
285 |
|
|
|
275 |
#cv2.imwrite('demo.jpeg',line_image)
|
276 |
|
277 |
|
278 |
+
# im=Image.fromarray(line_image)
|
279 |
+
# im=im.convert("L")
|
280 |
+
# im.save("demo.jpeg")
|
281 |
+
# print("#### Image Saved #######")
|
282 |
+
imageio.imwrite('demo.jpeg',line_image)
|
283 |
|
284 |
|
285 |
|