Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

arsibalt
/
FriendlySketchKrea2

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

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
FriendlySketchKrea2
245 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
arsibalt's picture
arsibalt
Update README.md
10ea599 verified about 5 hours ago
  • images
    Add 8 files about 5 hours ago
  • .gitattributes
    2.31 kB
    initial commit about 5 hours ago
  • README.md
    2.44 kB
    Update README.md about 5 hours ago
  • friendlysketch-v2_krea2.safetensors
    229 MB
    xet
    Add 8 files about 5 hours ago