Spaces:
Sleeping
Sleeping
Upload infertest.py
Browse files- infertest.py +2 -1
infertest.py
CHANGED
@@ -113,7 +113,7 @@ def api_convert_voice():
|
|
113 |
|
114 |
|
115 |
def convert_voice(spk_id, input_audio_path, voice_transform):
|
116 |
-
|
117 |
output_audio_path = vc_single(
|
118 |
sid=spk_id,
|
119 |
input_audio_path=input_audio_path,
|
@@ -127,6 +127,7 @@ def convert_voice(spk_id, input_audio_path, voice_transform):
|
|
127 |
rms_mix_rate=0.25,
|
128 |
protect=0.33 # Adjusted from protect_rate to protect to match the function signature
|
129 |
)
|
|
|
130 |
return output_audio_path
|
131 |
|
132 |
|
|
|
113 |
|
114 |
|
115 |
def convert_voice(spk_id, input_audio_path, voice_transform):
|
116 |
+
|
117 |
output_audio_path = vc_single(
|
118 |
sid=spk_id,
|
119 |
input_audio_path=input_audio_path,
|
|
|
127 |
rms_mix_rate=0.25,
|
128 |
protect=0.33 # Adjusted from protect_rate to protect to match the function signature
|
129 |
)
|
130 |
+
print(output_audio_path)
|
131 |
return output_audio_path
|
132 |
|
133 |
|