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