Commit History
Update src/core.py 352b21c verified
Update src/core.py a669b2e verified
Update src/core.py 961280b verified
Update src/core.py fc78970 verified
Remove unsupported response_mime_type parameter from Gemini API call 93317dd
Fix Gemini blocked content handling and improve MongoDB status endpoint cd5a36a
Add detailed debugging for Gemini API response parsing 16407bf
Revert to google.generativeai - new google.genai has different API e34b7d2
Fix deprecation warning and MongoDB conflict error 0d2e411
Update src/core.py 499287b verified
new gemini api 861422e
Ensure mask matches resized image size d7d0150
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