Gregoryjr
commited on
Commit
•
0acc1ca
1
Parent(s):
a169dec
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
4 |
|
5 |
st.title("Milestone #2 offensive statement prediction with pre-trained models")
|
6 |
st.write("in this basic demo you can select a model to judge whether or not the text below is offensive")
|
7 |
-
text = "
|
8 |
st.write(text)
|
9 |
|
10 |
options = ["zero-shot-classification", "cardiffnlp/twitter-roberta-base-offensive", "Greys/milestonemodel"]
|
|
|
4 |
|
5 |
st.title("Milestone #2 offensive statement prediction with pre-trained models")
|
6 |
st.write("in this basic demo you can select a model to judge whether or not the text below is offensive")
|
7 |
+
text = "I Hate cocksuckers"
|
8 |
st.write(text)
|
9 |
|
10 |
options = ["zero-shot-classification", "cardiffnlp/twitter-roberta-base-offensive", "Greys/milestonemodel"]
|