mav-rik/facerestore_cf

How do I get comfyui to use models from a111

Opened this issue · 4 comments

a111:
base_path: F:\sd-webui

checkpoints: models\Stable-diffusion
configs: models\Stable-diffusion
vae: models\VAE
loras: |
     models\Lora
     models\LyCORIS
upscale_models: |
              models\ESRGAN
              models\RealESRGAN
              models\SwinIR
embeddings: embeddings
hypernetworks: models\hypernetworks
controlnet: models\ControlNet
???: ???

what should i writ in extra_model_paths.yaml

@SameetAsadullah maybe you can provide some suggestions?
Thanks!

@waaaok You can paste the models in ComfyUI/models folder. Checkpoints goes into checkpoints, embeddings into embeddings and so on.

@SameetAsadullah I think the question was about facerestore models and how to avoid copying it to comfyui, but keep using a1111 ones with the help of extra_model_paths.yaml file.

The models lookup is currently hardcoded to facerestore_models directory within comfyui.

I don't know how to lookup in folders provided in extra_model_paths.yaml. I must check some of the other custom nodes to see how they look models up within provided paths.

UPDATE:
@waaaok I think adding this line to extra_model_paths.yaml should work:
facerestore_models: models\path_to_face_restore_models where path_to_face_restore_models points to a1111 face restore models folder.

@SameetAsadullah thx for your reply. as @SameetAsadullah said, i want to avoid copying models to comfyui,keep them in a111 files