Spaces:
Running
Running
Commit History
-
Revert this session's changes back to the last known-good version Running
Restores the tree to 4b38f72 exactly. The reported result was worse than the version that was already working, across the swap output, the head swap and the app generally, so the right move is to put the working version back rather than keep patching on top of it. Reverts, newest first: f008eb7 head-swap pose gate + warnings in the UI 0ab4ea6 seam blend against base instead of target b1cd367 workflow PDF + binary .gitattributes rules f25d3bf glasses transfer made opt-in 74dd70d hair matte fix + removal of the crude hair fallback b60d8aa background jobs + Head Swap toggle ddb0022 head-only super-resolution 27e2136 composite onto the full-resolution original 9e549b6 grain confined to the parsed head bb3e953 Control Panel sign-in inside the Hugging Face iframe e522792 Flask debug off by default + threaded pre-warm 27bac33 scene-harmonisation regressions Nothing is lost: each of the above is still in history and can be cherry-picked back individually o…f4e824d
-
Keep the original photo's background instead of downscaling and interpolating it
The pipeline resizes the target to the working resolution (1024 on CPU) so the models stay affordable, then upscales the whole frame 4x for the download. For a 1086x1448 location photo that means everything — including the background and body, which the swap never touches — is halved in detail and then interpolated back up. The result is now composited back onto the untouched full-resolution target, pasting only the region the pipeline actually changed. The mask comes from a diff against the working-resolution target rather than a parsed head shape, so changes outside the head are carried over too: match_skin_to_source also recolours neck, arms and hands, and a head-only mask would silently drop that. Measured end-to-end on the Library target, in regions the swap never touches: background sharpness goes from ~34% of the original to 100% (bottom edge 97.6%), and the delivered image is now 1086x1448 native rather than 768x1024, so the 4x download is 4344x5792 instead of 3072x4096. No s…27e2136
-
Initial commit: DeepFace Studio - AI face swap web application
Features: - React + Vite frontend with Firebase Google authentication - 10-day session persistence - Flask backend with face swap pipeline - InsightFace inswapper deep swap model - Hair-to-neck seamless blending - Skin tone matching (CIE LAB) - Laplacian + Poisson blending - Live camera capture + image upload - Quality metrics dashboard - Responsive UI with olive/green color palette - GPU + CPU support (auto-detected)e7a5a81