rjiang12 commited on
Commit
d3ccc20
·
1 Parent(s): 43a5f6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -281,7 +281,7 @@ def bloombergViz(att, val, numblocks, score_templates_df, flip=False):
281
  # numUnFilled = numblocks - numFilled
282
 
283
  res = ""
284
- print("score templates df" score_templates_df)
285
  for sentence in score_templates_df[score_templates_df['Attribute'] == att, score_templates_df['Stereotyped'] == 'yes', 'Template']:
286
  print("sentence", sentence)
287
  res += f"<div style='height:20px;width:20px;background-color:#555;display:inline-block' id='filled'><span class='tooltiptext' style='color:#FFF'>{sentence}</span></div> "
 
281
  # numUnFilled = numblocks - numFilled
282
 
283
  res = ""
284
+ print("score templates df", score_templates_df)
285
  for sentence in score_templates_df[score_templates_df['Attribute'] == att, score_templates_df['Stereotyped'] == 'yes', 'Template']:
286
  print("sentence", sentence)
287
  res += f"<div style='height:20px;width:20px;background-color:#555;display:inline-block' id='filled'><span class='tooltiptext' style='color:#FFF'>{sentence}</span></div> "