From 97e3479b07155b37785547a04076619ce74285c1 Mon Sep 17 00:00:00 2001 From: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com> Date: Wed, 21 Feb 2024 13:24:16 +0000 Subject: [PATCH] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index eaf292f..1f74128 100644 --- a/config.py +++ b/config.py @@ -6,7 +6,7 @@ import torch sovits_path = "" gpt_path = "" is_half_str = os.environ.get("is_half", "True") -is_half = True if is_half_str.lower() == 'true' and not torch.backends.mps.is_available() else False +is_half = True if is_half_str.lower() == 'true' else False is_share_str = os.environ.get("is_share","False") is_share= True if is_share_str.lower() == 'true' else False