x, sr = li.load(f, sampling_rate)
throws "TypeError: load() takes 1 positional argument but 2 were given"
I fixed mine by explicitly declaring the variable, as the example in the librosa docs:
x, sr = li.load(f, sr=sampling_rate)
its a simple fix, so, you might consider updating it.
Thanks.
x, sr = li.load(f, sampling_rate)throws "TypeError: load() takes 1 positional argument but 2 were given"
I fixed mine by explicitly declaring the variable, as the example in the librosa docs:
x, sr = li.load(f, sr=sampling_rate)its a simple fix, so, you might consider updating it.
Thanks.