Flux9665 commited on
Commit
ef0bbdf
1 Parent(s): 56c4b39

Update InferenceInterfaces/ToucanTTSInterface.py

Browse files
InferenceInterfaces/ToucanTTSInterface.py CHANGED
@@ -166,7 +166,7 @@ class ToucanTTSInterface(torch.nn.Module):
166
  pause_duration_scaling_factor=pause_duration_scaling_factor,
167
  prosody_creativity=prosody_creativity)
168
 
169
- wave, _, _ = self.vocoder(mel.unsqueeze(0))
170
  wave = wave.squeeze().cpu()
171
  wave = wave.numpy()
172
  sr = 24000
 
166
  pause_duration_scaling_factor=pause_duration_scaling_factor,
167
  prosody_creativity=prosody_creativity)
168
 
169
+ wave = self.vocoder(mel.unsqueeze(0))
170
  wave = wave.squeeze().cpu()
171
  wave = wave.numpy()
172
  sr = 24000