kenshin20080 commited on
Commit
f22f6fe
1 Parent(s): f2a9328

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def create_vc_fn(model, sid):
43
  out_wav_path = "temp.wav"
44
  soundfile.write(out_wav_path, audio, 16000, format="wav")
45
  out_audio, out_sr = model.infer(sid, vc_transform, out_wav_path,
46
- auto_predict_f0=auto_f0, F0_mean_pooling=True,
47
  )
48
  return "Success", (44100, out_audio.cpu().numpy())
49
  return vc_fn
 
43
  out_wav_path = "temp.wav"
44
  soundfile.write(out_wav_path, audio, 16000, format="wav")
45
  out_audio, out_sr = model.infer(sid, vc_transform, out_wav_path,
46
+ auto_predict_f0=auto_f0,
47
  )
48
  return "Success", (44100, out_audio.cpu().numpy())
49
  return vc_fn