Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -21,13 +21,13 @@ def downloader(video_url, save_folder, audio_format, audio_name):
|
|
21 |
return f"Audio downloaded successfully to {save_path}"
|
22 |
|
23 |
inputs = [
|
24 |
-
gr.
|
25 |
-
gr.
|
26 |
-
gr.
|
27 |
-
gr.
|
28 |
]
|
29 |
|
30 |
-
output = gr.
|
31 |
|
32 |
title = "YouTube Audio Downloader"
|
33 |
description = "Download audio from YouTube videos"
|
|
|
21 |
return f"Audio downloaded successfully to {save_path}"
|
22 |
|
23 |
inputs = [
|
24 |
+
gr.Textbox(label="YouTube video link", default="https://youtu.be/L3P0LgwuPPo?si=3dLDS6WIGM2Lk9gf"),
|
25 |
+
gr.Textbox(label="Audio name", default="Harenchi"),
|
26 |
+
gr.Textbox(label="Output path for downloaded audio files", default="/content/drive/MyDrive/Separar"),
|
27 |
+
gr.Radio(["wav", "flac", "mp3"], label="Select the output format", default="wav")
|
28 |
]
|
29 |
|
30 |
+
output = gr.Textbox(label="Output")
|
31 |
|
32 |
title = "YouTube Audio Downloader"
|
33 |
description = "Download audio from YouTube videos"
|