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

  • Log In
  • Sign Up

peteromallet
/
Qwen-Image-Edit-InScene

Image-to-Image
Diffusers
image
editing
lora
scene-generation
qwen
Model card Files Files and versions
xet
Community
1

Instructions to use peteromallet/Qwen-Image-Edit-InScene with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use peteromallet/Qwen-Image-Edit-InScene with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("peteromallet/Qwen-Image-Edit-InScene")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
Qwen-Image-Edit-InScene
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
peteromallet's picture
peteromallet
Update README.md
633967b verified 6 months ago
  • .gitattributes
    1.64 kB
    Upload inscene-samples.png 6 months ago
  • InScene-0.7.safetensors
    590 MB
    xet
    Upload InScene-0.7.safetensors 6 months ago
  • InScene-Annotate-0.4.safetensors
    307 MB
    xet
    Upload InScene-Annotate-0.4.safetensors 6 months ago
  • README.md
    4.47 kB
    Update README.md 6 months ago
  • inscene-annotate-samples.png
    6.45 MB
    xet
    Upload inscene-annotate-samples.png 6 months ago
  • inscene-samples.png
    6.06 MB
    xet
    Upload inscene-samples.png 6 months ago
  • workflow.json
    79.7 kB
    Upload workflow.json 6 months ago