Kangarroar commited on
Commit
83b7afc
1 Parent(s): 7ed5ac7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title, title
50
  with st.spinner("Rendering Audio..."):
51
  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,
52
  use_gt_mel=use_mel_as_base, add_noise_step=noise_step,project_name=project_name,out_path=wav_gen)
53
-     # If the formant shift ratio is not equal to 1.0, change the gender of the sound using parselmouth
54
     if formant_shift_ratio != 1.0:
55
         sound = parselmouth.Sound(wav_gen)
56
         print(wav_gen)
 
50
  with st.spinner("Rendering Audio..."):
51
  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,
52
  use_gt_mel=use_mel_as_base, add_noise_step=noise_step,project_name=project_name,out_path=wav_gen)
53
+    # If the formant shift ratio is not equal to 1.0, change the gender of the sound using parselmouth
54
     if formant_shift_ratio != 1.0:
55
         sound = parselmouth.Sound(wav_gen)
56
         print(wav_gen)