bgamazay commited on
Commit
ad7a48d
·
verified ·
1 Parent(s): 3e64240

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -90,9 +90,9 @@ def create_label_single_pass(background_image, model_data, final_size=(520, 728)
90
  # 3. Place your text.
91
  # You may need to experiment with x/y coordinates or font sizes
92
  # to make it look right in 520×728.
93
- title_x, title_y = 32, 148
94
  details_x, details_y = 480, 256
95
- energy_x, energy_y = 460, 472
96
 
97
  # Text 1 (title)
98
  draw.text((title_x, title_y), str(model_data['model']), font=title_font, fill="black")
 
90
  # 3. Place your text.
91
  # You may need to experiment with x/y coordinates or font sizes
92
  # to make it look right in 520×728.
93
+ title_x, title_y = 33, 150
94
  details_x, details_y = 480, 256
95
+ energy_x, energy_y = 480, 472
96
 
97
  # Text 1 (title)
98
  draw.text((title_x, title_y), str(model_data['model']), font=title_font, fill="black")