修复首次打开不加载sovits模型

修复首次打开不加载sovits模型
main
RVC-Boss 6 months ago committed by GitHub
parent c2b3298bed
commit 1b25e1097a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -285,7 +285,8 @@ def change_sovits_weights(sovits_path,prompt_language=None,text_language=None):
with open("./weight.json","w")as f:f.write(json.dumps(data))
change_sovits_weights(sovits_path)
try:next(change_sovits_weights(sovits_path))
except:pass
def change_gpt_weights(gpt_path):
global hz, max_sec, t2s_model, config

Loading…
Cancel
Save