Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
e50dfec
1
Parent(s):
3f5748c
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def inference(video):
|
|
| 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=
|
| 22 |
num_workers=1, # Only for image sequence input. Reader threads.
|
| 23 |
progress=True # Print conversion progress.
|
| 24 |
)
|
|
|
|
| 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=7, # 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 |
)
|