Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -347,7 +347,7 @@ def startBiasTest(test_sentences_df, gr1, gr2, att1, att2, model_name, progress=
|
|
347 |
model_bias_HTML = bloombergViz(bias_stats_dict['model_bias'])
|
348 |
|
349 |
per_attrib_bias_HTML = ""
|
350 |
-
|
351 |
for att, score in attrib_by_score.items():
|
352 |
per_attrib_bias_HTML += att_bloombergViz(att, score)
|
353 |
num_atts += 1
|
|
|
347 |
model_bias_HTML = bloombergViz(bias_stats_dict['model_bias'])
|
348 |
|
349 |
per_attrib_bias_HTML = ""
|
350 |
+
num_atts = 0
|
351 |
for att, score in attrib_by_score.items():
|
352 |
per_attrib_bias_HTML += att_bloombergViz(att, score)
|
353 |
num_atts += 1
|