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