Update app.py
Browse files
app.py
CHANGED
@@ -138,7 +138,7 @@ def main():
|
|
138 |
batch_size = 5
|
139 |
bottom_menu = st.columns((2,1,1))
|
140 |
with bottom_menu[1]:
|
141 |
-
total_pages = (ceil(len(df_results) / batch_size) if
|
142 |
current_page = st.number_input("Página", min_value=1, max_value=total_pages, step=1)
|
143 |
|
144 |
with bottom_menu[0]:
|
|
|
138 |
batch_size = 5
|
139 |
bottom_menu = st.columns((2,1,1))
|
140 |
with bottom_menu[1]:
|
141 |
+
total_pages = (ceil(len(df_results) / batch_size) if ceil(len(df_results) / batch_size) > 0 else 1)
|
142 |
current_page = st.number_input("Página", min_value=1, max_value=total_pages, step=1)
|
143 |
|
144 |
with bottom_menu[0]:
|