mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 04:22:46 +08:00
修复多余的注释导致的bug (#2158)
This commit is contained in:
parent
271db6a4de
commit
165882d64f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user