burraco135 commited on
Commit
09bcf49
1 Parent(s): 5b52d90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -24,8 +24,9 @@ def predict(text, speaker):
24
 
25
  speech = model.generate_speech(input_ids, speaker_embedding, vocoder=vocoder)
26
 
27
- speech = (speech.numpy() * 32767).astype(np.int16)
28
- return (16000, speech)
 
29
 
30
  gr.Interface(
31
  fn=predict,
 
24
 
25
  speech = model.generate_speech(input_ids, speaker_embedding, vocoder=vocoder)
26
 
27
+ # speech = (speech.numpy() * 32767).astype(np.int16)
28
+ # return (16000, speech)
29
+ return speech
30
 
31
  gr.Interface(
32
  fn=predict,