mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-09 00:09:55 +00:00
enable auto downloading depth and openpose model
This commit is contained in:
@@ -64,6 +64,16 @@ def download_controlnet_hed():
|
||||
'resolve/main/models/control_sd15_hed.pth')
|
||||
download(url, 'models')
|
||||
|
||||
def download_controlnet_depth():
|
||||
url = ('https://huggingface.co/lllyasviel/ControlNet/'
|
||||
'resolve/main/models/control_sd15_depth.pth')
|
||||
download(url, 'models')
|
||||
|
||||
def download_controlnet_openpose():
|
||||
url = ('https://huggingface.co/lllyasviel/ControlNet/'
|
||||
'resolve/main/models/control_sd15_openpose.pth')
|
||||
download(url, 'models')
|
||||
|
||||
|
||||
def download_vae():
|
||||
url = ('https://huggingface.co/stabilityai/sd-vae-ft-mse-original'
|
||||
@@ -75,4 +85,6 @@ build_ebsynth()
|
||||
download_gmflow_ckpt()
|
||||
download_controlnet_canny()
|
||||
download_controlnet_hed()
|
||||
download_controlnet_depth()
|
||||
download_controlnet_openpose()
|
||||
download_vae()
|
||||
|
||||
Reference in New Issue
Block a user