Omnibus commited on
Commit
5f83b79
1 Parent(s): 5ca8385

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -38,9 +38,10 @@ def make_files(t_name,t_space,t_title,t_description,t_redirect,t_image=None,t_im
38
  output_pro=cv2.imread(f'tmpim-{uid}.png')
39
  output_pro2=cv2.imread(f'tmpim2-{uid}.png')
40
 
41
- cv2.imwrite(f"./img-{uid}.png",output_pro)
42
- cv2.imwrite(f"./img2-{uid}.png",output_pro2)
43
- files.append(f"./img-{uid}.png",f"./img2-{uid}.png")
 
44
  pass
45
 
46
  else:
 
38
  output_pro=cv2.imread(f'tmpim-{uid}.png')
39
  output_pro2=cv2.imread(f'tmpim2-{uid}.png')
40
 
41
+ cv2.imwrite("card_im.png",output_pro)
42
+ cv2.imwrite("card_im_crop.png",output_pro2)
43
+ files.append("card_im.png")
44
+ files.append("card_im_crop.png")
45
  pass
46
 
47
  else: