Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def preprocess(text):
|
|
75 |
def get_model():
|
76 |
# Load the model and tokenizer
|
77 |
tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
|
78 |
-
model = AutoModelForSequenceClassification.from_pretrained("MrDdz/bert-base-uncased
|
79 |
return tokenizer,model
|
80 |
tokenizer, model = get_model()
|
81 |
|
|
|
75 |
def get_model():
|
76 |
# Load the model and tokenizer
|
77 |
tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
|
78 |
+
model = AutoModelForSequenceClassification.from_pretrained("MrDdz/bert-base-uncased")
|
79 |
return tokenizer,model
|
80 |
tokenizer, model = get_model()
|
81 |
|