Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -91,8 +91,8 @@ with block:
|
|
91 |
file_uploaded = gr.Audio(label="Upload an audio", type="filepath")
|
92 |
with gr.Column():
|
93 |
with gr.Row():
|
94 |
-
yt_link = gr.Textbox(label="Enter YouTube
|
95 |
-
yt_btn = gr.Button("
|
96 |
|
97 |
yt_audio_path = gr.Audio(label="Audio Extracted from the YouTube Video", interactive=False)
|
98 |
yt_btn.click(get_audio_from_yt_video, inputs=[yt_link], outputs=[yt_audio_path, file_uploaded])
|
|
|
91 |
file_uploaded = gr.Audio(label="Upload an audio", type="filepath")
|
92 |
with gr.Column():
|
93 |
with gr.Row():
|
94 |
+
yt_link = gr.Textbox(label="Enter YouTube Link of the Video", autofocus=True, lines=3)
|
95 |
+
yt_btn = gr.Button("Download Audio from YouTube Link", size="lg")
|
96 |
|
97 |
yt_audio_path = gr.Audio(label="Audio Extracted from the YouTube Video", interactive=False)
|
98 |
yt_btn.click(get_audio_from_yt_video, inputs=[yt_link], outputs=[yt_audio_path, file_uploaded])
|