lpw commited on
Commit
86bb4c9
1 Parent(s): 34dbf46

Update audio_pipe.py

Browse files
Files changed (1) hide show
  1. audio_pipe.py +1 -1
audio_pipe.py CHANGED
@@ -149,4 +149,4 @@ class SpeechToSpeechPipeline():
149
  self.tts_task, self.tts_model, self.tts_generator, tts_sample
150
  )
151
 
152
- return wav.unsqueeze(0).numpy(), sr, [text]
 
149
  self.tts_task, self.tts_model, self.tts_generator, tts_sample
150
  )
151
 
152
+ return wav, sr, [text]