Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
# =========================
|