add support mixture of kaldi_ark or sound

This commit is contained in:
志浩 2024-09-24 20:17:06 +08:00
parent 43af70b129
commit 49903ec044

View File

@ -2048,7 +2048,7 @@ class SenseVoiceL(nn.Module):
results = []
result_i = {"key": key[0], "text": text}
results.append(result_i)
# results.append(result_i)
ark_writer, len_writer = None, None
if kwargs.get("output_dir") is not None: