Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -61,6 +61,7 @@ def generate(prompt,
|
|
61 |
downscaled_height, downscaled_width = int(expected_height * downscale_factor), int(expected_width * downscale_factor)
|
62 |
downscaled_height, downscaled_width = round_to_nearest_resolution_acceptable_by_vae(downscaled_height, downscaled_width)
|
63 |
|
|
|
64 |
if mode == "text-to-video" and (video is not None):
|
65 |
video = load_video(video)[:frames_to_use]
|
66 |
condition = True
|
|
|
61 |
downscaled_height, downscaled_width = int(expected_height * downscale_factor), int(expected_width * downscale_factor)
|
62 |
downscaled_height, downscaled_width = round_to_nearest_resolution_acceptable_by_vae(downscaled_height, downscaled_width)
|
63 |
|
64 |
+
print(mode)
|
65 |
if mode == "text-to-video" and (video is not None):
|
66 |
video = load_video(video)[:frames_to_use]
|
67 |
condition = True
|