kartynnik commited on
Commit
d32c69a
1 Parent(s): c92bf2b

Back to 2x :)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,7 +124,7 @@ def greet(Text,Voicetoclone,VoiceMicrophone):
124
  else:
125
  os.system('ffmpeg-normalize $sample -nt rms -t=-27 -o $sample -ar 16000 -f')
126
  reference_emb = SE_speaker_manager.compute_d_vector_from_clip(reference_files)
127
- model.length_scale = 3 # scaler for the duration predictor. The larger it is, the slower the speech.
128
  model.inference_noise_scale = 0.3 # defines the noise variance applied to the random z vector at inference.
129
  model.inference_noise_scale_dp = 0.3 # defines the noise variance applied to the duration predictor z vector at inference.
130
  text = text
 
124
  else:
125
  os.system('ffmpeg-normalize $sample -nt rms -t=-27 -o $sample -ar 16000 -f')
126
  reference_emb = SE_speaker_manager.compute_d_vector_from_clip(reference_files)
127
+ model.length_scale = 2 # scaler for the duration predictor. The larger it is, the slower the speech.
128
  model.inference_noise_scale = 0.3 # defines the noise variance applied to the random z vector at inference.
129
  model.inference_noise_scale_dp = 0.3 # defines the noise variance applied to the duration predictor z vector at inference.
130
  text = text