Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
import transformers
|
|
|
|
| 2 |
from transformers import DistilBertTokenizer, DistilBertForSequenceClassification
|
| 3 |
|
| 4 |
# Load tokenizer and model
|
|
|
|
| 1 |
import transformers
|
| 2 |
+
import torch
|
| 3 |
from transformers import DistilBertTokenizer, DistilBertForSequenceClassification
|
| 4 |
|
| 5 |
# Load tokenizer and model
|