ghalestrilo / ornette

An OSC server to interact with different music-generating ML models
12 stars 0 forks source link

Create folders and download checkpoints/bundles from metaprogram #19

Open ghalestrilo opened 2 years ago

ghalestrilo commented 2 years ago

Currently, the server checks and downloads the required bundles for the selected model. It's best to do that at the metaprogram, because we have to know what checkpoints are available before spawning the server. Right now, a model that hasn't been used yet can't be loaded through __main__.py - the program crashes because the folder/files are not present.