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

petrznel
/
plastic_can

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

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

  • Libraries
  • Diffusers

    How to use petrznel/plastic_can 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("petrznel/plastic_can")
    
    prompt = "A plastic can containing supplements perched on a rocky cliff edge during sunrise, with dramatic light reflecting off its metallic surface and a distant runner preparing for a trail adventure."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
plastic_can
494 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
petrznel's picture
petrznel
Rename lora_plastic_can_reg.safetensors to lora_plastic_can_reg.safetensors.lycoris
d78c69e verified about 1 year ago
  • images
    Add 2 files over 1 year ago
  • .gitattributes
    2.45 kB
    Rename lora_plastic_can_reg.safetensors to lora_plastic_can_reg.safetensors.lycoris about 1 year ago
  • 1.png
    2.45 MB
    xet
    Upload 1.png over 1 year ago
  • README.md
    611 Bytes
    initial commit over 1 year ago
  • d4.png
    1.76 MB
    xet
    Upload d4.png over 1 year ago
  • depth_map.png
    67.1 kB
    xet
    Upload 2 files over 1 year ago
  • edges.png
    5.37 kB
    xet
    Upload 2 files over 1 year ago
  • lora_plastic_can_reg.safetensors.lycoris
    437 MB
    xet
    Rename lora_plastic_can_reg.safetensors to lora_plastic_can_reg.safetensors.lycoris about 1 year ago
  • plastic_can_lora.safetensors
    52.4 MB
    xet
    Rename plastic_can_lora.safetensors.old to plastic_can_lora.safetensors about 1 year ago
  • transparent_bg.png
    146 kB
    xet
    Upload transparent_bg.png over 1 year ago