Skip to content

Commit

Permalink
Use py launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
LexiconCode committed Feb 8, 2024
1 parent 7719767 commit 70b80a2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Install_Caster_Kaldi.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Run_Caster_Kaldi.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Run_Caster_Test_Engine.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Run_Caster_WSR.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 70b80a2

Please sign in to comment.