gojiteji commited on
Commit
0507cd3
1 Parent(s): 17e1573

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -173,7 +173,7 @@ def generate(logo=None, Vtubername=""):
173
  logo_width = logo.width
174
  target_caption_width = int(logo_width)
175
  logo_height = logo.height
176
- target_caption_width = int(logo_height)
177
 
178
  if caption.width > target_caption_width:
179
  aspect_ratio = caption.height / caption.width
 
173
  logo_width = logo.width
174
  target_caption_width = int(logo_width)
175
  logo_height = logo.height
176
+ target_caption_height = int(logo_height)
177
 
178
  if caption.width > target_caption_width:
179
  aspect_ratio = caption.height / caption.width