mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-06 03:57:44 +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"
|
||||
if torch.cuda.is_available():
|
||||
infer_device = "cuda"
|
||||
elif torch.backends.mps.is_available():
|
||||
infer_device = "cpu"
|
||||
else:
|
||||
infer_device = "cpu"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user