Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -50,9 +50,9 @@ def render_intent_bars(labels, percentages):
|
|
50 |
bar_html = f"""
|
51 |
<div style='display: flex; align-items: center;'>
|
52 |
<div style='width: 30%; text-align: right; padding-right: 10px;'>{label}</div>
|
53 |
-
<div style='width: 70%;'>
|
54 |
-
<div style='background-color: #007BFF; height:
|
55 |
-
<div style='
|
56 |
</div>
|
57 |
</div>
|
58 |
"""
|
|
|
50 |
bar_html = f"""
|
51 |
<div style='display: flex; align-items: center;'>
|
52 |
<div style='width: 30%; text-align: right; padding-right: 10px;'>{label}</div>
|
53 |
+
<div style='width: 70%; display: flex; align-items: center;'>
|
54 |
+
<div style='background-color: #007BFF; height: 10px; width: {percentage}%;'></div>
|
55 |
+
<div style='padding-left: 10px;'>{percentage:.2f}%</div>
|
56 |
</div>
|
57 |
</div>
|
58 |
"""
|