Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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> "
|