Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
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
|