Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@ from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
|
|
10 |
import moviepy.video.io.ImageSequenceClip
|
11 |
from moviepy.editor import *
|
12 |
from PIL import Image
|
13 |
-
os.system("pip install --upgrade yt-dlp")
|
14 |
-
|
15 |
uid=uuid.uuid4()
|
16 |
if not os.path.exists(f'{uid}'): os.makedirs(f'{uid}')
|
17 |
if not os.path.exists(f'{uid}-frames'): os.makedirs(f'{uid}-frames')
|
|
|
10 |
import moviepy.video.io.ImageSequenceClip
|
11 |
from moviepy.editor import *
|
12 |
from PIL import Image
|
13 |
+
#os.system("pip install --upgrade yt-dlp")
|
14 |
+
os.system("yt-dlp -U")
|
15 |
uid=uuid.uuid4()
|
16 |
if not os.path.exists(f'{uid}'): os.makedirs(f'{uid}')
|
17 |
if not os.path.exists(f'{uid}-frames'): os.makedirs(f'{uid}-frames')
|