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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -121,9 +121,10 @@ def main():
121
  else:
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
@@ -146,6 +147,7 @@ def main():
146
  with bottom_menu[0]:
147
 
148
  st.markdown(f"Página **{current_page}** de **{total_pages}** ")
 
149
  pagination.dataframe(data=pages[current_page - 1], use_container_width=True)
150
 
151
  if __name__ == "__main__":
 
121
  else:
122
 
123
  df_results=detalles_resultados(df,result)
124
+ batch_size = 5
125
  pages = split_frame(df_results, batch_size)
126
  pagination = st.container()
127
+
128
  N_cards_per_row = 1
129
  for n_row, row in pages.reset_index().iterrows():
130
  i = n_row%N_cards_per_row
 
147
  with bottom_menu[0]:
148
 
149
  st.markdown(f"Página **{current_page}** de **{total_pages}** ")
150
+
151
  pagination.dataframe(data=pages[current_page - 1], use_container_width=True)
152
 
153
  if __name__ == "__main__":