mirror of
https://github.com/FunAudioLLM/CosyVoice.git
synced 2026-02-05 18:09:24 +08:00
update
This commit is contained in:
@@ -86,7 +86,7 @@ if __name__ == "__main__":
|
|||||||
help='Use Direct Preference Optimization')
|
help='Use Direct Preference Optimization')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
utt2wav, utt2text, utt2spk = {}, {}, {}
|
utt2wav, utt2text, utt2spk, utt2instruct = {}, {}, {}, {}
|
||||||
with open('{}/wav.scp'.format(args.src_dir)) as f:
|
with open('{}/wav.scp'.format(args.src_dir)) as f:
|
||||||
for l in f:
|
for l in f:
|
||||||
l = l.replace('\n', '').split()
|
l = l.replace('\n', '').split()
|
||||||
|
|||||||
Reference in New Issue
Block a user