Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +26,7 @@ function(text_input, url_params) {
|
|
26 |
}
|
27 |
"""
|
28 |
def load_video(vid):
|
|
|
29 |
new_video_in = str(vid)
|
30 |
capture = cv2.VideoCapture(new_video_in)
|
31 |
fps = capture.get(cv2.CAP_PROP_FPS)
|
|
|
26 |
}
|
27 |
"""
|
28 |
def load_video(vid):
|
29 |
+
os.system("yt-dlp -U")
|
30 |
new_video_in = str(vid)
|
31 |
capture = cv2.VideoCapture(new_video_in)
|
32 |
fps = capture.get(cv2.CAP_PROP_FPS)
|