mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 15:19:59 +08:00
remove useless code
This commit is contained in:
parent
4c682c2eb0
commit
b6553769aa
@ -40,10 +40,6 @@ with open(f"./weight.json", 'r', encoding="utf-8") as file:
|
|||||||
sovits_path = os.environ.get(
|
sovits_path = os.environ.get(
|
||||||
"sovits_path", weight_data.get('SoVITS',{}).get(version,pretrained_sovits_name))
|
"sovits_path", weight_data.get('SoVITS',{}).get(version,pretrained_sovits_name))
|
||||||
|
|
||||||
# if len(sys.argv[1]==2) or len(sys.argv[1])==5:
|
|
||||||
# gpt_path = pretrained_gpt_name
|
|
||||||
# sovits_path = pretrained_sovits_name
|
|
||||||
|
|
||||||
# gpt_path = os.environ.get(
|
# gpt_path = os.environ.get(
|
||||||
# "gpt_path", pretrained_gpt_name
|
# "gpt_path", pretrained_gpt_name
|
||||||
# )
|
# )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user