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

yahoo-inc
/
photo-background-generation

Text-to-Image
Diffusers
Safetensors
StableDiffusionControlNetInpaintPipeline
yahoo-open-source-software-incubator
Model card Files Files and versions
xet
Community
3

Instructions to use yahoo-inc/photo-background-generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use yahoo-inc/photo-background-generation with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("yahoo-inc/photo-background-generation", 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
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
photo-background-generation
13.2 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 22 commits
erfan-yahoo's picture
erfan-yahoo
Update README.md
719f1ac verified about 2 years ago
  • assets
    Upload folder using huggingface_hub about 2 years ago
  • controlnet
    Upload 16 files about 2 years ago
  • feature_extractor
    diffusers pipeline about 2 years ago
  • scheduler
    diffusers pipeline about 2 years ago
  • text_encoder
    Upload 16 files about 2 years ago
  • tokenizer
    Upload 16 files about 2 years ago
  • unet
    Upload 16 files about 2 years ago
  • vae
    Upload 16 files about 2 years ago
  • .gitattributes
    582 Bytes
    Upload 16 files about 2 years ago
  • Code_of_Conduct.md
    7.38 kB
    Upload folder using huggingface_hub about 2 years ago
  • LICENSE
    11.4 kB
    Upload folder using huggingface_hub about 2 years ago
  • README.md
    3.86 kB
    Update README.md about 2 years ago
  • model_index.json
    692 Bytes
    Upload 16 files about 2 years ago
  • pipeline.py
    67 kB
    Upload pipeline.py about 2 years ago
  • requirements.txt
    192 Bytes
    Upload folder using huggingface_hub about 2 years ago