Ahsamkk commited on
Commit
43353fe
·
verified ·
1 Parent(s): 5c6e9dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import torch
5
  app = Flask(__name__)
6
 
7
  # Load model once at startup
8
- model_name = "ahsamkk/urdu-sentiment"
9
  tokenizer = AutoTokenizer.from_pretrained(model_name)
10
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
11
 
 
5
  app = Flask(__name__)
6
 
7
  # Load model once at startup
8
+ model_name = "ahsamkk/urdu-sentiment-model"
9
  tokenizer = AutoTokenizer.from_pretrained(model_name)
10
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
11