Instructions to use LiuZichen/MagicQuill-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LiuZichen/MagicQuill-models with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("LiuZichen/MagicQuill-models", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
I am trying to load MagicQuill-Node into ComfyUI Desktop-Version - without success
#9
by DerBobby - opened
Hi,
already a month ago, I have given up on installing the standalone, (tried various YT-tutorials), but couldn`t get it right.
Now for 2 days I am trying to install MagicQuill as a node into ComfyUI.
Downloaded all models and files one by one and have put them into the according folders.
Then when trying to load the node using the manager
I get this error-message:
Error message occurred while importing the 'ComfyUI_MagicQuill' module:
Traceback (most recent call last):
File "C:\Users\bobby\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 2112, in load_custom_node
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "F:\Generierende KIs\ComfyUI-Desktop\ComfyUI\custom_nodes\ComfyUI_MagicQuill\__init__.py", line 20, in <module>
from .magic_quill import MagicQuill
File "F:\Generierende KIs\ComfyUI-Desktop\ComfyUI\custom_nodes\ComfyUI_MagicQuill\magic_quill.py", line 14, in <module>
from .scribble_color_edit import ScribbleColorEditModel
File "F:\Generierende KIs\ComfyUI-Desktop\ComfyUI\custom_nodes\ComfyUI_MagicQuill\scribble_color_edit.py", line 18, in <module>
from nodes_mask import GrowMask
ModuleNotFoundError: No module named 'nodes_mask'
This comment has been hidden (marked as Off-Topic)
This comment has been hidden (marked as Resolved)