Spaces:
Runtime error
Runtime error
eranlevinlt
commited on
Commit
·
75b6e6e
1
Parent(s):
34ebe71
txt2video
Browse files
app.py
CHANGED
@@ -165,8 +165,8 @@ def generate_video(image_path=None, prompt="", negative_prompt="",
|
|
165 |
|
166 |
if image_path:
|
167 |
media_items = load_image_to_tensor_with_resize(image_path, height, width).to(device)
|
168 |
-
|
169 |
-
|
170 |
|
171 |
sample = {
|
172 |
"prompt": prompt,
|
|
|
165 |
|
166 |
if image_path:
|
167 |
media_items = load_image_to_tensor_with_resize(image_path, height, width).to(device)
|
168 |
+
media_items=None
|
169 |
+
|
170 |
|
171 |
sample = {
|
172 |
"prompt": prompt,
|