dedlepexa commited on
Commit
f05ef3e
·
verified ·
1 Parent(s): 2cb1925

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -72,7 +72,9 @@ def split_image_into_12(img_path: str):
72
 
73
  crop = img.crop((left, top, right, bottom))
74
 
75
- out_path = f"{base}_{index}.png"
 
 
76
  crop.save(out_path)
77
 
78
  index += 1
 
72
 
73
  crop = img.crop((left, top, right, bottom))
74
 
75
+ # 🔥 ВАЖНО: фиксированная позиция
76
+ out_path = f"{base}_r{r}_c{c}_n{index}.png"
77
+
78
  crop.save(out_path)
79
 
80
  index += 1