Spaces:
Sleeping
Sleeping
Update run.py
Browse files
run.py
CHANGED
@@ -84,9 +84,9 @@ logschart = """
|
|
84 |
with gr.Blocks() as demo:
|
85 |
gr.Markdown("# YouTube Downloader 2.0")
|
86 |
with gr.Row():
|
87 |
-
video_url = gr.Textbox(
|
88 |
with gr.Row():
|
89 |
-
audio_name = gr.Textbox(
|
90 |
audio_format = gr.Radio(["wav", "flac", "mp3"], label="Select the output format", value=" wav")
|
91 |
with gr.Row():
|
92 |
output = gr.Audio(label="Output")
|
@@ -95,6 +95,7 @@ with gr.Blocks() as demo:
|
|
95 |
download_button.click(downloader, inputs=[video_url, audio_format, audio_name], outputs=output)
|
96 |
with gr.Group():
|
97 |
with gr.Row():
|
|
|
98 |
gr.Markdown(logschart)
|
99 |
|
100 |
demo.launch()
|
|
|
84 |
with gr.Blocks() as demo:
|
85 |
gr.Markdown("# YouTube Downloader 2.0")
|
86 |
with gr.Row():
|
87 |
+
video_url = gr.Textbox(label="YouTube video link")
|
88 |
with gr.Row():
|
89 |
+
audio_name = gr.Textbox(label="Audio name of YouTube audio", info="this is optional")
|
90 |
audio_format = gr.Radio(["wav", "flac", "mp3"], label="Select the output format", value=" wav")
|
91 |
with gr.Row():
|
92 |
output = gr.Audio(label="Output")
|
|
|
95 |
download_button.click(downloader, inputs=[video_url, audio_format, audio_name], outputs=output)
|
96 |
with gr.Group():
|
97 |
with gr.Row():
|
98 |
+
gr.Markdown("Welcome :)")
|
99 |
gr.Markdown(logschart)
|
100 |
|
101 |
demo.launch()
|