Update app.py
Browse files
app.py
CHANGED
@@ -27,8 +27,9 @@ def paginar_frame(df):
|
|
27 |
cols = st.columns(N_cards_per_row, gap="large")
|
28 |
# draw the card
|
29 |
with cols[n_row%N_cards_per_row]:
|
30 |
-
if
|
31 |
-
|
|
|
32 |
st.caption(f"{row['feed'].strip()} - {row['seccion'].strip()} - {row['fecha'].strip()} ")
|
33 |
st.markdown(f"**{row['titulo'].strip()}**")
|
34 |
st.markdown(f"{row['resumen'].strip()}")
|
|
|
27 |
cols = st.columns(N_cards_per_row, gap="large")
|
28 |
# draw the card
|
29 |
with cols[n_row%N_cards_per_row]:
|
30 |
+
if 'answer' in row:
|
31 |
+
if (row['answer']):
|
32 |
+
st.info(row['answer'])
|
33 |
st.caption(f"{row['feed'].strip()} - {row['seccion'].strip()} - {row['fecha'].strip()} ")
|
34 |
st.markdown(f"**{row['titulo'].strip()}**")
|
35 |
st.markdown(f"{row['resumen'].strip()}")
|