mscsasem3 commited on
Commit
29032a3
1 Parent(s): fa5c873

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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
- #imageio.imwrite('demo.png',line_image)
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