Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

glif
/
how2draw

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

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

  • Libraries
  • Diffusers

    How to use glif/how2draw 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("glif/how2draw")
    
    prompt = "an owl, How3Draw"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
how2draw
452 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
alvdansen's picture
alvdansen
Add 7 files
485c751 verified over 1 year ago
  • images
    Add 7 files over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • How2Draw-V2_000002800.safetensors
    451 MB
    xet
    Add 7 files over 1 year ago
  • README.md
    2.39 kB
    initial commit over 1 year ago