habulaj commited on
Commit
7ff053e
·
verified ·
1 Parent(s): ab33a94

Update routers/video.py

Browse files
Files changed (1) hide show
  1. 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: 24px acima do topo do texto
377
- badge_y = 1270 - total_text_height - 24
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)