Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -480,10 +480,12 @@ css_adds = "#group_row {background: white; border-color: white;} \
|
|
480 |
#per_attrib_label_elem {background-color: #F8FAFC;} \
|
481 |
#accordion {border-color: #E5E7EB} \
|
482 |
#err_msg_elem p {color: #FF0000; cursor: pointer} \
|
483 |
-
.tooltiptext_left {visibility: hidden;width:50ch;top: 100%;left:
|
484 |
-
.tooltiptext_right {visibility: hidden;width:50ch;top: 100%;right:
|
485 |
-
#filled:hover .
|
486 |
-
#empty:hover .
|
|
|
|
|
487 |
|
488 |
#'bethecloud/storj_theme'
|
489 |
with gr.Blocks(theme=soft, title="Social Bias Testing in Language Models",
|
|
|
480 |
#per_attrib_label_elem {background-color: #F8FAFC;} \
|
481 |
#accordion {border-color: #E5E7EB} \
|
482 |
#err_msg_elem p {color: #FF0000; cursor: pointer} \
|
483 |
+
.tooltiptext_left {visibility: hidden;max-width:50ch;min-width:25ch;top: 100%;left: 0%;background-color: #222;text-align: center;border-radius: 6px;padding: 5px 0;position: absolute;z-index: 1;} \
|
484 |
+
.tooltiptext_right {visibility: hidden;max-width:50ch;min-width:25ch;top: 100%;right: 0%;background-color: #222;text-align: center;border-radius: 6px;padding: 5px 0;position: absolute;z-index: 1;} \
|
485 |
+
#filled:hover .tooltiptext_left {visibility: visible;} \
|
486 |
+
#empty:hover .tooltiptext_left {visibility: visible;} \
|
487 |
+
#filled:hover .tooltiptext_right {visibility: visible;} \
|
488 |
+
#empty:hover .tooltiptext_right {visibility: visible;}"
|
489 |
|
490 |
#'bethecloud/storj_theme'
|
491 |
with gr.Blocks(theme=soft, title="Social Bias Testing in Language Models",
|