Spaces:
Runtime error
Runtime error
Update run.py
Browse files
run.py
CHANGED
@@ -31,7 +31,7 @@ def downloader(video_url, audio_format, audio_name):
|
|
31 |
|
32 |
|
33 |
|
34 |
-
|
35 |
### Changelog
|
36 |
|
37 |
#### v1.1.0 - 2024-05-16
|
@@ -69,7 +69,7 @@ with gr.Blocks() as demo:
|
|
69 |
with gr.Row():
|
70 |
video_url = gr.Textbox(label="YouTube video link", default="https://youtu.be/yQBGdXGCUbA?si=7avvqH-6OOkGWqFm")
|
71 |
audio_name = gr.Textbox(label="Audio name of YouTube audio", default="killshot")
|
72 |
-
audio_format = gr.Radio(["wav", "flac", "mp3"], label="Select the output format"
|
73 |
with gr.Row():
|
74 |
output = gr.Audio(label="Output")
|
75 |
with gr.Row():
|
@@ -77,6 +77,6 @@ with gr.Blocks() as demo:
|
|
77 |
download_button.click(downloader, inputs=[video_url, audio_format, audio_name], outputs=output)
|
78 |
with gr.Group():
|
79 |
with gr.Row():
|
80 |
-
gr.Markdown(
|
81 |
|
82 |
demo.launch()
|
|
|
31 |
|
32 |
|
33 |
|
34 |
+
logs-chart = """
|
35 |
### Changelog
|
36 |
|
37 |
#### v1.1.0 - 2024-05-16
|
|
|
69 |
with gr.Row():
|
70 |
video_url = gr.Textbox(label="YouTube video link", default="https://youtu.be/yQBGdXGCUbA?si=7avvqH-6OOkGWqFm")
|
71 |
audio_name = gr.Textbox(label="Audio name of YouTube audio", default="killshot")
|
72 |
+
audio_format = gr.Radio(["wav", "flac", "mp3"], label="Select the output format")
|
73 |
with gr.Row():
|
74 |
output = gr.Audio(label="Output")
|
75 |
with gr.Row():
|
|
|
77 |
download_button.click(downloader, inputs=[video_url, audio_format, audio_name], outputs=output)
|
78 |
with gr.Group():
|
79 |
with gr.Row():
|
80 |
+
gr.Markdown(logs-chart)
|
81 |
|
82 |
demo.launch()
|