Spaces:
Runtime error
Runtime error
Next
commited on
Commit
β’
eaef3cc
1
Parent(s):
cac373a
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ with gr.Blocks(theme="Nex432/green") as demo:
|
|
26 |
name_file = gr.Textbox(label="Media Name")
|
27 |
download = gr.Button("Download")
|
28 |
audio_output = gr.Audio(label="Audo Output")
|
29 |
-
download.click(
|
30 |
|
31 |
with gr.Tab("video downloader"):
|
32 |
url = gr.Textbox(label="Media URL")
|
|
|
26 |
name_file = gr.Textbox(label="Media Name")
|
27 |
download = gr.Button("Download")
|
28 |
audio_output = gr.Audio(label="Audo Output")
|
29 |
+
download.click(download_url, inputs=[url, name_file], outputs=[audio_output])
|
30 |
|
31 |
with gr.Tab("video downloader"):
|
32 |
url = gr.Textbox(label="Media URL")
|