Spaces:
Runtime error
Runtime error
Update stri.py
Browse files
stri.py
CHANGED
@@ -31,7 +31,7 @@ query = st.text_input("Введите запрос")
|
|
31 |
num_books_per_page = st.selectbox("Количество книг на странице:", [3, 5, 10], index=0)
|
32 |
|
33 |
col1, col2 = st.columns(2)
|
34 |
-
generate_button =
|
35 |
|
36 |
if generate_button:
|
37 |
with open("book_embeddings256xxx.pkl", "rb") as f:
|
|
|
31 |
num_books_per_page = st.selectbox("Количество книг на странице:", [3, 5, 10], index=0)
|
32 |
|
33 |
col1, col2 = st.columns(2)
|
34 |
+
generate_button = col1.button('Сгенерировать')
|
35 |
|
36 |
if generate_button:
|
37 |
with open("book_embeddings256xxx.pkl", "rb") as f:
|