I am using spleeter
python library to separate source from .mp3 audio files. I can separate source when using only one file but when I try to iterate through a number audio files using for loop it doesn't work. I am putting my code and error screenshot for you to look at.
from IPython.display import Audio
import spleeter
for item in path:
!spleeter separate -o output/ {item}
This is code for separating source for single audio file
!spleeter separate -o output/ audio_example.mp3
I am using google Colab
.
error screenshot: