From 6f1b4fd756996f2f3bc9543389f932575a5922cf Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Fri, 26 Jan 2024 18:59:34 +0800 Subject: [PATCH] Update config.py --- config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.py b/config.py index a95daf9..97369e7 100644 --- a/config.py +++ b/config.py @@ -40,8 +40,7 @@ if ( ): is_half=False -if(is_half==False and infer_device=="cuda"):infer_device="cpu" - +if(infer_device=="cpu"):is_half=False class Config: def __init__(self):