Spaces:
Running
Running
aliasgerovs
commited on
Commit
•
922dd7d
1
Parent(s):
d53b62d
Updated model
Browse files
app.py
CHANGED
@@ -194,7 +194,7 @@ text_mc_model = AutoModelForSequenceClassification.from_pretrained(text_mc_model
|
|
194 |
|
195 |
quillbot_labels = ["Original", "QuillBot"]
|
196 |
quillbot_tokenizer = AutoTokenizer.from_pretrained("FacebookAI/roberta-base")
|
197 |
-
quillbot_model = AutoModelForSequenceClassification.from_pretrained("polygraf-ai/quillbot-detector-
|
198 |
|
199 |
def remove_accents(input_str):
|
200 |
text_no_accents = unidecode(input_str)
|
|
|
194 |
|
195 |
quillbot_labels = ["Original", "QuillBot"]
|
196 |
quillbot_tokenizer = AutoTokenizer.from_pretrained("FacebookAI/roberta-base")
|
197 |
+
quillbot_model = AutoModelForSequenceClassification.from_pretrained("polygraf-ai/quillbot-detector-28k").to(device)
|
198 |
|
199 |
def remove_accents(input_str):
|
200 |
text_no_accents = unidecode(input_str)
|