Commit History

  1. fix: raise crop context padding floor from 64px to 200px for small objects⁠ Running

    nmdbbb
    1bf6198
  2. fix: drop the mask edge-noise hack now that PowerPaint is the default backend⁠

    nmdbbb
    47b6e60
  3. fix: downscale PowerPaint's working resolution to 640px longer edge, matching its reference behavior⁠

    nmdbbb
    3d7f081
  4. fix: run PowerPaint pipeline in float32 to avoid SD1.5 VAE fp16 NaN instability⁠

    nmdbbb
    cf25452

  1. feat: switch to PowerPaint (BrushNet) for object removal - the actually right tool for the job⁠

    nmdbbb
    b0c4bef
  2. feat: switch cloud inpainting from SD1.5 to SDXL for better quality⁠

    nmdbbb
    beb409d
  3. fix: cap mask growth well below the crop padding to avoid starving the model of real background⁠

    nmdbbb
    f819569
  4. feat: pad SAM2's returned mask by a few pixels so it comfortably covers the object⁠

    nmdbbb
    df402fb
  5. feat: bias the model mask toward a rectangle, with much larger ragged extension⁠

    nmdbbb
    aedcd9b
  6. feat: give the mask a ragged, brush-stroke-like edge instead of a uniformly larger silhouette⁠

    nmdbbb
    eb4846c
  7. fix: dilate mask before handing it to the inpainting model⁠

    nmdbbb
    403a0e6
  8. fix: disable SD safety checker - it false-positived on abstract/low-detail masked patches and blacked out results⁠

    nmdbbb
    8874026
  9. feat: add prompt/negative_prompt to guide SD inpainting toward plausible background fill⁠

    nmdbbb
    914c5d6
  10. fix: sync inpainting.py/model_loader.py with main repo - deploy real StableDiffusionInpainter⁠

    nmdbbb
    0fb4a38
  11. fix: recompute SAM2 embedding inside decode() instead of caching a CUDA tensor across requests⁠

    nmdbbb
    8dc9082
  12. fix: disable SSR mode so custom FastAPI routes aren't swallowed by the SSR proxy middleware⁠

    nmdbbb
    97de0c1
  13. fix: use demo.launch() instead of mount_gradio_app so ZeroGPU's startup handshake fires⁠

    nmdbbb
    e878160
  14. Pass @spaces.GPU function directly as gr.Interface fn=

    nmdbbb
    5eb8f74
  15. Wire hidden Gradio callback for ZeroGPU detection, switch to SD backend

    nmdbbb
    39baaf1
  16. Use real @spaces.GPU decorators on module-level functions

    nmdbbb
    13a9292
  17. Defer SAM2/LaMa construction to first real GPU-decorated call

    nmdbbb
    37fcc27
  18. Import spaces before gradio for ZeroGPU CUDA emulation

    nmdbbb
    27db35e
  19. Build SAM2/LaMa on CPU, move to GPU lazily for ZeroGPU compatibility

    nmdbbb
    4bc6028
  20. Fix SAM2/LaMa model loading to match real library APIs

    nmdbbb
    523a925
  21. Deploy object removal API (SAM2 + LaMa on ZeroGPU)

    nmdbbb
    ea2b072