Update app.py
Browse files
app.py
CHANGED
@@ -480,6 +480,10 @@ css = """
|
|
480 |
table {
|
481 |
font-size: x-small !important;
|
482 |
}
|
|
|
|
|
|
|
|
|
483 |
"""
|
484 |
|
485 |
choices_with_tools = [
|
@@ -681,12 +685,9 @@ with gr.Blocks(theme='sudeepshouche/minimalist', css=css) as demo:
|
|
681 |
chx = gr.CheckboxGroup(choices=choice_labels, value=choice_labels, show_label=False)
|
682 |
chx.select(fn=update_selected_choices, inputs=chx)
|
683 |
|
684 |
-
with gr.Column(scale=1):
|
685 |
# Seleccionar/deseleccionar todos
|
686 |
-
toggle_button = gr.Button("Selecci贸n")
|
687 |
toggle_button.click(fn=toggle_all, inputs=chx, outputs=chx)
|
688 |
-
with gr.Column(scale=4):
|
689 |
-
gr.Markdown()
|
690 |
|
691 |
with gr.Accordion(elem_classes="accordion", label="Referencias", open=True):
|
692 |
mkdn = gr.Markdown()
|
|
|
480 |
table {
|
481 |
font-size: x-small !important;
|
482 |
}
|
483 |
+
|
484 |
+
#btn_select {
|
485 |
+
width:100px;
|
486 |
+
}
|
487 |
"""
|
488 |
|
489 |
choices_with_tools = [
|
|
|
685 |
chx = gr.CheckboxGroup(choices=choice_labels, value=choice_labels, show_label=False)
|
686 |
chx.select(fn=update_selected_choices, inputs=chx)
|
687 |
|
|
|
688 |
# Seleccionar/deseleccionar todos
|
689 |
+
toggle_button = gr.Button("Selecci贸n", elem_id="btn_select")
|
690 |
toggle_button.click(fn=toggle_all, inputs=chx, outputs=chx)
|
|
|
|
|
691 |
|
692 |
with gr.Accordion(elem_classes="accordion", label="Referencias", open=True):
|
693 |
mkdn = gr.Markdown()
|