Zeqiang-Lai / OpenDMD

Open source implementation and models of One-step Diffusion with Distribution Matching Distillation
GNU General Public License v2.0
94 stars 11 forks source link

Fix unet download based on new folder structure #8

Open beyarkay opened 1 month ago

beyarkay commented 1 month ago

The U-Net is now stored in a subdirectory of the repo here. This change ensures that the UNet is downloaded from the right place.

Without this change, the code errors when running python3 gradio_dmd.py with the error message:

OSError: Lykon/dreamshaper-8 does not appear to have a file named config.json.

because there's no config.json in the root directory (anymore)