mawady commited on
Commit
33345b9
·
1 Parent(s): 51a717a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def do_process(img):
40
  img.save(path_input)
41
  img.save(path_output)
42
  # result = ocr(path_input, out_dir=path_img_output_folder, save_vis=True)
43
- img_res = Image(filename=path_output)
44
  return img_res
45
 
46
 
 
40
  img.save(path_input)
41
  img.save(path_output)
42
  # result = ocr(path_input, out_dir=path_img_output_folder, save_vis=True)
43
+ img_res = Image.open(path_output)
44
  return img_res
45
 
46