gojiteji commited on
Commit
0bac937
1 Parent(s): 0712f50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -171,7 +171,7 @@ def generate(logo=None, Vtubername=""):
171
 
172
  def resize_caption_to_logo(logo, caption):
173
  if caption.width > logo.width:
174
- scaler = 3
175
  resized_caption = caption.resize((int(logo.width*scaler), int(scaler*caption.height * logo.width / caption.width )))
176
  print("resizing")
177
  return resized_caption
 
171
 
172
  def resize_caption_to_logo(logo, caption):
173
  if caption.width > logo.width:
174
+ scaler = 2.4
175
  resized_caption = caption.resize((int(logo.width*scaler), int(scaler*caption.height * logo.width / caption.width )))
176
  print("resizing")
177
  return resized_caption