RMakushkin commited on
Commit
c337a87
·
1 Parent(s): c93ac17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -39,9 +39,8 @@ button = st.button('Отправить запрос', type="primary")
39
  if text and button:
40
  if len(choice_g) == 0:
41
  choice_g = ganres_lst
42
- filtered_df = filter_by_ganre(df, choice_g.values())
43
  top_dict = recommendation(filtered_df, embeddings, text)
44
- st.write(choice_g.values())
45
  st.write(f'<p style="font-family: Arial, sans-serif; font-size: 18px; text-align: center;"><strong>Всего подобранных \
46
  рекомендаций {len(top_dict)}</strong></p>', unsafe_allow_html=True)
47
  st.write('\n')
 
39
  if text and button:
40
  if len(choice_g) == 0:
41
  choice_g = ganres_lst
42
+ filtered_df = filter_by_ganre(df, choice_g)
43
  top_dict = recommendation(filtered_df, embeddings, text)
 
44
  st.write(f'<p style="font-family: Arial, sans-serif; font-size: 18px; text-align: center;"><strong>Всего подобранных \
45
  рекомендаций {len(top_dict)}</strong></p>', unsafe_allow_html=True)
46
  st.write('\n')