Spaces:
Runtime error
Runtime error
snaramirez872
commited on
Commit
•
f8483c9
1
Parent(s):
1e156f0
final edit on app.py
Browse files
app.py
CHANGED
@@ -19,4 +19,5 @@ user_input = str(st.text_input("Enter some words", "pasghetti"))
|
|
19 |
if user_input:
|
20 |
predicts = result(user_input)[0]
|
21 |
st.markdown("## Probabilities")
|
22 |
-
st.write(f"Predicted: { predicts['label'] }
|
|
|
|
19 |
if user_input:
|
20 |
predicts = result(user_input)[0]
|
21 |
st.markdown("## Probabilities")
|
22 |
+
st.write(f"Predicted: { predicts['label'] }")
|
23 |
+
st.write(f"Score: { round(predicts['score'] * 100, 1)}%")
|