Instructions to use trucdz04/line_drawing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use trucdz04/line_drawing with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Shakker-Labs/FLUX.1-Kontext-dev-LoRA-Pixel-Style", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("trucdz04/line_drawing") prompt = "-" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - output: | |
| url: >- | |
| images/066b2bfc0ddf80e0c24ad838ac1fad86edab88f6001b46f1bf4f611a0ab878bb.webp | |
| text: '-' | |
| base_model: Shakker-Labs/FLUX.1-Kontext-dev-LoRA-Pixel-Style | |
| instance_prompt: null | |
| license: apache-2.0 | |
| # Line drawing to realistic Chinese style refrigerator magnet | |
| <Gallery /> | |
| ## Download model | |
| [Download](/trucdz04/line_drawing/tree/main) them in the Files & versions tab. | |