Hoang Vu Minh commited on
Commit
c83b4f4
1 Parent(s): b230507

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ if text:
40
  title, probabilities, highest = predict_sentence(model, tokenizer, text)
41
  out = {
42
  'title': title,
43
- 'prob': probabilities
44
  }
45
  st.json(out)
46
 
 
40
  title, probabilities, highest = predict_sentence(model, tokenizer, text)
41
  out = {
42
  'title': title,
43
+ 'prob': highest
44
  }
45
  st.json(out)
46