Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
4ca39ec
1
Parent(s):
4db9d7d
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,6 @@ model = torch.hub.load("PeterL1n/RobustVideoMatting", "mobilenetv3") # or "resne
|
|
10 |
convert_video = torch.hub.load("PeterL1n/RobustVideoMatting", "converter")
|
11 |
|
12 |
def inference(video):
|
13 |
-
#os.system('rm output.mp4')
|
14 |
#clip = VideoFileClip(video).subclip(0, 5)
|
15 |
#clip.write_videofile("output.mp4")
|
16 |
#os.system('ffmpeg -ss 00:00:00 -i '+ video +' -to 00:00:05 -c copy -y output.mp4')
|
|
|
10 |
convert_video = torch.hub.load("PeterL1n/RobustVideoMatting", "converter")
|
11 |
|
12 |
def inference(video):
|
|
|
13 |
#clip = VideoFileClip(video).subclip(0, 5)
|
14 |
#clip.write_videofile("output.mp4")
|
15 |
#os.system('ffmpeg -ss 00:00:00 -i '+ video +' -to 00:00:05 -c copy -y output.mp4')
|