From 1a5f82531078b081be9c00ae95cac29d94e84fe1 Mon Sep 17 00:00:00 2001 From: Dongji Gao Date: Sun, 21 Apr 2024 20:50:58 -0400 Subject: [PATCH] fixed isort format issue --- egs/librispeech/WSASR/local/prepare_otc_lang.py | 2 +- icefall/otc_phone_graph_compiler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/librispeech/WSASR/local/prepare_otc_lang.py b/egs/librispeech/WSASR/local/prepare_otc_lang.py index 2b71438c69..01865b8652 100755 --- a/egs/librispeech/WSASR/local/prepare_otc_lang.py +++ b/egs/librispeech/WSASR/local/prepare_otc_lang.py @@ -35,8 +35,8 @@ 5. Generate L_disambig.pt, in k2 format. """ import argparse -import math import logging +import math import re from collections import defaultdict from pathlib import Path diff --git a/icefall/otc_phone_graph_compiler.py b/icefall/otc_phone_graph_compiler.py index 4f22cde44d..bebdffe0c6 100644 --- a/icefall/otc_phone_graph_compiler.py +++ b/icefall/otc_phone_graph_compiler.py @@ -22,8 +22,8 @@ import k2 import torch -from icefall.utils import str2bool from icefall.lexicon import Lexicon +from icefall.utils import str2bool class OtcPhoneTrainingGraphCompiler(object):