Commit
·
9664ead
1
Parent(s):
311fe07
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def generate_video(
|
|
47 |
|
48 |
# note julian: normally we should resize input images, but normally they are already in 1024x576, so..
|
49 |
# also, I would like to experiment with vertical videos, and 1024x512 videos
|
50 |
-
|
51 |
|
52 |
if image.mode == "RGBA":
|
53 |
image = image.convert("RGB")
|
|
|
47 |
|
48 |
# note julian: normally we should resize input images, but normally they are already in 1024x576, so..
|
49 |
# also, I would like to experiment with vertical videos, and 1024x512 videos
|
50 |
+
image = resize_image(image)
|
51 |
|
52 |
if image.mode == "RGBA":
|
53 |
image = image.convert("RGB")
|