From 8dbbaf0bdb738b17b7a6907ae02f565c148770a2 Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Sun, 4 Jun 2023 14:13:08 +0530 Subject: [PATCH] clean pre_check --- roop/core.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/roop/core.py b/roop/core.py index 1e56943..09f0b0f 100755 --- a/roop/core.py +++ b/roop/core.py @@ -97,10 +97,6 @@ def pre_check(): quit(f"CUDNN version {CUDNN_VERSION} is not supported - please upgrade to 8.9.1") if CUDNN_VERSION > 8910: quit(f"CUDNN version {CUDNN_VERSION} is not supported - please downgrade to 8.9.1") - else: - for provider in ['CUDAExecutionProvider', 'TensorrtExecutionProvider']: - if provider in roop.globals.providers: - roop.globals.providers = roop.globals.providers.remove(provider) def get_video_frame(video_path, frame_number = 1):