Next commited on
Commit
eaef3cc
β€’
1 Parent(s): cac373a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(download_media, inputs=[url, name_file], outputs=[audio_output])
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")