mirror of
https://github.com/hacksider/Deep-Live-Cam.git
synced 2025-12-07 12:03:02 +01:00
Update codes following the comments of @sourcery-ai.
Signed-off-by: Vic P <vic4key@gmail.com>
This commit is contained in:
@@ -6,6 +6,7 @@ from modules.typing import Frame
|
||||
|
||||
MAX_PROBABILITY = 0.85
|
||||
|
||||
# Preload the model once for efficiency
|
||||
model = None
|
||||
|
||||
def predict_frame(target_frame: Frame) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user