Instructions to use arsibalt/FriendlySketchKrea2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use arsibalt/FriendlySketchKrea2 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("arsibalt/FriendlySketchKrea2") prompt = "An illustrated portrait of a young woman working as a lifeguard at the beach. She has voluminous honey-blonde hair in a loose ponytail and light blue eyes, and she wears a red one-piece lifeguard swimsuit. Our view is partly from the side, and we see her leaning forward on the whitewashed porch rail of a lifeguard station. She is leaning with one forearm flat on the railing, and she rests the elbow of her other arm on the same railing with her chin resting on her palm. Her head is turned to look directly at the viewer with a smile. The beach, stretches away in the blurred background, dotted with beachgoers, beach towels, and colorful umbrellas." 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!