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

strangerzonehf
/
Flux-Sketch-Light-LoRA

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

Instructions to use strangerzonehf/Flux-Sketch-Light-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use strangerzonehf/Flux-Sketch-Light-LoRA 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("strangerzonehf/Flux-Sketch-Light-LoRA")
    
    prompt = "Sketch Light, A black and white drawing of a mans face. The man has a black face mask covering his mouth. His eyes are black and he has blonde hair. His eyebrows are black. His mouth is covered with a black mask. The mask has a red line coming from the left side of the mask. He is wearing a black sweater over his neck. The background is a grayish gray."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
Flux-Sketch-Light-LoRA
618 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
prithivMLmods's picture
prithivMLmods
Update README.md
d37e7a6 verified over 1 year ago
  • images
    Delete images/4cf448b491d0700760527abb3480720e.jpg over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • README.md
    4.17 kB
    Update README.md over 1 year ago
  • Sketch-Light.safetensors
    613 MB
    xet
    Add 2 files over 1 year ago