Spaces:
Runtime error
Runtime error
Commit
·
5201e3b
1
Parent(s):
99519b7
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def vc_fn(sid, audio_record, audio_upload, tran, pndm_speedup=20):
|
|
54 |
wav_gen='./output.wav'
|
55 |
|
56 |
# Show the spinner and run the run_clip function inside the 'with' block
|
57 |
-
f0_tst, f0_pred, audio = run_clip(svc_model, file_path=audio_path, key=key, acc=pndm_speedup, use_crepe=True, use_pe=True, thre=0.
|
58 |
use_gt_mel=False, add_noise_step=500, project_name=project_name, out_path=wav_gen)
|
59 |
audio, sr = librosa.load(wav_gen)
|
60 |
f0_gen,_=get_pitch_parselmouth(*svc_model.vocoder.wav2spec(wav_gen),hparams)
|
|
|
54 |
wav_gen='./output.wav'
|
55 |
|
56 |
# Show the spinner and run the run_clip function inside the 'with' block
|
57 |
+
f0_tst, f0_pred, audio = run_clip(svc_model, file_path=audio_path, key=key, acc=pndm_speedup, use_crepe=True, use_pe=True, thre=0.1,
|
58 |
use_gt_mel=False, add_noise_step=500, project_name=project_name, out_path=wav_gen)
|
59 |
audio, sr = librosa.load(wav_gen)
|
60 |
f0_gen,_=get_pitch_parselmouth(*svc_model.vocoder.wav2spec(wav_gen),hparams)
|