From 70b80a2828ae6be065ddc821238b433019be98ac Mon Sep 17 00:00:00 2001 From: LexiconCode Date: Thu, 8 Feb 2024 00:22:39 -0600 Subject: [PATCH] Use py launcher --- Install_Caster_Kaldi.bat | 4 ++-- Run_Caster_Kaldi.bat | 2 +- Run_Caster_Test_Engine.bat | 2 +- Run_Caster_WSR.bat | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Install_Caster_Kaldi.bat b/Install_Caster_Kaldi.bat index 48f8e173f..0baf9a74a 100644 --- a/Install_Caster_Kaldi.bat +++ b/Install_Caster_Kaldi.bat @@ -5,8 +5,8 @@ echo Using this python/pip: python -m pip -V echo Installing Caster Dependencies -python -m pip install -r "%currentpath%requirements.txt" -python -m pip install dragonfly2[kaldi] +py -m pip install -r "%currentpath%requirements.txt" +py -m pip install dragonfly2[kaldi] echo Remember: Manually install kaldi a model. echo See Caster kaldi install instructions on ReadTheDocs. diff --git a/Run_Caster_Kaldi.bat b/Run_Caster_Kaldi.bat index e90f102eb..3d398af25 100644 --- a/Run_Caster_Kaldi.bat +++ b/Run_Caster_Kaldi.bat @@ -4,6 +4,6 @@ echo Running Kaldi from Dragonfly CLI set currentpath=%~dp0 TITLE Caster: Status Window -python -m dragonfly load _*.py --engine kaldi --no-recobs-messages --engine-options "model_dir=kaldi_model, vad_padding_end_ms=300" +py -m dragonfly load _*.py --engine kaldi --no-recobs-messages --engine-options "model_dir=kaldi_model, vad_padding_end_ms=300" pause 1 diff --git a/Run_Caster_Test_Engine.bat b/Run_Caster_Test_Engine.bat index 858434d39..4ce933936 100644 --- a/Run_Caster_Test_Engine.bat +++ b/Run_Caster_Test_Engine.bat @@ -16,6 +16,6 @@ echo ---------------------------------------------------------------- echo( echo( -python -m dragonfly test _caster.py --delay 3 +py -m dragonfly test _caster.py --delay 3 pause 1 diff --git a/Run_Caster_WSR.bat b/Run_Caster_WSR.bat index 945ceb89e..02280b510 100644 --- a/Run_Caster_WSR.bat +++ b/Run_Caster_WSR.bat @@ -4,6 +4,6 @@ echo Running WRS from Dragonfly CLI. set currentpath=%~dp0 TITLE Caster: Status Window -python -m dragonfly load --engine sapi5inproc _*.py --no-recobs-messages +py -m dragonfly load --engine sapi5inproc _*.py --no-recobs-messages pause 1