Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def vc_fn(speaker, input_audio, vc_transform, auto_f0,cluster_ratio, slice_db, n
|
|
86 |
out_wav_path = "temp.wav"
|
87 |
soundfile.write(out_wav_path, audio, 16000, format="wav")
|
88 |
print( cluster_ratio, auto_f0, noise_scale)
|
89 |
-
_audio = model.slice_inference(out_wav_path,
|
90 |
return "Success", (44100, _audio)
|
91 |
|
92 |
app = gr.Blocks()
|
|
|
86 |
out_wav_path = "temp.wav"
|
87 |
soundfile.write(out_wav_path, audio, 16000, format="wav")
|
88 |
print( cluster_ratio, auto_f0, noise_scale)
|
89 |
+
_audio = model.slice_inference(out_wav_path, speaker, vc_transform, slice_db, cluster_ratio, auto_f0, noise_scale)
|
90 |
return "Success", (44100, _audio)
|
91 |
|
92 |
app = gr.Blocks()
|