Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -15,7 +15,7 @@ label_encoder = joblib.load('/repository/label_encoder.pkl') # Use absolute pat
|
|
| 15 |
print("Label encoder loaded successfully.")
|
| 16 |
|
| 17 |
# Load the sentiment analysis model and tokenizer from Hugging Face
|
| 18 |
-
model_name = "SCANSKY/
|
| 19 |
sentiment_analyzer = pipeline(
|
| 20 |
'sentiment-analysis',
|
| 21 |
model=model_name,
|
|
|
|
| 15 |
print("Label encoder loaded successfully.")
|
| 16 |
|
| 17 |
# Load the sentiment analysis model and tokenizer from Hugging Face
|
| 18 |
+
model_name = "SCANSKY/BERTopic_Tourism_8L"
|
| 19 |
sentiment_analyzer = pipeline(
|
| 20 |
'sentiment-analysis',
|
| 21 |
model=model_name,
|