Spaces:
Runtime error
Runtime error
Update OpenVoice/api.py
Browse files- OpenVoice/api.py +1 -1
OpenVoice/api.py
CHANGED
@@ -138,7 +138,7 @@ class ToneColorConverter(OpenVoiceBaseClass):
|
|
138 |
|
139 |
return gs
|
140 |
|
141 |
-
def convert(self, audio_src_path, src_se, tgt_se, output_path=None, tau=0.3, message="
|
142 |
hps = self.hps
|
143 |
# load audio
|
144 |
audio, sample_rate = librosa.load(audio_src_path, sr=hps.data.sampling_rate)
|
|
|
138 |
|
139 |
return gs
|
140 |
|
141 |
+
def convert(self, audio_src_path, src_se, tgt_se, output_path=None, tau=0.3, message="@Hilley-MyShell"):
|
142 |
hps = self.hps
|
143 |
# load audio
|
144 |
audio, sample_rate = librosa.load(audio_src_path, sr=hps.data.sampling_rate)
|