Ahsen Khaliq commited on
Commit
8469132
·
1 Parent(s): 2189a33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def inference(video):
20
  return 'trim.mp4',"trim.mp4","trim.mp4"
21
  convert_video(
22
  model, # The loaded model, can be on any device (cpu or cuda).
23
- input_source='output.mp4', # A video file or an image sequence directory.
24
  input_resize=(512, 512), # [Optional] Resize the input (also the output).
25
  downsample_ratio=None, # [Optional] If None, make downsampled max size be 512px.
26
  output_type='video', # Choose "video" or "png_sequence"
 
20
  return 'trim.mp4',"trim.mp4","trim.mp4"
21
  convert_video(
22
  model, # The loaded model, can be on any device (cpu or cuda).
23
+ input_source=video, # A video file or an image sequence directory.
24
  input_resize=(512, 512), # [Optional] Resize the input (also the output).
25
  downsample_ratio=None, # [Optional] If None, make downsampled max size be 512px.
26
  output_type='video', # Choose "video" or "png_sequence"