Ptashka25 commited on
Commit
5a0f518
1 Parent(s): ab61ae6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -38,6 +38,7 @@ if text and recommend_button:
38
  D, I = index.search(user_text_pred.reshape(1, -1), num_results)
39
 
40
  st.subheader('Топ рекомендуемых книг:')
 
41
 
42
  for i, j in zip(I[0], D[0]):
43
  col_1, col_2 = st.columns([1, 3])
 
38
  D, I = index.search(user_text_pred.reshape(1, -1), num_results)
39
 
40
  st.subheader('Топ рекомендуемых книг:')
41
+ st.write(f'Всего книг, используемых в поиске: {df.shape[0]}')
42
 
43
  for i, j in zip(I[0], D[0]):
44
  col_1, col_2 = st.columns([1, 3])