ConectaODSco commited on
Commit
3f7ffed
·
verified ·
1 Parent(s): 2b1b647

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -940,7 +940,8 @@ def tab_inicio_prompt(df_ods, df_metas, df_indicador):
940
  </div>''' for _, row in top_metas.iterrows()])}
941
  </div>
942
  </div>
943
-
 
944
  <div class="important-box" style="background-color: #F0F0F0; padding: 20px; border-radius: 10px; margin: 20px 0; border-left: 5px solid #FFD700;">
945
  <h3 style="color: #FF8C00;">🎯 Indicadores Más Relevantes Por ODS Top</h3>
946
  <div style="display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-around; align-items: flex-start;">
@@ -956,6 +957,7 @@ def tab_inicio_prompt(df_ods, df_metas, df_indicador):
956
  </div>''' for _, row in top_metas.iterrows()])}
957
  </div>
958
  </div>
 
959
 
960
  <div class="important-box" style="background-color: #E8F4F8; padding: 20px; border-radius: 10px; margin: 20px 0; border-left: 5px solid #4472C4;">
961
  <h3 style="color: #2E5090;">📋 Recomendaciones Territoriales por Meta</h3>
@@ -977,8 +979,8 @@ def tab_inicio_prompt(df_ods, df_metas, df_indicador):
977
  style="vertical-align: middle;" />
978
  </td>
979
  <td style="padding: 12px; font-weight: bold; color: #2E5090;">{row['META_ID']}</td>
980
- <td style="padding: 12px; color: #333;">{row.get('Recomendaciones_territoriales', 'N/A')}</td>
981
- </tr>''' for _, row in df_metas.iterrows() if not pd.isna(row.get('Recomendaciones_territoriales'))])}
982
  </tbody>
983
  </table>
984
  </div>
 
940
  </div>''' for _, row in top_metas.iterrows()])}
941
  </div>
942
  </div>
943
+
944
+ <!--
945
  <div class="important-box" style="background-color: #F0F0F0; padding: 20px; border-radius: 10px; margin: 20px 0; border-left: 5px solid #FFD700;">
946
  <h3 style="color: #FF8C00;">🎯 Indicadores Más Relevantes Por ODS Top</h3>
947
  <div style="display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-around; align-items: flex-start;">
 
957
  </div>''' for _, row in top_metas.iterrows()])}
958
  </div>
959
  </div>
960
+ -->
961
 
962
  <div class="important-box" style="background-color: #E8F4F8; padding: 20px; border-radius: 10px; margin: 20px 0; border-left: 5px solid #4472C4;">
963
  <h3 style="color: #2E5090;">📋 Recomendaciones Territoriales por Meta</h3>
 
979
  style="vertical-align: middle;" />
980
  </td>
981
  <td style="padding: 12px; font-weight: bold; color: #2E5090;">{row['META_ID']}</td>
982
+ <td style="padding: 12px; color: #333;">{row['Recomendaciones_territoriales']}</td>
983
+ </tr>''' for _, row in top_metas.iterrows()])}
984
  </tbody>
985
  </table>
986
  </div>