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

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 = "your-username/mentalbert-emotion"
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 = "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")