Update config.py

This commit is contained in:
RVC-Boss 2023-05-10 13:19:09 +00:00 committed by GitHub
parent 6cc2279fb9
commit c7f6a181a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class Config:
else:
print("没有发现支持的N卡, 使用CPU进行推理")
self.device = "cpu"
self.is_half = True
self.is_half = False
if self.n_cpu == 0:
self.n_cpu = cpu_count()