Skip to content

Commit 4c6c6c6

Browse files
authored
fix demo onnx textnorm
1 parent 530b2e3 commit 4c6c6c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo_onnx.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
# inference
1616
wav_or_scp = ["{}/.cache/modelscope/hub/{}/example/en.mp3".format(Path.home(), model_dir)]
1717

18-
res = model(wav_or_scp, language="auto", use_itn=True)
18+
res = model(wav_or_scp, language="auto", textnorm="withitn")
1919
print([rich_transcription_postprocess(i) for i in res])

0 commit comments

Comments
 (0)