unicodeveloper commited on
Commit
44397cd
·
1 Parent(s): 632c6ad
Files changed (1) hide show
  1. app.py +2 -2
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.init_image = input_image_filepath
51
  elif mode == "video-to-video" and input_video_filepath:
52
- config.init_video = input_video_filepath
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)