Add models information to default workflow. (#321)

* Add models information to default workflow.

* Add models to zod schema.

* Fix zod schema.

* Update schema name.

* Add z prefix to modelfile schema name.
This commit is contained in:
Robin Huang
2024-08-06 10:45:07 -07:00
committed by GitHub
parent e162d0007c
commit 6fe2297cc1
2 changed files with 21 additions and 2 deletions

View File

@@ -133,5 +133,14 @@ export const defaultGraph: ComfyWorkflowJSON = {
groups: [],
config: {},
extra: {},
version: 0.4
version: 0.4,
models: [
{
name: 'v1-5-pruned-emaonly.ckpt',
url: 'https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt',
hash: 'cc6cb27103417325ff94f52b7a5d2dde45a7515b25c255d8e396c90014281516',
hash_type: 'SHA256',
directory: 'checkpoints'
}
]
}