Lisibonny commited on
Commit
9af08e0
1 Parent(s): b274429

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -122,6 +122,8 @@ def main():
122
 
123
  df_results=detalles_resultados(df,result)
124
  pages = split_frame(df_results, batch_size)
 
 
125
  N_cards_per_row = 1
126
  for n_row, row in pages.reset_index().iterrows():
127
  i = n_row%N_cards_per_row
@@ -135,8 +137,7 @@ def main():
135
  st.markdown(f"{row['resumen'].strip()}")
136
  st.markdown(f"{row['link']}")
137
 
138
- pagination = st.container()
139
- batch_size = 5
140
  bottom_menu = st.columns((2,1,1))
141
  with bottom_menu[1]:
142
  total_pages = (ceil(len(df_results) / batch_size) if ceil(len(df_results) / batch_size) > 0 else 1)
 
122
 
123
  df_results=detalles_resultados(df,result)
124
  pages = split_frame(df_results, batch_size)
125
+ pagination = st.container()
126
+ batch_size = 5
127
  N_cards_per_row = 1
128
  for n_row, row in pages.reset_index().iterrows():
129
  i = n_row%N_cards_per_row
 
137
  st.markdown(f"{row['resumen'].strip()}")
138
  st.markdown(f"{row['link']}")
139
 
140
+
 
141
  bottom_menu = st.columns((2,1,1))
142
  with bottom_menu[1]:
143
  total_pages = (ceil(len(df_results) / batch_size) if ceil(len(df_results) / batch_size) > 0 else 1)