Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

Cierpliwy
/
krea2_lineart_edit

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

Instructions to use Cierpliwy/krea2_lineart_edit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Cierpliwy/krea2_lineart_edit 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-Raw", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Cierpliwy/krea2_lineart_edit")
    
    prompt = "-"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
krea2_lineart_edit
925 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Cierpliwy's picture
Cierpliwy
Update README: trim model list, add demo Space link
0ae0d9f 5 days ago
  • images
    Improve README with usage instructions and add example workflow 6 days ago
  • .gitattributes
    2.31 kB
    initial commit 7 days ago
  • README.md
    2.12 kB
    Update README: trim model list, add demo Space link 5 days ago
  • krea2_lineart_coarse_edit_v1.safetensors
    457 MB
    xet
    Add 3 files 7 days ago
  • krea2_lineart_edit_v1.safetensors
    457 MB
    xet
    Add 3 files 7 days ago
  • lineart_example.json
    11.1 kB
    Improve README with usage instructions and add example workflow 6 days ago