Loading LoRAs into your Glifs doesn't have to be complicated. This guide covers two straightforward methods: using Hugging Face and CivitAI. Let's dive in.
Loading from Hugging Face
You'll need:
- A public Hugging Face LoRA
Steps
- Find your LoRA on Hugging Face
- Go to your model card
- Make sure the model is public
- Find the safetensors file
- Get the file URL
- Navigate to the safetensors file
- Copy its direct URL
- Set it up in GLIF
- Open GLIF
- Go to ComfyUI setup
- Click "Edit ComfyUI Editor"
- Find the "Load LoRA from URL" node
- Paste your URL
- Connect the node to your workflow
- Run it
That's it for Hugging Face. The LoRA will apply automatically to your generations.
Need an example? Check out this Glif workflow by Mindlyworks.
Loading from CivitAI
You'll need:
- A public CivitAI LoRA
Steps
- In Glif Comfy UI:
- Open Glif
- Click "Edit Comfy"
- Set up the node:
- Find "Load LoRA from URL" in Comfy UI
- Replace existing dependencies if needed
- Get your CivitAI URL:
- Go to your LoRA on CivitAI
- Right-click the download button
- Copy the link address
- Put it together:
- Paste the URL into the node
- Add your trigger words
- Run your workflow
Need an example? Check out this Glif workflow.
Common Issues and Fixes
- URL not working? Double-check you copied it correctly
- ComfyUI error? Verify your nodes are connected appropriately
- Access denied? Make sure your Hugging Face or CivitAI model is public
Tips
- Keep track of your LoRA trigger words and make sure it is being evoked in your Glif
- Check all connections before running
That's all you need to know to get started with LoRAs from both platforms. Happy generating!