Reaperxxxx commited on
Commit
b383721
·
verified ·
1 Parent(s): 556bcef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,10 +37,10 @@ def leaderboard(names):
37
  start_y = 60
38
  line_spacing = 150
39
  else:
40
- start_y = 150
41
  line_spacing = (img_height - 300) // max_names
42
 
43
- start_x = img_width // 70 # Adjust horizontal alignment
44
 
45
  # Draw names on image
46
  for i, name in enumerate(name_list[:max_names]):
 
37
  start_y = 60
38
  line_spacing = 150
39
  else:
40
+ start_y = 80
41
  line_spacing = (img_height - 300) // max_names
42
 
43
+ start_x = img_width // 87 # Adjust horizontal alignment
44
 
45
  # Draw names on image
46
  for i, name in enumerate(name_list[:max_names]):