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

  • Log In
  • Sign Up

fuliucansheng
/
FLUX.1-Canny-dev-diffusers

Text-to-Image
Diffusers
Safetensors
Diffusion Single File
English
FluxControlPipeline
image-generation
flux
Model card Files Files and versions
xet
Community

Instructions to use fuliucansheng/FLUX.1-Canny-dev-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use fuliucansheng/FLUX.1-Canny-dev-diffusers with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("fuliucansheng/FLUX.1-Canny-dev-diffusers", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Diffusion Single File

    How to use fuliucansheng/FLUX.1-Canny-dev-diffusers with Diffusion Single File:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
FLUX.1-Canny-dev-diffusers / tokenizer_2
3.24 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
fuliucansheng's picture
fuliucansheng
add flux canny model
24df2ba over 1 year ago
  • special_tokens_map.json
    2.54 kB
    add flux canny model over 1 year ago
  • spiece.model
    792 kB
    xet
    add flux canny model over 1 year ago
  • tokenizer.json
    2.42 MB
    add flux canny model over 1 year ago
  • tokenizer_config.json
    20.8 kB
    add flux canny model over 1 year ago