Spaces:
Sleeping
Sleeping
Commit
•
ee616ba
1
Parent(s):
13cc058
Update app.py
Browse files
app.py
CHANGED
@@ -50,10 +50,9 @@ if page == "Главная":
|
|
50 |
# Получение случайных 10 строк
|
51 |
random_rows = df[['movie_title', 'description']].sample(n=10).reset_index(drop=True)
|
52 |
random_rows.index = random_rows.index + 1
|
53 |
-
|
54 |
-
# Вывод на страничке Streamlit
|
55 |
st.markdown(f"<span style='font-size:{20}px; color:violet'>{'Сегодня мы подобрали для вас следующие фильмы:'}</span>", unsafe_allow_html=True)
|
56 |
-
st.
|
57 |
|
58 |
if page == "Подбор фильмов по описанию":
|
59 |
# Загрузка предварительно обученной модели ruBERT
|
|
|
50 |
# Получение случайных 10 строк
|
51 |
random_rows = df[['movie_title', 'description']].sample(n=10).reset_index(drop=True)
|
52 |
random_rows.index = random_rows.index + 1
|
53 |
+
|
|
|
54 |
st.markdown(f"<span style='font-size:{20}px; color:violet'>{'Сегодня мы подобрали для вас следующие фильмы:'}</span>", unsafe_allow_html=True)
|
55 |
+
st.write(random_rows)
|
56 |
|
57 |
if page == "Подбор фильмов по описанию":
|
58 |
# Загрузка предварительно обученной модели ruBERT
|