Lisibonny commited on
Commit
b518608
1 Parent(s): bdd1991

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -139,8 +139,8 @@ def main():
139
  else:
140
 
141
  df_results=detalles_resultados(df,result)
142
- batch_size = 5
143
-
144
  bottom_menu = st.columns((2,1,1))
145
  with bottom_menu[1]:
146
  total_pages = (ceil(len(df_results) / batch_size) if ceil(len(df_results) / batch_size) > 0 else 1)
@@ -149,9 +149,9 @@ def main():
149
  with bottom_menu[0]:
150
 
151
  st.markdown(f"Página **{current_page}** de **{total_pages}** ")
152
-
153
- pages = split_frame(df_results, batch_size)
154
  paginar_frame(pages[current_page - 1])
 
155
 
156
  if __name__ == "__main__":
157
  main()
 
139
  else:
140
 
141
  df_results=detalles_resultados(df,result)
142
+ batch_size = 10
143
+ pages = split_frame(df_results, batch_size)
144
  bottom_menu = st.columns((2,1,1))
145
  with bottom_menu[1]:
146
  total_pages = (ceil(len(df_results) / batch_size) if ceil(len(df_results) / batch_size) > 0 else 1)
 
149
  with bottom_menu[0]:
150
 
151
  st.markdown(f"Página **{current_page}** de **{total_pages}** ")
152
+
 
153
  paginar_frame(pages[current_page - 1])
154
+
155
 
156
  if __name__ == "__main__":
157
  main()