Spaces:
Running
Running
Commit
•
7bdb6b8
1
Parent(s):
b3dcde3
fixes
Browse files- backend/sa.py +3 -0
backend/sa.py
CHANGED
@@ -17,3 +17,6 @@ def write():
|
|
17 |
if st.button("Predict"):
|
18 |
with st.spinner("Predicting..."):
|
19 |
prediction, score, all_score = predictor.predict([input_text])
|
|
|
|
|
|
|
|
17 |
if st.button("Predict"):
|
18 |
with st.spinner("Predicting..."):
|
19 |
prediction, score, all_score = predictor.predict([input_text])
|
20 |
+
st.write(f"Prediction: {prediction}")
|
21 |
+
st.write(f"Score: {score}")
|
22 |
+
st.write(f"All scores: {all_score}")
|