logasanjeev commited on
Commit
f68271b
·
verified ·
1 Parent(s): c657ca2

Update inference.py

Browse files
Files changed (1) hide show
  1. inference.py +1 -1
inference.py CHANGED
@@ -16,7 +16,7 @@ def preprocess_text(text):
16
 
17
  def load_model_and_resources():
18
  """Load the model, tokenizer, emotion labels, and thresholds from Hugging Face."""
19
- repo_id = "logasanjeev/emotion-analyzer-bert"
20
 
21
  try:
22
  model = BertForSequenceClassification.from_pretrained(repo_id)
 
16
 
17
  def load_model_and_resources():
18
  """Load the model, tokenizer, emotion labels, and thresholds from Hugging Face."""
19
+ repo_id = "logasanjeev/emotions-analyzer-bert"
20
 
21
  try:
22
  model = BertForSequenceClassification.from_pretrained(repo_id)