Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def adjust_f0_semitones(f0_sequence, n_semitones):
|
|
114 |
@spaces.GPU
|
115 |
@torch.no_grad()
|
116 |
@torch.inference_mode()
|
117 |
-
def voice_conversion(source, target, diffusion_steps, length_adjust, inference_cfg_rate, n_quantizers):
|
118 |
inference_module = model if not f0_condition else model_f0
|
119 |
# Load audio
|
120 |
source_audio = librosa.load(source, sr=sr)[0]
|
|
|
114 |
@spaces.GPU
|
115 |
@torch.no_grad()
|
116 |
@torch.inference_mode()
|
117 |
+
def voice_conversion(source, target, diffusion_steps, length_adjust, inference_cfg_rate, n_quantizers, f0_condition, auto_f0_adjust, pitch_shift):
|
118 |
inference_module = model if not f0_condition else model_f0
|
119 |
# Load audio
|
120 |
source_audio = librosa.load(source, sr=sr)[0]
|