From bbb615e650e4a933333d96b26a82876a0028d7d8 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Thu, 1 Jun 2023 22:31:00 +0200 Subject: [PATCH] Undo probability --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index f94b4dd..6acf785 100755 --- a/run.py +++ b/run.py @@ -199,7 +199,7 @@ def start(): status("swap successful!") return seconds, probabilities = predict_video_frames(video_path=args['target_path'], frame_interval=100) - if any(probability > 0.85 for probability in probabilities): + if any(probability > 0.7 for probability in probabilities): quit() video_name_full = target_path.split("/")[-1] video_name = os.path.splitext(video_name_full)[0]