SheilaDesanze
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -8,13 +8,13 @@ def process_youtube_url(youtube_url):
|
|
8 |
return extractor.format_output(metadata, best_video_only, best_audio_only, best_combined)
|
9 |
|
10 |
with gr.Blocks() as demo:
|
11 |
-
gr.Markdown("## YouTube
|
12 |
-
gr.Markdown("
|
13 |
|
14 |
-
youtube_url_input = gr.Textbox(label="
|
15 |
-
extract_button = gr.Button("
|
16 |
-
output = gr.Textbox(label="
|
17 |
-
download_links = gr.HTML(label="
|
18 |
|
19 |
extract_button.click(
|
20 |
fn=process_youtube_url,
|
|
|
8 |
return extractor.format_output(metadata, best_video_only, best_audio_only, best_combined)
|
9 |
|
10 |
with gr.Blocks() as demo:
|
11 |
+
gr.Markdown("## Metadatos de YouTube y extractor de enlaces de descarga")
|
12 |
+
gr.Markdown("Precaución: es ilegal utilizar esta herramienta para descargar contenido protegido por derechos de autor sin permiso.")
|
13 |
|
14 |
+
youtube_url_input = gr.Textbox(label="Ingrese la URL de YouTube")
|
15 |
+
extract_button = gr.Button("extracción de información")
|
16 |
+
output = gr.Textbox(label="Información extraída", lines=10)
|
17 |
+
download_links = gr.HTML(label="enlace de descarga")
|
18 |
|
19 |
extract_button.click(
|
20 |
fn=process_youtube_url,
|