Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,8 @@ def generate(prompt,
|
|
| 63 |
if mode == "text-to-video" and (video is not None):
|
| 64 |
video = load_video(video)[:frames_to_use]
|
| 65 |
condition = True
|
| 66 |
-
elif mode == "image-to-video" and (image is not None):
|
|
|
|
| 67 |
print("WTFFFFFF")
|
| 68 |
video = [image]
|
| 69 |
condition = True
|
|
|
|
| 63 |
if mode == "text-to-video" and (video is not None):
|
| 64 |
video = load_video(video)[:frames_to_use]
|
| 65 |
condition = True
|
| 66 |
+
#elif mode == "image-to-video" and (image is not None):
|
| 67 |
+
elif image is not None:
|
| 68 |
print("WTFFFFFF")
|
| 69 |
video = [image]
|
| 70 |
condition = True
|