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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

hnpinq
/
BF_TryOn

Diffusers
Safetensors
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use hnpinq/BF_TryOn with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("hnpinq/BF_TryOn", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
BF_TryOn
40.7 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 28 commits
hnpinq's picture
hnpinq
Update test_flux.py
0125d29 verified 12 months ago
  • flux_models
    Upload folder using huggingface_hub 12 months ago
  • images
    Upload folder using huggingface_hub 12 months ago
  • src
    Upload folder using huggingface_hub 12 months ago
  • .gitattributes
    2.24 kB
    Upload folder using huggingface_hub 12 months ago
  • test_4bit.py
    14.8 kB
    Update test_4bit.py 12 months ago
  • test_flux.py
    3.72 kB
    Update test_flux.py 12 months ago
  • test_pruna_2.py
    15.7 kB
    Update test_pruna_2.py 12 months ago