Spaces:
Running
Running
Update routers/video.py
Browse files- routers/video.py +2 -2
routers/video.py
CHANGED
|
@@ -373,8 +373,8 @@ def get_video_cover(
|
|
| 373 |
line_height = bbox[3] - bbox[1]
|
| 374 |
total_text_height += int(line_height * 1.4)
|
| 375 |
|
| 376 |
-
# Posição do badge:
|
| 377 |
-
badge_y = 1270 - total_text_height -
|
| 378 |
|
| 379 |
# Renderizar o badge
|
| 380 |
render_badge(background_image, 540, badge_y)
|
|
|
|
| 373 |
line_height = bbox[3] - bbox[1]
|
| 374 |
total_text_height += int(line_height * 1.4)
|
| 375 |
|
| 376 |
+
# Posição do badge: 28px acima do topo do texto
|
| 377 |
+
badge_y = 1270 - total_text_height - 28
|
| 378 |
|
| 379 |
# Renderizar o badge
|
| 380 |
render_badge(background_image, 540, badge_y)
|