Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,9 @@ input = st.text_area("Enter a Tweer for analysis")
|
|
14 |
result = toxic_model(input)
|
15 |
|
16 |
# Display the result
|
|
|
17 |
st.write("Tweet:", input)
|
18 |
-
st.write("
|
|
|
|
|
19 |
|
|
|
14 |
result = toxic_model(input)
|
15 |
|
16 |
# Display the result
|
17 |
+
If iput is not None
|
18 |
st.write("Tweet:", input)
|
19 |
+
st.write("label:", result["label"])
|
20 |
+
st.write("score:", result["socre"])
|
21 |
+
|
22 |
|