CorentinJ / Real-Time-Voice-Cloning

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

load() takes 1 positional argument but 2 were given #1213

Open AbdullahEmrn66 opened 1 year ago

AbdullahEmrn66 commented 1 year ago

load() takes 1 positional argument but 2 were given

I have installed the entire code, all modules but when I load I see this error. Need help Capture

t4fita commented 1 year ago

Hi, try using librosa version 0.9.2 pip install librosa==0.9.2

raws84 commented 1 year ago

install librosa==0.8.1 as mentioned in the requirements document. Ideally create a virtual environment with Python 3.7 then install ffmpeg, pytorch and then the requirements in the environment and then run the code.