SCANSKY commited on
Commit
7f20f8a
·
verified ·
1 Parent(s): d1f3827

Update handler.py

Browse files
Files changed (1) hide show
  1. 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/distilbertTourism-multilingual-sentiment"
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,