rblueeyes commited on
Commit
49c2874
·
verified ·
1 Parent(s): 135cb61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,7 +8,8 @@ from transformers import pipeline
8
  classifier = pipeline(
9
  "zero-shot-classification",
10
  model="joeddav/xlm-roberta-large-xnli",
11
- device=-1
 
12
  )
13
 
14
  # =========================
 
8
  classifier = pipeline(
9
  "zero-shot-classification",
10
  model="joeddav/xlm-roberta-large-xnli",
11
+ device=-1,
12
+ use_fast=False
13
  )
14
 
15
  # =========================