juliuserictuliao
commited on
remove tokenizer
Browse files
app.py
CHANGED
@@ -21,7 +21,6 @@ embeddings_dataset = load_dataset("Matthijs/cmu-arctic-xvectors", split="validat
|
|
21 |
speaker_embeddings = torch.tensor(embeddings_dataset[7306]["xvector"]).unsqueeze(0)
|
22 |
|
23 |
model = SpeechT5ForTextToSpeech.from_pretrained("facebook/mms-tts-tgl")
|
24 |
-
tokenizer = AutoTokenizer.from_pretrained("facebook/mms-tts-tgl")
|
25 |
|
26 |
|
27 |
|
|
|
21 |
speaker_embeddings = torch.tensor(embeddings_dataset[7306]["xvector"]).unsqueeze(0)
|
22 |
|
23 |
model = SpeechT5ForTextToSpeech.from_pretrained("facebook/mms-tts-tgl")
|
|
|
24 |
|
25 |
|
26 |
|