Spaces:
Runtime error
Runtime error
Al John Lexter Lozano
commited on
Commit
•
b8fed76
1
Parent(s):
dd48bf4
auth_token=False
Browse files
app.py
CHANGED
@@ -5,9 +5,10 @@ from gib_detect_module import detect
|
|
5 |
import csv
|
6 |
|
7 |
|
|
|
8 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
9 |
DLmodel = AutoModelForSequenceClassification.from_pretrained("madhurjindal/autonlp-Gibberish-Detector-492513457", use_auth_token=True)
|
10 |
-
tokenizer = AutoTokenizer.from_pretrained("madhurjindal/autonlp-Gibberish-Detector-492513457", use_auth_token=
|
11 |
|
12 |
|
13 |
|
|
|
5 |
import csv
|
6 |
|
7 |
|
8 |
+
|
9 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
10 |
DLmodel = AutoModelForSequenceClassification.from_pretrained("madhurjindal/autonlp-Gibberish-Detector-492513457", use_auth_token=True)
|
11 |
+
tokenizer = AutoTokenizer.from_pretrained("madhurjindal/autonlp-Gibberish-Detector-492513457", use_auth_token=False)
|
12 |
|
13 |
|
14 |
|