Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -588,7 +588,7 @@ with gr.Blocks(theme=soft, title="Social Bias Testing in Language Models",
|
|
588 |
show_label=False)
|
589 |
lbl_attrib_bias = gr.Markdown("**Bias in the Context of Attributes** - % stereotyped choices (↑ more bias)")
|
590 |
gr.Markdown("**Legend**")
|
591 |
-
gr.HTML("<div style='height:20px;width:20px;background-color:#555;display:inline-block;vertical-align:top'></div><div style='display:inline-block;vertical-align:top'>
|
592 |
# attribute_bias_labels = gr.Label(num_top_classes=8, label="Per attribute: % stereotyped choices (↑ more bias)",
|
593 |
# elem_id="per_attrib_label_elem",
|
594 |
# container=True,
|
|
|
588 |
show_label=False)
|
589 |
lbl_attrib_bias = gr.Markdown("**Bias in the Context of Attributes** - % stereotyped choices (↑ more bias)")
|
590 |
gr.Markdown("**Legend**")
|
591 |
+
gr.HTML("<div style='height:20px;width:20px;background-color:#555;display:inline-block;vertical-align:top'></div><div style='display:inline-block;vertical-align:top'> : Group 1 attribute</div><br><div style='height:20px;width:20px;background-color:#999;display:inline-block;vertical-align:top'></div><div style='display:inline-block;vertical-align:top'> : Group 2 attribute</div>")
|
592 |
# attribute_bias_labels = gr.Label(num_top_classes=8, label="Per attribute: % stereotyped choices (↑ more bias)",
|
593 |
# elem_id="per_attrib_label_elem",
|
594 |
# container=True,
|