anotherjesse / multi-control

14 stars 10 forks source link

Remove duplicate code for downloading SD15_WEIGHTS #2

Open marckohlbrugge opened 1 year ago

marckohlbrugge commented 1 year ago

I'm new to Cog and Python, so I could be wrong. But it seems like the download script is trying to download the SD15 weights twice.

Since it's cached, it doesn't impact performance. But it seems redundant.

https://github.com/anotherjesse/multi-control/blob/12a5583009936e30e31648926a8b3a5acb2182ca/script/download_weights#L36-L39

https://github.com/anotherjesse/multi-control/blob/12a5583009936e30e31648926a8b3a5acb2182ca/script/download_weights#L60-L61