Spaces:
Runtime error
Runtime error
Commit
•
529b342
1
Parent(s):
bc9a4c1
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from datasets import load_dataset
|
|
6 |
from transformers import SpeechT5ForTextToSpeech, SpeechT5HifiGan, SpeechT5Processor, pipeline
|
7 |
|
8 |
from transformers import M2M100ForConditionalGeneration
|
9 |
-
from
|
10 |
|
11 |
|
12 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
|
|
6 |
from transformers import SpeechT5ForTextToSpeech, SpeechT5HifiGan, SpeechT5Processor, pipeline
|
7 |
|
8 |
from transformers import M2M100ForConditionalGeneration
|
9 |
+
from tokenization_small100 import SMALL100Tokenizer
|
10 |
|
11 |
|
12 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|