Update pages/1 📖_Умный_поиск_книг.py
Browse files
pages/1 📖_Умный_поиск_книг.py
CHANGED
@@ -32,7 +32,7 @@ items_per_page=st.number_input('Количество книг на страни
|
|
32 |
# if search_but:
|
33 |
# st.session_state.clicked = True
|
34 |
#st.toast('Уфф')
|
35 |
-
|
36 |
def books_show(books_idx,sim,n=items_per_page):
|
37 |
col=[]
|
38 |
books=df.copy().iloc[books_idx][:n]
|
|
|
32 |
# if search_but:
|
33 |
# st.session_state.clicked = True
|
34 |
#st.toast('Уфф')
|
35 |
+
@st.cache_data(experimental_allow_widgets=True)
|
36 |
def books_show(books_idx,sim,n=items_per_page):
|
37 |
col=[]
|
38 |
books=df.copy().iloc[books_idx][:n]
|