Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -351,7 +351,7 @@ def startBiasTest(test_sentences_df, gr1, gr2, att1, att2, model_name, progress=
|
|
351 |
attrib_by_score = dict(sorted(per_attrib_bias.items(), key=lambda item: item[1], reverse=True))
|
352 |
|
353 |
# model_bias_HTML = bloombergViz(bias_stats_dict['model_bias'])
|
354 |
-
|
355 |
per_attrib_bias_HTML_stereo = ""
|
356 |
num_atts = 0
|
357 |
for att, score in attrib_by_score.items():
|
|
|
351 |
attrib_by_score = dict(sorted(per_attrib_bias.items(), key=lambda item: item[1], reverse=True))
|
352 |
|
353 |
# model_bias_HTML = bloombergViz(bias_stats_dict['model_bias'])
|
354 |
+
print(f"attrib_by_score: {attrib_by_score}")
|
355 |
per_attrib_bias_HTML_stereo = ""
|
356 |
num_atts = 0
|
357 |
for att, score in attrib_by_score.items():
|