Spaces:
Runtime error
Runtime error
Hoang Vu Minh
commited on
Commit
•
c83b4f4
1
Parent(s):
b230507
Update app.py
Browse files
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':
|
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 |
|