str20tbl commited on
Commit
8a051e6
·
1 Parent(s): 993a760
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -26,7 +26,6 @@ def predict(text, speaker):
26
  model = SpeechT5ForTextToSpeech.from_pretrained(
27
  "techiaith/microsoft_speecht5_finetuned_bu_tts_cy_en"
28
  )
29
-
30
  inputs = processor(text=text, return_tensors="pt")
31
  speech = model.generate_speech(inputs["input_ids"], speaker_embedding, vocoder=vocoder)
32
  speech = (speech.numpy() * 32767).astype(np.int16)
 
26
  model = SpeechT5ForTextToSpeech.from_pretrained(
27
  "techiaith/microsoft_speecht5_finetuned_bu_tts_cy_en"
28
  )
 
29
  inputs = processor(text=text, return_tensors="pt")
30
  speech = model.generate_speech(inputs["input_ids"], speaker_embedding, vocoder=vocoder)
31
  speech = (speech.numpy() * 32767).astype(np.int16)