wangzhibo
2025-07-30 203e571aba6b93b58801857df04e90a785ce365c
auto_media_publisher/modifiers/face_swap/face_enhancer.py
File was renamed from auto_media_publisher/utils/face_swap/face_enhancer.py
@@ -16,7 +16,6 @@
        self._enhancer = GFPGANer(model_path=FACE_ENHANCER_MODEL_PATH, upscale=1, device=self.device)
    def _select_device(self):
        return 'cpu'
        if torch.cuda.is_available():
            return 'cuda'
        elif torch.backends.mps.is_available():