Commit History
fix: correct invert_mask logic - RGB masks already have white=remove, only invert if invert_mask=False explicitly requested
0e28031
fix: preserve image quality by limiting resize to 3000px, add output verification, improve debug logging
8c6db4d
fix: handle RGB masks correctly - use RGB channels when alpha is all 255, so white pixels become white in mask
2b0f7aa
refactor: use exact reference model implementation from aryadytm/remove-photo-object - simple 255-alpha inversion
d670035
fix: improve image quality with LANCZOS4 interpolation, better mask validation, and high-quality PNG output
89c8105
fix: match reference model exactly - use simple 255-alpha inversion like aryadytm/remove-photo-object
ed7d157
fix: add debug logs for mask processing; verify output changes to diagnose removal issues
c96c733
fix: simplify mask processing to match reference model - direct white=remove detection
8a0a72a
fix(mask): improve mask detection - handle RGB paint directly, detect magenta and white areas; match reference model behavior
0964a65
fix(mask): ensure proper mask interpretation - selected areas are removed; add detailed logging
20727d7
fix(mask): improve mask loading to match standard convention (white=remove); add debug logs
e7611db
feat: invert-mask option in UI and core; add docs (no secrets)
fad49fa
Enable GPU auto-selection (CUDA if available) with DEVICE override; load TorchScript model on selected device. Reference: https://huggingface.co/spaces/LogicGoInfotechSpaces/Hair_stable_new/tree/main
8d575db
Initial commit
3fdea04
Lodor
commited on