mirror of
https://github.com/hacksider/Deep-Live-Cam.git
synced 2025-05-11 18:36:36 +02:00
Update codes following the comments of @sourcery-ai.
Signed-off-by: Vic P <vic4key@gmail.com>
This commit is contained in:
parent
7313a332c8
commit
6d28a52869
3 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue