Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ sentiment_model = AutoModelForSequenceClassification.from_pretrained("SamanthaSt
|
|
10 |
sentiment_tokenizer = AutoTokenizer.from_pretrained("SamanthaStorm/tether-sentiment")
|
11 |
|
12 |
# Load abuse pattern model
|
13 |
-
model_name ="SamanthaStorm/autotrain-
|
14 |
model = RobertaForSequenceClassification.from_pretrained(model_name, trust_remote_code=True)
|
15 |
tokenizer = RobertaTokenizer.from_pretrained(model_name, trust_remote_code=True)
|
16 |
|
|
|
10 |
sentiment_tokenizer = AutoTokenizer.from_pretrained("SamanthaStorm/tether-sentiment")
|
11 |
|
12 |
# Load abuse pattern model
|
13 |
+
model_name ="SamanthaStorm/autotrain-jlpi4-mllvp"
|
14 |
model = RobertaForSequenceClassification.from_pretrained(model_name, trust_remote_code=True)
|
15 |
tokenizer = RobertaTokenizer.from_pretrained(model_name, trust_remote_code=True)
|
16 |
|