Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
42 |
-
cv2.imwrite(
|
43 |
-
files.append(
|
|
|
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:
|