From f294669e242c7910f427b48506dbefa1b7fbd75e Mon Sep 17 00:00:00 2001 From: nikkie Date: Sat, 30 Mar 2024 14:17:06 +0000 Subject: [PATCH] [chore] Refactor using extras --- .github/workflows/unittests.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index e12d6609..01ede18f 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -31,9 +31,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install 'pocketsphinx<5' - python -m pip install openai-whisper soundfile - python -m pip install openai - python -m pip install . + python -m pip install .[whisper-local,whisper-api] - name: Test with unittest run: | python -m doctest speech_recognition/recognizers/google.py -v