karanjakhar
commited on
Commit
•
e39d9b6
1
Parent(s):
bbb49ad
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import numpy as np
|
|
3 |
import torch
|
4 |
from datasets import load_dataset
|
5 |
from transformers import VitsModel, VitsTokenizer
|
6 |
-
|
7 |
|
8 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
9 |
|
|
|
3 |
import torch
|
4 |
from datasets import load_dataset
|
5 |
from transformers import VitsModel, VitsTokenizer
|
6 |
+
from transformers import pipeline
|
7 |
|
8 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
9 |
|