nezihtopaloglu commited on
Commit
17a42fc
·
verified ·
1 Parent(s): 10d615f

Rmoving decoder_max_step manual setting

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def generate_speech(text):
29
  #tts = TTS("tts_models/en/ljspeech/tacotron2-DDC")
30
  tts = TTS("tts_models/en/ljspeech/glow-tts")
31
 
32
- tts.synthesizer.model.decoder.max_decoder_steps = 30000 # Increase limit
33
  wav_path = "speech.wav"
34
  tts.tts_to_file(text=text, file_path=wav_path)
35
  return wav_path
 
29
  #tts = TTS("tts_models/en/ljspeech/tacotron2-DDC")
30
  tts = TTS("tts_models/en/ljspeech/glow-tts")
31
 
32
+ #tts.synthesizer.model.decoder.max_decoder_steps = 30000 # Increase limit
33
  wav_path = "speech.wav"
34
  tts.tts_to_file(text=text, file_path=wav_path)
35
  return wav_path