Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ import torch
|
|
4 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
5 |
import emoji
|
6 |
|
7 |
-
model_path = "
|
8 |
-
tokenizer_path = "
|
9 |
|
10 |
# Load the tokenizer and model
|
11 |
model = AutoModelForSequenceClassification.from_pretrained(model_path)
|
|
|
4 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
5 |
import emoji
|
6 |
|
7 |
+
model_path = "TBModel"
|
8 |
+
tokenizer_path = "TBTokenizer"
|
9 |
|
10 |
# Load the tokenizer and model
|
11 |
model = AutoModelForSequenceClassification.from_pretrained(model_path)
|