kotstantinovskii commited on
Commit
ecab12d
·
1 Parent(s): ac107e6

change thr

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ print(text)
54
  if text != "":
55
  idxs = arxiv_model.get_idx_class(text, thr=0.95)
56
  print(len(idxs))
57
- if len(idxs) > 85:
58
  st.markdown("#### Sorry, model can't classify the article with high confidence")
59
  else:
60
  idxs = idxs[:10]
 
54
  if text != "":
55
  idxs = arxiv_model.get_idx_class(text, thr=0.95)
56
  print(len(idxs))
57
+ if len(idxs) > 80:
58
  st.markdown("#### Sorry, model can't classify the article with high confidence")
59
  else:
60
  idxs = idxs[:10]