Instructions to use cocktailpeanut/canny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use cocktailpeanut/canny with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("cocktailpeanut/canny") prompt = "canny style image of a kitten" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from cocktailpeanut/canny: direct link, hf CLI and curl.
- Browser
- Download file 775 Bytes
-
https://huggingface.co/cocktailpeanut/canny/resolve/main/README.md
- Command line
-
hf download hf://cocktailpeanut/canny/README.md
-
curl -L -o README.md https://huggingface.co/cocktailpeanut/canny/resolve/main/README.md
775 Bytes
metadata
tags:
- text-to-image
- flux
- lora
- diffusers
- template:sd-lora
- fluxgym
widget:
- output:
url: sample/canny_001800_01_20240918182421.png
text: canny style image of a kitten
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: canny style
license: other
license_name: flux-1-dev-non-commercial-license
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
canny
A Flux LoRA trained on a local computer with Fluxgym

- Prompt
- canny style image of a kitten
Trigger words
You should use canny style to trigger the image generation.
Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
Weights for this model are available in Safetensors format.