mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
Update config.py
精简代码
This commit is contained in:
parent
220367f90c
commit
db40317d9c
@ -19,8 +19,6 @@ exp_root = "logs"
|
|||||||
python_exec = sys.executable or "python"
|
python_exec = sys.executable or "python"
|
||||||
if torch.cuda.is_available():
|
if torch.cuda.is_available():
|
||||||
infer_device = "cuda"
|
infer_device = "cuda"
|
||||||
elif torch.backends.mps.is_available():
|
|
||||||
infer_device = "cpu"
|
|
||||||
else:
|
else:
|
||||||
infer_device = "cpu"
|
infer_device = "cpu"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user