AlekhyaC2005 commited on
Commit
93c751c
·
verified ·
1 Parent(s): 8661759

Update app.py

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