Lisibonny commited on
Commit
4f11d9a
1 Parent(s): 8931e64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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 (row['answer']):
31
- st.info(row['answer'])
 
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()}")