Commit
·
d783d44
1
Parent(s):
00a8505
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import numpy as np
|
|
7 |
import torch
|
8 |
from datasets import load_dataset
|
9 |
|
10 |
-
from transformers import SpeechT5ForTextToSpeech, SpeechT5HifiGan, SpeechT5Processor, pipeline
|
11 |
|
12 |
|
13 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
|
|
7 |
import torch
|
8 |
from datasets import load_dataset
|
9 |
|
10 |
+
from transformers import SpeechT5ForTextToSpeech, SpeechT5HifiGan, SpeechT5Processor, pipeline, WhisperProcessor, VitsModel, VitsTokenizer
|
11 |
|
12 |
|
13 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|