Spaces:
Sleeping
Sleeping
KristofGaming39
commited on
Commit
•
1d55815
1
Parent(s):
b937f5b
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
-
%pip install yt-dlp gradio
|
2 |
import yt_dlp
|
3 |
import gradio as gr
|
4 |
import os
|
5 |
-
import shutil
|
6 |
|
7 |
# Function to download YouTube video
|
8 |
def download_video(url):
|
@@ -49,4 +47,4 @@ def create_interface():
|
|
49 |
|
50 |
# Run Gradio Interface
|
51 |
interface = create_interface()
|
52 |
-
interface.launch()
|
|
|
|
|
1 |
import yt_dlp
|
2 |
import gradio as gr
|
3 |
import os
|
|
|
4 |
|
5 |
# Function to download YouTube video
|
6 |
def download_video(url):
|
|
|
47 |
|
48 |
# Run Gradio Interface
|
49 |
interface = create_interface()
|
50 |
+
interface.launch()
|