Commit History

  1. Fix: expand mask to 3 channels before Laplacian pyramid to prevent shape broadcast error Running

    abd882e
  2. Feature: Laplacian pyramid edge blending + progress bars for image swap

    b3255f0
  3. Fix: remove duplicate swap() and dead _pose/_get_landmarks code from body_swap.py

    e11e479
  4. Fix flickering: detect faces every frame, no per-frame enhancement in video

    47c8f24
  5. Fix video glitches: OpenCV-only enhance for video, even dimensions for XVID, softer unsharp

    1c23235
  6. Enhance: CodeFormer ONNX + ESPCN SR + u2net_human_seg + CRF18 unsharp video

    4a9cb39
  7. Fix: instant resume via FFmpeg seek, no motion blur in fast mode (write original frame)

    de1deba
  8. Fix: disable fast-mode frame skip for body swap (causes ghosting)

    846860f
  9. Fix: XVID/AVI intermediate fixes zero-duration output, pix_fmt yuv420p for compatibility, FFmpeg error logging

    7f39f97
  10. Feature: resume from frame, partial output on interruption, audio sync on resume

    a5190e9
  11. Perf: ONNX multi-thread, 320px det_size for video, fast-mode frame skip UI

    937ca9c
  12. Perf: source face detected once, target faces cached every 5 frames, 720p video processing

    6faf48e
  13. Quality: increase output resolution to 2048px, Lanczos upscale, adaptive unsharp mask

    d5e1b6d
  14. Fix: handle RGBA/palette images, surface errors in status box

    a068458
  15. Fix: use 'is not None' for Progress check (Gradio 5 __len__ bug)

    b55f13c
  16. Increase video frame limit from 300 to 600 frames

    a0f50d6
  17. Fix: remove MediaPipe (API broken on Py3.13), add OpenCV face enhancement

    13dd92a
  18. Fix: use public mirror for inswapper model (gated HF repo fallback)

    79d56d4
  19. Fix: upgrade gradio to 5.25.0 (compatible with latest huggingface_hub)

    cddf7b4
  20. Fix: disable SSR and API, pin gradio==5.6.0

    2eef547
  21. Fix: remove type hints from callbacks to fix gradio_client schema bug

    80d0f2c
  22. Fix: upgrade to Gradio 5 (Python 3.13 compatible), replace TabItem with Tab

    fd32b5e
  23. Fix build: remove basicsr/gfpgan (Python 3.13 incompatible), use onnxruntime CPU

    3373714
  24. Fix: pin Python 3.11 to resolve basicsr/Python 3.13 incompatibility

    e5da9d1
  25. Remove ZeroGPU - switch to free CPU deployment

    cc03616
  26. Add .gitignore

    77fcc49
  27. Initial commit: Face & Body Swapper

    acb9f1e