Ahsen Khaliq commited on
Commit
4ed4bb6
·
1 Parent(s): 7dd1755

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,10 +15,10 @@ def inference(video):
15
  downsample_ratio=0.25, # [Optional] If None, make downsampled max size be 512px.
16
  output_type='video', # Choose "video" or "png_sequence"
17
  output_composition='com.mp4', # File path if video; directory path if png sequence.
18
- output_alpha="pha.mp4", # [Optional] Output the raw alpha prediction.
19
- output_foreground="fgr.mp4", # [Optional] Output the raw foreground prediction.
20
  output_video_mbps=4, # Output video mbps. Not needed for png sequence.
21
- seq_chunk=12, # Process n frames at once for better parallelism.
22
  num_workers=1, # Only for image sequence input. Reader threads.
23
  progress=True # Print conversion progress.
24
  )
 
15
  downsample_ratio=0.25, # [Optional] If None, make downsampled max size be 512px.
16
  output_type='video', # Choose "video" or "png_sequence"
17
  output_composition='com.mp4', # File path if video; directory path if png sequence.
18
+ output_alpha= None, # [Optional] Output the raw alpha prediction.
19
+ output_foreground= None, # [Optional] Output the raw foreground prediction.
20
  output_video_mbps=4, # Output video mbps. Not needed for png sequence.
21
+ seq_chunk=6, # Process n frames at once for better parallelism.
22
  num_workers=1, # Only for image sequence input. Reader threads.
23
  progress=True # Print conversion progress.
24
  )