winain7788 commited on
Commit
6f8a72b
·
1 Parent(s): 4d20f8e

change model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline
5
  device = 0 if torch.cuda.is_available() else -1
6
 
7
  sentiment_pipeline = pipeline("text-classification",
8
- model="3728km/fined-tune-thai-sentiment",
9
  device=device)
10
 
11
  async def get_sentiment(text):
 
5
  device = 0 if torch.cuda.is_available() else -1
6
 
7
  sentiment_pipeline = pipeline("text-classification",
8
+ model="winain7788/bert-finetuned-sem_eval-english",
9
  device=device)
10
 
11
  async def get_sentiment(text):