Update onnx_export.py

This commit is contained in:
creepanine 2025-04-08 23:56:20 +08:00 committed by GitHub
parent 53cac93589
commit 476ee06eb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -351,7 +351,7 @@ def export(vits_path, gpt_path, project_name, vits_model="v2"):
# debug = False
debug = True
# gpt_sovits.export(ref_seq, text_seq, ref_bert, text_bert, ref_audio_sr, ssl_content, project_name)
gpt_sovits.export(ref_seq, text_seq, ref_bert, text_bert, ref_audio_sr, ssl_content, project_name)
if debug:
a, b = gpt_sovits(ref_seq, text_seq, ref_bert, text_bert, ref_audio_sr, ssl_content, debug=debug)