Spaces:
Sleeping
Sleeping
pierreguillou
commited on
Commit
•
b0d4dca
1
Parent(s):
87dc9c9
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def download_audio(url):
|
|
36 |
# Gradio interface
|
37 |
iface = gr.Interface(fn=download_audio,
|
38 |
inputs=gr.Textbox(label="YouTube Video URL"),
|
39 |
-
outputs=gr.Audio(label="Output Audio", type="filepath"),
|
40 |
allow_flagging="never"
|
41 |
)
|
42 |
iface.launch()
|
|
|
36 |
# Gradio interface
|
37 |
iface = gr.Interface(fn=download_audio,
|
38 |
inputs=gr.Textbox(label="YouTube Video URL"),
|
39 |
+
outputs=gr.Audio(label="Output Audio", type="filepath", show_download_button=True, format="mp3"),
|
40 |
allow_flagging="never"
|
41 |
)
|
42 |
iface.launch()
|