Omnibus commited on
Commit
bfa0baf
1 Parent(s): e49a902

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -40,6 +40,8 @@ def make_files(t_name,t_space,t_title,t_description,t_redirect,t_image=None,t_im
40
  cv2.imwrite("card_im_crop.png",t_image2)
41
  files.append("card_im.png")
42
  files.append("card_im_crop.png")
 
 
43
  print(f"Using image URL {t_image}")
44
  pass
45
 
@@ -54,7 +56,8 @@ def make_files(t_name,t_space,t_title,t_description,t_redirect,t_image=None,t_im
54
  cv2.imwrite("card_im_crop.png",output_pro2)
55
  files.append("card_im.png")
56
  files.append("card_im_crop.png")
57
- t_image2=output_pro2
 
58
 
59
  pass
60
 
@@ -72,6 +75,8 @@ def make_files(t_name,t_space,t_title,t_description,t_redirect,t_image=None,t_im
72
  cv2.imwrite("card_im_crop.png",t_image2)
73
  files.append("card_im.png")
74
  files.append("card_im_crop.png")
 
 
75
  pass
76
 
77
  try:
 
40
  cv2.imwrite("card_im_crop.png",t_image2)
41
  files.append("card_im.png")
42
  files.append("card_im_crop.png")
43
+ #t_image = "card_im.png"
44
+ t_image2 = "card_im_crop.png"
45
  print(f"Using image URL {t_image}")
46
  pass
47
 
 
56
  cv2.imwrite("card_im_crop.png",output_pro2)
57
  files.append("card_im.png")
58
  files.append("card_im_crop.png")
59
+ t_image = "card_im.png"
60
+ t_image2 = "card_im_crop.png"
61
 
62
  pass
63
 
 
75
  cv2.imwrite("card_im_crop.png",t_image2)
76
  files.append("card_im.png")
77
  files.append("card_im_crop.png")
78
+ t_image = "card_im.png"
79
+ t_image2 = "card_im_crop.png"
80
  pass
81
 
82
  try: