diff --git a/GPT_SoVITS/TTS_infer_pack/TTS.py b/GPT_SoVITS/TTS_infer_pack/TTS.py index 420aa77..012cbf8 100644 --- a/GPT_SoVITS/TTS_infer_pack/TTS.py +++ b/GPT_SoVITS/TTS_infer_pack/TTS.py @@ -149,7 +149,7 @@ class TTS_Config: print(f"Warning: CUDA is not available, set device to CPU.") self.device = torch.device("cpu") - # self.is_half = self.configs.get("is_half", False) + self.is_half = self.configs.get("is_half", False) # if str(self.device) == "cpu" and self.is_half: # print(f"Warning: Half precision is not supported on CPU, set is_half to False.") # self.is_half = False