Instructions to use Weexe/handdrawn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Weexe/handdrawn 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("Weexe/handdrawn") prompt = "UNICODE\u0000\u0000s\u0000h\u0000o\u0000u\u0000h\u0000u\u0000i\u0000_\u0000s\u0000t\u0000y\u0000l\u0000e\u0000,\u0000 \u0000t\u0000h\u0000i\u0000s\u0000 \u0000i\u0000s\u0000 \u0000a\u0000 \u0000s\u0000t\u0000y\u0000l\u0000e\u0000 \u0000i\u0000l\u0000l\u0000u\u0000s\u0000t\u0000r\u0000a\u0000t\u0000i\u0000o\u0000n\u0000 \u0000f\u0000u\u0000l\u0000l\u0000 \u0000o\u0000f\u0000 \u0000e\u0000n\u0000e\u0000r\u0000g\u0000y\u0000 \u0000a\u0000n\u0000d\u0000 \u0000c\u0000o\u0000l\u0000o\u0000r\u0000,\u0000 \u0000A\u0000n\u0000 \u0000e\u0000l\u0000d\u0000e\u0000r\u0000l\u0000y\u0000 \u0000w\u0000o\u0000m\u0000a\u0000n\u0000 \u0000s\u0000i\u0000t\u0000s\u0000 \u0000a\u0000t\u0000 \u0000a\u0000 \u0000h\u0000u\u0000m\u0000b\u0000l\u0000e\u0000 \u0000c\u0000o\u0000r\u0000n\u0000e\u0000r\u0000 \u0000s\u0000t\u0000o\u0000r\u0000e\u0000 \u0000a\u0000l\u0000o\u0000n\u0000g\u0000 \u0000s\u0000t\u0000o\u0000n\u0000e\u0000 \u0000s\u0000t\u0000e\u0000p\u0000s\u0000,\u0000 \u0000t\u0000r\u0000a\u0000d\u0000i\u0000t\u0000i\u0000o\u0000n\u0000a\u0000l\u0000 \u0000w\u0000o\u0000o\u0000d\u0000e\u0000n\u0000 \u0000s\u0000t\u0000o\u0000r\u0000e\u0000f\u0000r\u0000o\u0000n\u0000t\u0000,\u0000 \u0000f\u0000l\u0000u\u0000o\u0000r\u0000e\u0000s\u0000c\u0000e\u0000n\u0000t\u0000 \u0000l\u0000i\u0000g\u0000h\u0000t\u0000s\u0000 \u0000c\u0000a\u0000s\u0000t\u0000i\u0000n\u0000g\u0000 \u0000w\u0000a\u0000r\u0000m\u0000 \u0000g\u0000l\u0000o\u0000w\u0000.\u0000 \u0000M\u0000e\u0000t\u0000a\u0000l\u0000 \u0000s\u0000h\u0000e\u0000l\u0000v\u0000e\u0000s\u0000 \u0000d\u0000i\u0000s\u0000p\u0000l\u0000a\u0000y\u0000 \u0000d\u0000r\u0000i\u0000n\u0000k\u0000s\u0000,\u0000 \u0000c\u0000i\u0000g\u0000a\u0000r\u0000e\u0000t\u0000t\u0000e\u0000s\u0000.\u0000 \u0000Y\u0000o\u0000u\u0000n\u0000g\u0000 \u0000p\u0000e\u0000r\u0000s\u0000o\u0000n\u0000 \u0000r\u0000e\u0000s\u0000t\u0000s\u0000 \u0000o\u0000n\u0000 \u0000p\u0000l\u0000a\u0000s\u0000t\u0000i\u0000c\u0000 \u0000s\u0000t\u0000o\u0000o\u0000l\u0000,\u0000 \u0000o\u0000f\u0000f\u0000e\u0000r\u0000i\u0000n\u0000g\u0000 \u0000c\u0000r\u0000u\u0000m\u0000p\u0000l\u0000e\u0000d\u0000 \u0000b\u0000i\u0000l\u0000l\u0000.\u0000 \u0000C\u0000h\u0000i\u0000l\u0000l\u0000e\u0000d\u0000 \u0000w\u0000a\u0000t\u0000e\u0000r\u0000 \u0000b\u0000o\u0000t\u0000t\u0000l\u0000e\u0000 \u0000g\u0000l\u0000i\u0000s\u0000t\u0000e\u0000n\u0000s\u0000 \u0000w\u0000i\u0000t\u0000h\u0000 \u0000c\u0000o\u0000n\u0000d\u0000e\u0000n\u0000s\u0000a\u0000t\u0000i\u0000o\u0000n\u0000.\u0000 \u0000E\u0000v\u0000e\u0000n\u0000i\u0000n\u0000g\u0000 \u0000l\u0000i\u0000g\u0000h\u0000t\u0000 \u0000f\u0000i\u0000l\u0000t\u0000e\u0000r\u0000s\u0000 \u0000t\u0000h\u0000r\u0000o\u0000u\u0000g\u0000h\u0000 \u0000w\u0000i\u0000n\u0000d\u0000o\u0000w\u0000.\u0000 \u0000I\u0000n\u0000t\u0000i\u0000m\u0000a\u0000t\u0000e\u0000 \u0000c\u0000l\u0000o\u0000s\u0000e\u0000-\u0000u\u0000p\u0000 \u0000s\u0000h\u0000o\u0000t\u0000,\u0000 \u0000f\u0000o\u0000c\u0000u\u0000s\u0000 \u0000o\u0000n\u0000 \u0000g\u0000e\u0000n\u0000t\u0000l\u0000e\u0000 \u0000i\u0000n\u0000t\u0000e\u0000r\u0000a\u0000c\u0000t\u0000i\u0000o\u0000n\u0000.\u0000" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from Weexe/handdrawn: direct link, hf CLI and curl.
- Browser
- Download file 2.01 kB
-
https://huggingface.co/Weexe/handdrawn/resolve/main/README.md
- Command line
-
hf download hf://Weexe/handdrawn/README.md
-
curl -L -o README.md https://huggingface.co/Weexe/handdrawn/resolve/main/README.md
2.01 kB
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - text: "UNICODE\0\0s\0h\0o\0u\0h\0u\0i\0_\0s\0t\0y\0l\0e\0,\0 \0t\0h\0i\0s\0 \0i\0s\0 \0a\0 \0s\0t\0y\0l\0e\0 \0i\0l\0l\0u\0s\0t\0r\0a\0t\0i\0o\0n\0 \0f\0u\0l\0l\0 \0o\0f\0 \0e\0n\0e\0r\0g\0y\0 \0a\0n\0d\0 \0c\0o\0l\0o\0r\0,\0 \0A\0n\0 \0e\0l\0d\0e\0r\0l\0y\0 \0w\0o\0m\0a\0n\0 \0s\0i\0t\0s\0 \0a\0t\0 \0a\0 \0h\0u\0m\0b\0l\0e\0 \0c\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0.\0" | |
| output: | |
| url: images/Q7HXFZCXTSE30BBCH2476PMK90.jpeg | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: shouhui_style, this is a style illustration full of energy and color | |
| # handdrawn | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `shouhui_style` to trigger the image generation. | |
| You should use `this is a style illustration full of energy and color` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/Weexe/handdrawn/tree/main) them in the Files & versions tab. | |