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