Update inference.py
Browse files- 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/
|
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)
|