AlekhyaC2005 commited on
Commit
02b4129
·
verified ·
1 Parent(s): 6e2c624

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
6
  # -------------------------------------------------
7
  # CONFIG (MentalBERT – gated & fine-tuned)
8
  # -------------------------------------------------
9
- MODEL_NAME = "mental/mental-bert-base-uncased"
10
  HF_TOKEN = True # uses HF_TOKEN env variable
11
 
12
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
6
  # -------------------------------------------------
7
  # CONFIG (MentalBERT – gated & fine-tuned)
8
  # -------------------------------------------------
9
+ MODEL_NAME = "j-hartmann/emotion-english-distilroberta-base"
10
  HF_TOKEN = True # uses HF_TOKEN env variable
11
 
12
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")