Spaces:
Sleeping
Sleeping
Commit
•
687169b
1
Parent(s):
886472a
Update app.py
Browse files
app.py
CHANGED
@@ -50,10 +50,10 @@ 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 |
-
|
55 |
-
st.write("
|
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 |
+
# Вывод на страничке Streamlit
|
55 |
+
st.write("Случайные 10 фильмов")
|
56 |
+
st.write(random_rows)
|
57 |
|
58 |
if page == "Подбор фильмов по описанию":
|
59 |
# Загрузка предварительно обученной модели ruBERT
|