seawolf2357 commited on
Commit
cd3d5ec
·
verified ·
1 Parent(s): 28f5a39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -69,11 +69,11 @@ def load_examples():
69
  img_path = os.path.join(test_img_dir, filename)
70
  if os.path.exists(img_path):
71
  # Use dimensions from original code for each specific example
72
- if filename == "00.png":
73
  height, width = 680, 1024
74
- elif filename == "02.png":
75
  height, width = 560, 1024
76
- elif filename == "03.png":
77
  height, width = 568, 1024
78
 
79
  else:
 
69
  img_path = os.path.join(test_img_dir, filename)
70
  if os.path.exists(img_path):
71
  # Use dimensions from original code for each specific example
72
+ if filename == "00.jpg":
73
  height, width = 680, 1024
74
+ elif filename == "02.jpg":
75
  height, width = 560, 1024
76
+ elif filename == "03.jpg":
77
  height, width = 568, 1024
78
 
79
  else: