Commit History

docs: update /remove-pink endpoint docstring - clarify no black paint needed
fcb28c1

LogicGoInfotechSpaces commited on

fix(api): remove black paint detection - just auto-detect pink segments, everything else kept automatically
87c6da8

LogicGoInfotechSpaces commited on

feat(api): add /remove-pink endpoint - simple one-parameter endpoint that auto-detects pink segments and removes them
91da7a0

LogicGoInfotechSpaces commited on

feat(api): improve pink/magenta auto-detection with tolerance - automatically segment pink as white (remove), rest as black (keep)
437b94f

LogicGoInfotechSpaces commited on

fix: simplify mask processing to match reference model - direct white=remove detection
8a0a72a

LogicGoInfotechSpaces commited on

feat(api): auto-convert painted images to black/white masks (white=remove, black=keep) for better compatibility
f854294

LogicGoInfotechSpaces commited on

fix(mask): improve mask detection - handle RGB paint directly, detect magenta and white areas; match reference model behavior
0964a65

LogicGoInfotechSpaces commited on

feat(api): improve painted mask detection - detect magenta (255,0,255) and other paint colors; better logging
dac0915

LogicGoInfotechSpaces commited on

fix(mask): ensure proper mask interpretation - selected areas are removed; add detailed logging
20727d7

LogicGoInfotechSpaces commited on

fix(mask): improve mask loading to match standard convention (white=remove); add debug logs
e7611db

LogicGoInfotechSpaces commited on

feat(api): add passthrough flag to return original image unchanged for /inpaint and /inpaint-multipart
5452c3d

LogicGoInfotechSpaces commited on

feat(api): robust painted mask detection; fallback to dark-threshold when diff empty; add logs
fc3f561

LogicGoInfotechSpaces commited on

feat(api): allow painted-on mask via mask_is_painted flag (auto-diff + Otsu threshold)
2eaee03

LogicGoInfotechSpaces commited on

feat(api): support invert_mask flag for /inpaint and /inpaint-multipart (selected area removed by default)
7f02de5

LogicGoInfotechSpaces commited on

feat: invert-mask option in UI and core; add docs (no secrets)
fad49fa

LogicGoInfotechSpaces commited on

fix: change SDK from docker to streamlit to match app.py
57fa8fb

LogicGoInfotechSpaces commited on

feat(api): simplify /inpaint response to return only filename; update docs
37fb070

LogicGoInfotechSpaces commited on

feat(api): add /inpaint-url endpoint returning public download URL; docs updated
174828e

LogicGoInfotechSpaces commited on

feat(download): make /download public; docs: add HTTP_API_Documentation.txt
ff3e3e4

LogicGoInfotechSpaces commited on

feat(api): return image directly from /inpaint; docs: mark download optional for ID-based flow
1c42249

LogicGoInfotechSpaces commited on

API: add root endpoint with routes overview to avoid 404 at /
0dd809a

LogicGoInfotechSpaces commited on

API: write under /data; Dockerfile precreates /data/uploads and /data/outputs with perms
e880bba

LogicGoInfotechSpaces commited on

Spaces: switch to Docker SDK and serve FastAPI via uvicorn
ca564e8

LogicGoInfotechSpaces commited on

API: implement inpainting endpoints (upload image/mask, inpaint, download, logs); optional Bearer via API_TOKEN
f7573cd

LogicGoInfotechSpaces commited on

API: add FastAPI endpoints for Hair Swap flow; deps updated
ae10bc2

LogicGoInfotechSpaces commited on

Fix canvas error: pin streamlit==1.24.1 and align sdk_version
0fc8432

LogicGoInfotechSpaces commited on

Spaces: set hardware cpu-basic for Streamlit (avoid ZeroGPU)
39cf56a

LogicGoInfotechSpaces commited on

Spaces: quote sdk_version and remove python_version to ensure Streamlit runner
995c20f

LogicGoInfotechSpaces commited on

Streamlit: initialize UI at module import for HF Spaces
c98ba13

LogicGoInfotechSpaces commited on

Spaces: remove Dockerfile, guard Streamlit execution to avoid bare-mode
fc79b68

LogicGoInfotechSpaces commited on

Spaces config: set hardware to cpu-basic for Streamlit
fc8aac9

LogicGoInfotechSpaces commited on

Fix upload flow indentation; show prompt when no image uploaded
0801672

LogicGoInfotechSpaces commited on

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

LogicGoInfotechSpaces commited on

deps: pin gradio==5.47.0 and replace scikit-learn with scipy>=1.14.1
65fdeb0

LogicGoInfotechSpaces commited on

Switch Space to Gradio UI: add Gradio app, update README and requirements
e670614

LogicGoInfotechSpaces commited on

Resolve merge conflicts: unify .gitattributes and README for Streamlit Space
c31dd29

LogicGoInfotechSpaces commited on

Update app.py
d0dc890

aryadytm commited on