Politrees commited on
Commit
9e66ad7
β€’
1 Parent(s): 439451f

Update src/rvc.py

Browse files
Files changed (1) hide show
  1. src/rvc.py +6 -2
src/rvc.py CHANGED
@@ -160,7 +160,9 @@ def rvc_infer(
160
  protect,
161
  crepe_hop_length,
162
  vc,
163
- hubert_model
 
 
164
  ):
165
  audio = load_audio(input_path, 16000)
166
  times = [0, 0, 0]
@@ -183,6 +185,8 @@ def rvc_infer(
183
  rms_mix_rate,
184
  version,
185
  protect,
186
- crepe_hop_length
 
 
187
  )
188
  wavfile.write(output_path, tgt_sr, audio_opt)
 
160
  protect,
161
  crepe_hop_length,
162
  vc,
163
+ hubert_model,
164
+ f0_min=50,
165
+ f0_max=1100
166
  ):
167
  audio = load_audio(input_path, 16000)
168
  times = [0, 0, 0]
 
185
  rms_mix_rate,
186
  version,
187
  protect,
188
+ crepe_hop_length,
189
+ f0_min=f0_min,
190
+ f0_max=f0_max
191
  )
192
  wavfile.write(output_path, tgt_sr, audio_opt)