Spaces:
Sleeping
Sleeping
add flex
Browse files
app.py
CHANGED
@@ -762,6 +762,7 @@ soft = gr.themes.Soft(
|
|
762 |
)
|
763 |
|
764 |
css_adds = "#top_steps_grp {background: white; overflow: scroll; flex-direction: row;} \
|
|
|
765 |
#group_row {background: white; border-color: white;} \
|
766 |
#attribute_row {background: white; border-color: white;} \
|
767 |
#tested_model_row {background: white; border-color: white;} \
|
@@ -811,7 +812,7 @@ css_adds = "#top_steps_grp {background: white; overflow: scroll; flex-direction:
|
|
811 |
#'bethecloud/storj_theme'
|
812 |
with gr.Blocks(theme=soft, title="Social Bias Testing in Language Models",
|
813 |
css=css_adds) as iface:
|
814 |
-
with gr.Row():
|
815 |
with gr.Group(elem_id="top_steps_grp"):
|
816 |
s1_btn = gr.Button(value="Step 1: Bias Specification", variant="primary", visible=True, interactive=True, size='sm')#.style(size='sm')
|
817 |
s2_btn = gr.Button(value="Step 2: Test Sentences", variant="secondary", visible=True, interactive=False, size='sm')#.style(size='sm')
|
|
|
762 |
)
|
763 |
|
764 |
css_adds = "#top_steps_grp {background: white; overflow: scroll; flex-direction: row;} \
|
765 |
+
#top_steps_row {background: white; overflow: scroll; flex-direction: row;} \
|
766 |
#group_row {background: white; border-color: white;} \
|
767 |
#attribute_row {background: white; border-color: white;} \
|
768 |
#tested_model_row {background: white; border-color: white;} \
|
|
|
812 |
#'bethecloud/storj_theme'
|
813 |
with gr.Blocks(theme=soft, title="Social Bias Testing in Language Models",
|
814 |
css=css_adds) as iface:
|
815 |
+
with gr.Row(elem_id="top_steps_row"):
|
816 |
with gr.Group(elem_id="top_steps_grp"):
|
817 |
s1_btn = gr.Button(value="Step 1: Bias Specification", variant="primary", visible=True, interactive=True, size='sm')#.style(size='sm')
|
818 |
s2_btn = gr.Button(value="Step 2: Test Sentences", variant="secondary", visible=True, interactive=False, size='sm')#.style(size='sm')
|