shuang209 commited on
Commit
2e6a02c
·
verified ·
1 Parent(s): 226a57a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ import gradio as gr
12
  classifier = pipeline(
13
  "sentiment-analysis",
14
  model="nlptown/bert-base-multilingual-uncased-sentiment",
15
- # device=-1,
16
  )
17
 
18
  # Map labels
 
12
  classifier = pipeline(
13
  "sentiment-analysis",
14
  model="nlptown/bert-base-multilingual-uncased-sentiment",
15
+ device=-1,
16
  )
17
 
18
  # Map labels