Kangarroar commited on
Commit
6a6891d
1 Parent(s): 0faba3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -49,7 +49,8 @@ def render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title, title
49
 
50
  # Show the spinner and run the run_clip function inside the 'with' block
51
  with st.spinner("Rendering Audio..."):
52
- f0_tst, f0_pred, audio = run_clip(svc_model,file_path=wav_fn, key=key, acc=title2, use_crepe=choice, use_pe=False, thre=0.05,
 
53
      ##PRAAT
54
      formant_shift_ratio_str = title3
55
      formant_shift_ratio = float(formant_shift_ratio_str)
 
49
 
50
  # Show the spinner and run the run_clip function inside the 'with' block
51
  with st.spinner("Rendering Audio..."):
52
+ f0_tst, f0_pred, audio = run_clip(svc_model,file_path=wav_fn, key=key, acc=title2, use_crepe=Crepe, use_pe=False, thre=0.05,
53
+ use_gt_mel=use_mel_as_base, add_noise_step=noise_step,project_name=project_name,out_path=wav_gen)
54
      ##PRAAT
55
      formant_shift_ratio_str = title3
56
      formant_shift_ratio = float(formant_shift_ratio_str)