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

prithivMLmods
/
Qwen-Image-Sketch-Smudge

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

Instructions to use prithivMLmods/Qwen-Image-Sketch-Smudge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use prithivMLmods/Qwen-Image-Sketch-Smudge with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("prithivMLmods/Qwen-Image-Sketch-Smudge")
    
    prompt = "Sketch Smudge, A medium-sized sketch of a womans face is depicted on a stark white background. The womans head is facing the left side of the frame, her hair cascading over her shoulders. Her eyes are squinted and her lips are pursed. She is wearing a short-sleeved brown shirt with a collar around her neck. Her hair is a dark brown color, and her bangs are a darker shade of brown. Her eyebrows are a lighter shade of black, and she has a slight smile on her face. There are three blue circles surrounding her head, adding a pop of color to the scene."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Qwen-Image-Sketch-Smudge
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
prithivMLmods's picture
prithivMLmods
Update README.md
0c7544e verified 9 months ago
  • images
    upload examples 9 months ago
  • .gitattributes
    2.31 kB
    initial commit 9 months ago
  • README.md
    3.83 kB
    Update README.md 9 months ago
  • qwen-sketch-smudge.safetensors
    1.18 GB
    xet
    Add 2 files 9 months ago