Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -276,7 +276,7 @@ def generate_labels(font_file=None, num_labels: int = 20):
|
|
| 276 |
|
| 277 |
for idx, label in enumerate(labels):
|
| 278 |
x = (idx % cols) * cell_w
|
| 279 |
-
y = (idx // cols) * cell_h
|
| 280 |
|
| 281 |
# Draw each character with spacing
|
| 282 |
char_x = x + 10 # small left margin
|
|
|
|
| 276 |
|
| 277 |
for idx, label in enumerate(labels):
|
| 278 |
x = (idx % cols) * cell_w
|
| 279 |
+
y = (idx // cols) * cell_h + 5
|
| 280 |
|
| 281 |
# Draw each character with spacing
|
| 282 |
char_x = x + 10 # small left margin
|