rjiang12 commited on
Commit
3e44661
·
1 Parent(s): b3f03ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -272,7 +272,7 @@ def retrieveSentences(gr1, gr2, att1, att2, progress=gr.Progress()):
272
  gr.update(value=', '.join(a2)) # att2_fixed
273
  )
274
 
275
- def bloombergViz(att, val, numblocks=10, score_templates_df, flip=False):
276
  # percent = round(val * 100)
277
  # percentStr = f"{percent}"
278
  # filled = "<div style='height:20px;width:20px;background-color:#555;display:inline-block'><span class='tooltiptext' style='color:#FFF'>{}</span></div> "
 
272
  gr.update(value=', '.join(a2)) # att2_fixed
273
  )
274
 
275
+ def bloombergViz(att, val, numblocks, score_templates_df, flip=False):
276
  # percent = round(val * 100)
277
  # percentStr = f"{percent}"
278
  # filled = "<div style='height:20px;width:20px;background-color:#555;display:inline-block'><span class='tooltiptext' style='color:#FFF'>{}</span></div> "