Hilley commited on
Commit
29cc6e6
1 Parent(s): 34de65c

Update OpenVoice/api.py

Browse files
Files changed (1) hide show
  1. 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="default"):
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)