mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-06-01 05:09:16 +08:00
Update config.py
This commit is contained in:
parent
8e60ccfe32
commit
5d2f5e09d0
@ -6,7 +6,7 @@ import torch
|
||||
sovits_path = ""
|
||||
gpt_path = ""
|
||||
is_half_str = os.environ.get("is_half", "True")
|
||||
is_half = True if is_half_str.lower() == 'true' and not torch.backends.mps.is_available() else False
|
||||
is_half = True if is_half_str.lower() == 'true' else False
|
||||
is_share_str = os.environ.get("is_share","False")
|
||||
is_share= True if is_share_str.lower() == 'true' else False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user