ilushado commited on
Commit
35145ea
·
1 Parent(s): b6eafe4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ if st.button('Предположить'):
87
 
88
  ans = model(ids.unsqueeze(0), mask.unsqueeze(0), token_type_ids.unsqueeze(0))
89
  idx = torch.nn.functional.softmax(ans[0], dim=0).argmax().item()
90
- print('ANSLEN': len(ans))
91
  st.markdown(f'{idx_to_tag[idx]}')
92
 
93
  if st.button("Посмотреть топ"):
 
87
 
88
  ans = model(ids.unsqueeze(0), mask.unsqueeze(0), token_type_ids.unsqueeze(0))
89
  idx = torch.nn.functional.softmax(ans[0], dim=0).argmax().item()
90
+ print('ANSLEN': ans.shape)
91
  st.markdown(f'{idx_to_tag[idx]}')
92
 
93
  if st.button("Посмотреть топ"):