Spaces:
Running
Running
Katock
commited on
Commit
·
2be4936
1
Parent(s):
283f48f
test
Browse files
app.py
CHANGED
@@ -49,12 +49,14 @@ def create_vc_fn(model, spk):
|
|
49 |
raw_audio_path = io.BytesIO()
|
50 |
soundfile.write(raw_audio_path, audio, sampling_rate, format="wav")
|
51 |
raw_audio_path.seek(0)
|
52 |
-
out_audio, _, _ = model.infer(raw_path=raw_audio_path,
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
|
|
58 |
|
59 |
return vc_fn
|
60 |
|
|
|
49 |
raw_audio_path = io.BytesIO()
|
50 |
soundfile.write(raw_audio_path, audio, sampling_rate, format="wav")
|
51 |
raw_audio_path.seek(0)
|
52 |
+
# out_audio, _, _ = model.infer(raw_path=raw_audio_path,
|
53 |
+
# speaker=spk,
|
54 |
+
# tran=vc_transform,
|
55 |
+
# f0_predictor=f0p,
|
56 |
+
# auto_predict_f0=auto_f0)
|
57 |
+
|
58 |
+
# return "Success", (44100, out_audio.cpu().numpy())
|
59 |
+
return 'test', (44100, audio)
|
60 |
|
61 |
return vc_fn
|
62 |
|