Spaces:
Runtime error
Runtime error
Alberto Carmona
commited on
Commit
·
e8de746
1
Parent(s):
47b18b6
Change the layout
Browse files
app.py
CHANGED
@@ -9,11 +9,11 @@ with gr.Blocks() as demo:
|
|
9 |
gr.Markdown(
|
10 |
"Introduzca la URL que tiene el contenido sobre el cual desea aprender.")
|
11 |
with gr.Column():
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
out_url_text = gr.Textbox()
|
17 |
btn_extract_text.click(fn=update, inputs=inp_url, outputs=out_url_text)
|
18 |
|
19 |
# Summary section
|
|
|
9 |
gr.Markdown(
|
10 |
"Introduzca la URL que tiene el contenido sobre el cual desea aprender.")
|
11 |
with gr.Column():
|
12 |
+
with gr.Row():
|
13 |
+
inp_url = gr.Textbox(placeholder="URL",
|
14 |
+
show_label=False)
|
15 |
+
btn_extract_text = gr.Button("Extraer texto")
|
16 |
+
out_url_text = gr.Textbox(label="Texto extraído.")
|
17 |
btn_extract_text.click(fn=update, inputs=inp_url, outputs=out_url_text)
|
18 |
|
19 |
# Summary section
|