mirror of
https://github.com/neonbjb/tortoise-tts.git
synced 2026-02-19 22:25:16 +01:00
Merge c7ff3d5b07 into 8a2563ecab
This commit is contained in:
commit
d599806203
|
|
@ -285,7 +285,7 @@ class TextToSpeech:
|
|||
sample = torchaudio.functional.resample(sample, 22050, 24000)
|
||||
sample = pad_or_truncate(sample, 102400)
|
||||
cond_mel = wav_to_univnet_mel(sample.to(self.device), do_normalization=False,
|
||||
device=self.device, stft=self.stft)
|
||||
device=self.device)
|
||||
diffusion_conds.append(cond_mel)
|
||||
diffusion_conds = torch.stack(diffusion_conds, dim=1)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue