From adc88bd9e76644badbbe006913addfa7cbe5d89c Mon Sep 17 00:00:00 2001 From: shixian.shi <shixian.shi@alibaba-inc.com> Date: 星期四, 23 十一月 2023 20:40:15 +0800 Subject: [PATCH] Merge remote-tracking branch 'refs/remotes/origin/main' update contextual forward --- egs/alimeeting/sa_asr/local/process_sot_fifo_textchar2spk.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/egs/alimeeting/sa_asr/local/process_sot_fifo_textchar2spk.py b/egs/alimeeting/sa_asr/local/process_sot_fifo_textchar2spk.py index 488344f..c26ba32 100755 --- a/egs/alimeeting/sa_asr/local/process_sot_fifo_textchar2spk.py +++ b/egs/alimeeting/sa_asr/local/process_sot_fifo_textchar2spk.py @@ -6,7 +6,10 @@ import codecs from distutils.util import strtobool from pathlib import Path -import textgrid +try: + import textgrid +except: + raise "Please install textgrid firstly: pip install textgrid" import pdb def get_args(): -- Gitblit v1.9.1