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. fix: pin transformers==5.5.4 to eliminate version drift causing CLIPTextModel structure mismatch⁠

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

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

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

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

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

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

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

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

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

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

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

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

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

    nmdbbb
    e878160
  15. Drop huggingface_hub<0.26 pin now that gradio is 5.49.1

    nmdbbb
    79a1b19
  16. Bump gradio sdk_version to 5.49.1 (past the ZeroGPU+FastAPI fix)

    nmdbbb
    946feb4
  17. Pass @spaces.GPU function directly as gr.Interface fn=

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

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

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

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

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

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

    nmdbbb
    523a925
  24. Pin huggingface_hub<0.26 to keep HfFolder for gradio's oauth module

    nmdbbb
    f6bf955
  25. Drop gradio from requirements.txt (Space-managed via sdk_version)

    nmdbbb
    e1718fa
  26. Deploy object removal API (SAM2 + LaMa on ZeroGPU)

    nmdbbb
    ea2b072
  27. initial commit

    Verified signature
    04d72ab