Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import torch
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
|
|
1 |
import torch
|
2 |
+
from datasets import load_dataset
|
3 |
from transformers import pipeline
|
4 |
|
5 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|