Skip to content

Commit

Permalink
Apply isort and black reformatting
Browse files Browse the repository at this point in the history
Signed-off-by: GNroy <[email protected]>
  • Loading branch information
GNroy committed Aug 2, 2024
1 parent 9826eb6 commit ebd8259
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions nemo/collections/asr/parts/submodules/wfst_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
from jiwer import wer as word_error_rate
from omegaconf import DictConfig

from nemo.collections.asr.parts.utils.wfst_utils import kaldifst_importer, TW_BREAK

from nemo.collections.asr.parts.utils.wfst_utils import TW_BREAK, kaldifst_importer

RIVA_DECODER_INSTALLATION_MESSAGE = (
"riva decoder is not installed or is installed incorrectly.\n"
Expand Down
5 changes: 2 additions & 3 deletions nemo/collections/asr/parts/utils/wfst_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,12 @@


GRAPHVIZ_INSTALLATION_MESSAGE = (
"graphviz is not installed.\n"
"please run `bash scripts/installers/install_graphviz.sh` to install."
"graphviz is not installed.\n" "please run `bash scripts/installers/install_graphviz.sh` to install."
)


KALDILM_INSTALLATION_MESSAGE = (
"kaldilm is not installed.\n"
"kaldilm is not installed.\n"
"please run `pip install kaldilm` or `bash scripts/installers/install_riva_decoder.sh` to install."
)

Expand Down

0 comments on commit ebd8259

Please sign in to comment.