Gregoryjr
commited on
Commit
•
b882e97
1
Parent(s):
0acc1ca
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 = "I
|
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 Am going to attack you"
|
8 |
st.write(text)
|
9 |
|
10 |
options = ["zero-shot-classification", "cardiffnlp/twitter-roberta-base-offensive", "Greys/milestonemodel"]
|