Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -110,11 +110,10 @@ def generate_info_callout(ratio, scope_text):
|
|
110 |
return (
|
111 |
f'<div style="text-align: right;">'
|
112 |
f'<div class="info-callout" style="display:inline-block; max-width:250px; font-size:0.8em; background-color:#e6ffe6; padding:8px; border-radius:5px;">'
|
113 |
-
f'💡 There\'s a <strong style="color:
|
114 |
f'</div></div>'
|
115 |
)
|
116 |
|
117 |
-
|
118 |
def get_global_callout():
|
119 |
all_df = pd.DataFrame()
|
120 |
for task in tasks:
|
|
|
110 |
return (
|
111 |
f'<div style="text-align: right;">'
|
112 |
f'<div class="info-callout" style="display:inline-block; max-width:250px; font-size:0.8em; background-color:#e6ffe6; padding:8px; border-radius:5px;">'
|
113 |
+
f'💡 There\'s a <strong style="color: black !important;">{ratio:,.1f}x</strong> difference between the highest and lowest energy use in {scope_text}.'
|
114 |
f'</div></div>'
|
115 |
)
|
116 |
|
|
|
117 |
def get_global_callout():
|
118 |
all_df = pd.DataFrame()
|
119 |
for task in tasks:
|