Spaces:
Running
Running
aliasgerovs
commited on
Commit
•
9545dbd
1
Parent(s):
c2db75c
Update app.py
Browse files
app.py
CHANGED
@@ -184,7 +184,7 @@ AI DETECTION SECTION
|
|
184 |
"""
|
185 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
186 |
|
187 |
-
text_bc_model_path = "polygraf-ai/
|
188 |
text_bc_tokenizer = AutoTokenizer.from_pretrained(text_bc_model_path)
|
189 |
text_bc_model = AutoModelForSequenceClassification.from_pretrained(text_bc_model_path).to(device)
|
190 |
|
|
|
184 |
"""
|
185 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
186 |
|
187 |
+
text_bc_model_path = "polygraf-ai/text-detect-bc-v11-4m"
|
188 |
text_bc_tokenizer = AutoTokenizer.from_pretrained(text_bc_model_path)
|
189 |
text_bc_model = AutoModelForSequenceClassification.from_pretrained(text_bc_model_path).to(device)
|
190 |
|