Spaces:
Runtime error
Runtime error
Oliver Li
commited on
Commit
·
c483e0d
1
Parent(s):
ffe0ff7
updated default text
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ st.title("Multi-label Toxicity Detection App")
|
|
19 |
st.write("Enter a text and select the fine-tuned model to get the toxicity analysis.")
|
20 |
|
21 |
# Input text
|
22 |
-
default_text = "
|
23 |
text = st.text_input("Enter your text:", value=default_text)
|
24 |
|
25 |
category = {'LABEL_0': 'toxic', 'LABEL_1': 'severe_toxic', 'LABEL_2': 'obscene', 'LABEL_3': 'threat', 'LABEL_4': 'insult', 'LABEL_5': 'identity_hate'}
|
|
|
19 |
st.write("Enter a text and select the fine-tuned model to get the toxicity analysis.")
|
20 |
|
21 |
# Input text
|
22 |
+
default_text = "You might be the most stupid person in the world."
|
23 |
text = st.text_input("Enter your text:", value=default_text)
|
24 |
|
25 |
category = {'LABEL_0': 'toxic', 'LABEL_1': 'severe_toxic', 'LABEL_2': 'obscene', 'LABEL_3': 'threat', 'LABEL_4': 'insult', 'LABEL_5': 'identity_hate'}
|