mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
enhance_faces.py relied on implicit PyTorch auto-detection for both GFPGAN and CodeFormer, bypassing the centralized gpu.py module. inpaint.py queried ort.get_available_providers() directly, which reports compiled-in backends rather than actual hardware. Both tools now go through gpu.py so STIRLING_GPU=false correctly forces CPU across every AI tool. Co-authored-by: stirling-image <stirling-image@users.noreply.github.com>