Latent_Diffusion / download.py
HawkeyeHS's picture
Added files for stable diffusion
00454cb
raw
history blame contribute delete
368 Bytes
import wget
def download():
url = 'https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt?download=true'
destination = './data/v1-5-pruned-emaonly.ckpt'
try:
wget.download(url, destination)
print("File downloaded successfully.")
except Exception as e:
print("Failed to download file:", e)