Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ result = toxic_model(input)
|
|
15 |
|
16 |
# Display the result
|
17 |
st.write("Tweet:", input)
|
18 |
-
st.write("label:", result[
|
19 |
-
st.write("score:", result[
|
20 |
|
21 |
|
|
|
15 |
|
16 |
# Display the result
|
17 |
st.write("Tweet:", input)
|
18 |
+
st.write("label:", result['label'])
|
19 |
+
st.write("score:", result['socre'])
|
20 |
|
21 |
|