CorentinJ / Real-Time-Voice-Cloning

Clone a voice in 5 seconds to generate arbitrary speech in real-time
Other
51.65k stars 8.66k forks source link

Type error from Browsing #1182

Open MoBro23 opened 1 year ago

MoBro23 commented 1 year ago

When i try to browse for a mp3 to use it as a voiceline i get a type error: Traceback (most recent call last): File "C:\Users\Moritz\Desktop\Voice\toolbox__init__.py", line 94, in func = lambda: self.load_from_browser(self.ui.browse_file()) File "C:\Users\Moritz\Desktop\Voice\toolbox__init__.py", line 157, in load_from_browser wav = Synthesizer.load_preprocess_wav(fpath) File "C:\Users\Moritz\Desktop\Voice\synthesizer\inference.py", line 136, in load_preprocess_wav wav = librosa.load(str(fpath), hparams.sample_rate)[0] TypeError: load() takes 1 positional argument but 2 were given

grafik