Spaces:
Running
on
Zero
Running
on
Zero
amirgame197
commited on
Commit
•
d33123a
1
Parent(s):
b4f77e9
Update app.py
Browse files
app.py
CHANGED
@@ -7,13 +7,13 @@ from PIL import Image
|
|
7 |
from transparent_background import Remover
|
8 |
|
9 |
remover = Remover()
|
10 |
-
processed_frames = 0
|
11 |
|
12 |
@spaces.GPU
|
13 |
def doo(video):
|
14 |
cap = cv2.VideoCapture(video)
|
15 |
fps = cap.get(cv2.CAP_PROP_FPS)
|
16 |
|
|
|
17 |
writer = None
|
18 |
|
19 |
while cap.isOpened():
|
|
|
7 |
from transparent_background import Remover
|
8 |
|
9 |
remover = Remover()
|
|
|
10 |
|
11 |
@spaces.GPU
|
12 |
def doo(video):
|
13 |
cap = cv2.VideoCapture(video)
|
14 |
fps = cap.get(cv2.CAP_PROP_FPS)
|
15 |
|
16 |
+
processed_frames = 0
|
17 |
writer = None
|
18 |
|
19 |
while cap.isOpened():
|