AI-ON / Few-Shot-Music-Generation

160 stars 32 forks source link

Encode artist and song names in CSV #8

Closed sagelywizard closed 6 years ago

sagelywizard commented 6 years ago

This commit fixes a bug where artists which have commas in their name would break the sampler, because it wouldn't correctly split on commas. This commit fixes the problem by using urllib.quote to encode the artist and songs names before they are written to the CSV.