Update config.py

This commit is contained in:
RVC-Boss 2024-01-26 18:59:34 +08:00 committed by GitHub
parent 8651717a51
commit 6f1b4fd756
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):