Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -148,8 +148,8 @@ def synthesize_and_convert_voice(text, language_iso, voice_audio_path, speed, de
|
|
148 |
write(temp_denoised_wav_path, denoised_sample_rate, denoised_wav_int16)
|
149 |
|
150 |
# Параметры для voice_conversion
|
151 |
-
diffusion_steps =
|
152 |
-
length_adjust =
|
153 |
inference_cfg_rate = 0.6
|
154 |
f0_condition = True
|
155 |
auto_f0_adjust = True
|
@@ -237,8 +237,8 @@ def synthesize_speech(text, speaker_wav_path, language_iso, speed, device='cpu')
|
|
237 |
torchaudio.save(temp_vc_input_path, wav_tensor.cpu(), sample_rate)
|
238 |
|
239 |
# Параметры для voice_conversion
|
240 |
-
diffusion_steps =
|
241 |
-
length_adjust =
|
242 |
inference_cfg_rate = 0.6
|
243 |
f0_condition = True
|
244 |
auto_f0_adjust = True
|
|
|
148 |
write(temp_denoised_wav_path, denoised_sample_rate, denoised_wav_int16)
|
149 |
|
150 |
# Параметры для voice_conversion
|
151 |
+
diffusion_steps = 30
|
152 |
+
length_adjust = 3
|
153 |
inference_cfg_rate = 0.6
|
154 |
f0_condition = True
|
155 |
auto_f0_adjust = True
|
|
|
237 |
torchaudio.save(temp_vc_input_path, wav_tensor.cpu(), sample_rate)
|
238 |
|
239 |
# Параметры для voice_conversion
|
240 |
+
diffusion_steps = 30
|
241 |
+
length_adjust = 3
|
242 |
inference_cfg_rate = 0.6
|
243 |
f0_condition = True
|
244 |
auto_f0_adjust = True
|