Spaces:
Runtime error
Runtime error
JulianHame
commited on
Commit
•
44be565
1
Parent(s):
95bde3e
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ st.title('Toxicity Classifier')
|
|
21 |
|
22 |
st.header('Write a message here:')
|
23 |
text = st.text_area('The toxicity of the message will be evaluated.',
|
24 |
-
value = "
|
25 |
|
26 |
input_str = vectorizer(text)
|
27 |
res = model.predict(np.expand_dims(input_str,0))
|
|
|
21 |
|
22 |
st.header('Write a message here:')
|
23 |
text = st.text_area('The toxicity of the message will be evaluated.',
|
24 |
+
value = "You're fucking ugly.")
|
25 |
|
26 |
input_str = vectorizer(text)
|
27 |
res = model.predict(np.expand_dims(input_str,0))
|