Zeqiang-Lai / OpenDMD

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

Fix unet download based on new folder structure #8

Closed beyarkay closed 3 months ago

beyarkay commented 6 months 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)