SandraCLV commited on
Commit
fd48142
1 Parent(s): 8017b28

Update audio_model.py

Browse files
Files changed (1) hide show
  1. audio_model.py +1 -1
audio_model.py CHANGED
@@ -36,5 +36,5 @@ def synthesize_speech(text):
36
 
37
  speech = model.generate_speech(inputs["input_ids"], speaker_embeddings, vocoder=vocoder)
38
 
39
- return gr.Audio.update(value=(16000, speech.cpu().numpy()))
40
  ### END TEXT TO AUDIO SPEECH MODEL 2
 
36
 
37
  speech = model.generate_speech(inputs["input_ids"], speaker_embeddings, vocoder=vocoder)
38
 
39
+ return speech
40
  ### END TEXT TO AUDIO SPEECH MODEL 2