dfedukov commited on
Commit
b6b5a2d
·
verified ·
1 Parent(s): 5dbe1e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ if st.button("Get prediction", key="manual"):
55
  predict = get_predict(title, abstract)
56
 
57
  tags = []
58
- threshold = 0 if status == "Best prediction" else 0.95
59
  sum_p = 0
60
  for p, tag in predict:
61
  sum_p += p
 
55
  predict = get_predict(title, abstract)
56
 
57
  tags = []
58
+ threshold = 0 if mode == "Best prediction" else 0.95
59
  sum_p = 0
60
  for p, tag in predict:
61
  sum_p += p