Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
44397cd
1
Parent(s):
632c6ad
fix
Browse files
app.py
CHANGED
@@ -47,9 +47,9 @@ def create(
|
|
47 |
|
48 |
# attach initial image or video if mode requires
|
49 |
if mode == "image-to-video" and input_image_filepath:
|
50 |
-
config.
|
51 |
elif mode == "video-to-video" and input_video_filepath:
|
52 |
-
config.
|
53 |
|
54 |
# run inference
|
55 |
infer(config)
|
|
|
47 |
|
48 |
# attach initial image or video if mode requires
|
49 |
if mode == "image-to-video" and input_image_filepath:
|
50 |
+
config.input_media_path = input_image_filepath
|
51 |
elif mode == "video-to-video" and input_video_filepath:
|
52 |
+
config.input_media_path = input_video_filepath
|
53 |
|
54 |
# run inference
|
55 |
infer(config)
|