Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -4,7 +4,7 @@ import joblib
|
|
| 4 |
import torch
|
| 5 |
|
| 6 |
# Load the label encoder
|
| 7 |
-
label_encoder = joblib.load('
|
| 8 |
|
| 9 |
# Load the model and tokenizer from Hugging Face
|
| 10 |
model_name = "SCANSKY/distilbertTourism-multilingual-sentiment"
|
|
|
|
| 4 |
import torch
|
| 5 |
|
| 6 |
# Load the label encoder
|
| 7 |
+
label_encoder = joblib.load('label_encoder.pkl')
|
| 8 |
|
| 9 |
# Load the model and tokenizer from Hugging Face
|
| 10 |
model_name = "SCANSKY/distilbertTourism-multilingual-sentiment"
|