mirror of
https://github.com/hacksider/Deep-Live-Cam.git
synced 2026-04-23 01:26:17 +02:00
f95a0bb7fb
Addresses Sourcery feedback on PR #1776: _get_soft_alpha caches a single NxN template keyed by N, which is correct for the inswapper model (128x128 aligned-face space) but would silently mis-warp if a caller ever passed a non-square aligned face. Assert the shape instead of silently assuming it.