ylacombe HF staff commited on
Commit
97d9919
1 Parent(s): 112a38f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -106,7 +106,8 @@ def generate_speech(history):
106
  # generate speech by cloning a voice using default settings
107
  wav = tts.tts(text=sentence,
108
  speaker_wav="examples/female.wav",
109
- decoder_iterations=20,
 
110
  speed=1.2,
111
  language="en")
112
 
 
106
  # generate speech by cloning a voice using default settings
107
  wav = tts.tts(text=sentence,
108
  speaker_wav="examples/female.wav",
109
+ decoder_iterations=25,
110
+ decoder_sampler="dpm++2m",
111
  speed=1.2,
112
  language="en")
113