Instructions to use tanzim1/WSJ-Hedcut with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tanzim1/WSJ-Hedcut 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("tanzim1/WSJ-Hedcut") prompt = "WSJ Portrait, a black and white drawing of a bill gates. <lora:wsj-portrait:1>" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
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("tanzim1/WSJ-Hedcut")
prompt = "WSJ Portrait, a black and white drawing of a bill gates. <lora:wsj-portrait:1>"
image = pipe(prompt).images[0]WSJ Hedcut

- Prompt
- WSJ Portrait, a black and white drawing of a bill gates. <lora:wsj-portrait:1>

- Prompt
- WSJ Portrait, a black and white drawing of a Jack ma wearing a suit and tie <lora:wsj-portrait:1>

- Prompt
- WSJ Portrait, a black and white drawing of a Elon Musk wearing a suit and tie <lora:wsj-portrait:1>

- Prompt
- WSJ Portrait, a black and white drawing of a a man with a bald head <lora:wsj-portrait:1>

- Prompt
- WSJ Portrait, a black and white drawing of a President Donald Trump wearing a suit and tie <lora:wsj-portrait:1>

- Prompt
- WSJ Portrait, a black and white drawing of a bill gates. <lora:wsj-portrait:1>
Model description
The "WSJ headcut" refers to a distinctive illustration style used by The Wall Street Journal (WSJ) to portray individuals, particularly in their editorial sections. These portraits, called "hedcuts," are black-and-white, stipple-style drawings created using dots and dashes to mimic the look of traditional woodcut engravings. The WSJ headcuts have become iconic since they first appeared in 1979. The stippling technique adds texture and depth, giving the portraits a unique, timeless quality. They are often used in place of photographs to highlight notable figures in the news, including business executives, political leaders, and cultural icons.
For best optimized results use Webui-Forge Model : flux1-dev-bnb-nf4-v2.safetensors https://huggingface.co/lllyasviel/flux1-dev-bnb-nf4/blob/main/flux1-dev-bnb-nf4-v2.safetensors
Chose Diffusion in Low Bits >> bnb-nf4 (fp16 LoRA)
Trigger words
'WSJ Portrait, a black and white drawing of a'
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
- Downloads last month
- 30
Model tree for tanzim1/WSJ-Hedcut
Base model
black-forest-labs/FLUX.1-dev