pydn / ComfyUI-to-Python-Extension

A powerful tool that translates ComfyUI workflows into executable Python code.
MIT License
842 stars 87 forks source link

Added a function to load the directories in the optional file: extra_model_paths.yaml #9

Closed dimtoneff closed 10 months ago

dimtoneff commented 10 months ago
dimtoneff commented 10 months ago

extra_model_paths.yaml found: J:\SD\ComfyUI\ComfyUI\extra_model_paths.yaml Adding extra search path checkpoints J:\SD\stable-diffusion-webui\models/Stable-diffusion Adding extra search path configs J:\SD\stable-diffusion-webui\models/Stable-diffusion Adding extra search path vae J:\SD\stable-diffusion-webui\models/VAE Adding extra search path loras J:\SD\stable-diffusion-webui\models/Lora Adding extra search path upscale_models J:\SD\stable-diffusion-webui\models/ESRGAN Adding extra search path upscale_models J:\SD\stable-diffusion-webui\models/SwinIR Adding extra search path embeddings J:\SD\stable-diffusion-webui\embeddings Adding extra search path hypernetworks J:\SD\stable-diffusion-webui\models/hypernetworks Adding extra search path controlnet J:\SD\stable-diffusion-webui\extensions\sd-webui-controlnet\models Adding extra search path loras J:\SD\stable-diffusion-webui\models\LyCORIS Adding extra search path checkpoints R:\SD\Models/Stable-diffusion Adding extra search path checkpoints R:\SD\Models/SDXL Adding extra search path vae R:\SD\Models/SDXL_VAE Adding extra search path loras R:\SD\Models/SDXL_Lora Adding extra search path controlnet R:\SD\Models/SDXL_ControlNet

pydn commented 10 months ago

Thanks for submitting this! I think this is a great addition. Give me a couple days to review, but I think this should definitely be added to the repo.

dimtoneff commented 10 months ago

Hey, it's me again. I cleaned up my code a bit. Please, have a look and change it to fit the repo style if needed, I don't mind (i'm a Python noob.. lol). New code is working great for me now on embedded python Comfy version.

pydn commented 10 months ago

Amazing. Thanks for helping out! I'll review and get it merged soon.