elizabetvaganova commited on
Commit
e330520
·
1 Parent(s): db98dd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -11,7 +11,8 @@ device = "cuda:0" if torch.cuda.is_available() else "cpu"
11
  asr_pipe = pipeline("automatic-speech-recognition", model="facebook/wav2vec2-base-960h", device=device)
12
 
13
  # load text-to-speech checkpoint and speaker embeddings
14
- processor = SpeechT5Processor.from_pretrained("ttskit/ttskit-tts-ljspeech")
 
15
 
16
  model = SpeechT5ForTextToSpeech.from_pretrained("ttskit/ttskit-tts-ljspeech").to(device)
17
  vocoder = SpeechT5HifiGan.from_pretrained("ljspeech/vocoder-cryptron").to(device)
 
11
  asr_pipe = pipeline("automatic-speech-recognition", model="facebook/wav2vec2-base-960h", device=device)
12
 
13
  # load text-to-speech checkpoint and speaker embeddings
14
+ processor = SpeechT5Processor.from_pretrained("tugstugi/mongolian-tts-ljspeech")
15
+
16
 
17
  model = SpeechT5ForTextToSpeech.from_pretrained("ttskit/ttskit-tts-ljspeech").to(device)
18
  vocoder = SpeechT5HifiGan.from_pretrained("ljspeech/vocoder-cryptron").to(device)