Instructions to use HuggingVince/H4n4ged with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use HuggingVince/H4n4ged with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("HuggingVince/H4n4ged") prompt = "an stylistic cartoon of a man dangling from his neck-rope-noose standing on a small wooden stool in the center facing the crowd and facing the viewer in a medieval town square, the man is wearing tattered rags, there is an executioner man standing beside wearing an executioners hood holding a scroll with a list of crimes *Prominent text on the scroll reads:\"being a very naughty boy\".*, in the foreground front is an angry mob of townspeople, his arms are behind his back and his wrists are bound with rope" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!