Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -932,9 +932,9 @@ def tab_inicio_prompt(df_ods, df_metas, df_indicador):
|
|
| 932 |
{''.join([f'''
|
| 933 |
<div style="display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 150px;">
|
| 934 |
<img src="{dict_logos[row['logo_id']]}"
|
| 935 |
-
alt="ODS {row['
|
| 936 |
width="{int(200*(row['score']**2))}"
|
| 937 |
-
style="
|
| 938 |
<p style="margin: 10px 0 5px 0; color: #333; font-size: 12px;"><strong style="color: #333;">Meta:</strong> {row['META_ID']}</p>
|
| 939 |
|
| 940 |
</div>''' for _, row in top_metas.iterrows()])}
|
|
@@ -947,7 +947,7 @@ def tab_inicio_prompt(df_ods, df_metas, df_indicador):
|
|
| 947 |
{''.join([f'''
|
| 948 |
<div style="display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 150px;">
|
| 949 |
<img src="{dict_logos[row['logo_id']]}"
|
| 950 |
-
alt="ODS {row['
|
| 951 |
width="{int(200*(row['score']**2))}"
|
| 952 |
style="margin: 0 auto; display: block;" />
|
| 953 |
<p style="margin: 10px 0 5px 0; color: #333; font-size: 12px;"><strong style="color: #333;">Ind:</strong> {row['META_ID']}</p>
|
|
|
|
| 932 |
{''.join([f'''
|
| 933 |
<div style="display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 150px;">
|
| 934 |
<img src="{dict_logos[row['logo_id']]}"
|
| 935 |
+
alt="ODS {row['META_ID']}"
|
| 936 |
width="{int(200*(row['score']**2))}"
|
| 937 |
+
style="vertical-align: bottom; display: block;" />
|
| 938 |
<p style="margin: 10px 0 5px 0; color: #333; font-size: 12px;"><strong style="color: #333;">Meta:</strong> {row['META_ID']}</p>
|
| 939 |
|
| 940 |
</div>''' for _, row in top_metas.iterrows()])}
|
|
|
|
| 947 |
{''.join([f'''
|
| 948 |
<div style="display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 150px;">
|
| 949 |
<img src="{dict_logos[row['logo_id']]}"
|
| 950 |
+
alt="ODS {row['META_ID']}"
|
| 951 |
width="{int(200*(row['score']**2))}"
|
| 952 |
style="margin: 0 auto; display: block;" />
|
| 953 |
<p style="margin: 10px 0 5px 0; color: #333; font-size: 12px;"><strong style="color: #333;">Ind:</strong> {row['META_ID']}</p>
|