musicnn icon indicating copy to clipboard operation
musicnn copied to clipboard

Add "extract_features=False" to broken example

Open LinusOstlund opened this issue 2 years ago • 0 comments

The following example doesn't work:

from musicnn.extractor import extractor
taggram, tags = extractor('./audio/joram-moments_of_clarity-08-solipsism-59-88.mp3', model='MTT_musicnn') ~~~~

Since the extract_features parameter defaults to True, it produces a "too many values to unpack" error. Explicitly setting extract_features=False fixes the example.

LinusOstlund avatar Oct 05 '22 14:10 LinusOstlund