HaggiVaggi commited on
Commit
687169b
1 Parent(s): 886472a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- # Вывод на страничке Streamlit без индексов и заголовков столбцов
55
- st.write("Вот, что мы подобрали для вас сегодня:")
56
- st.dataframe(random_rows.reset_index(drop=True), index=False)
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