Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI workflow #115

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
- uses: actions/checkout@v2
# Run isort + black formatter
- name: Python Code Formatter
uses: descriptinc/python-format-action@master
uses: descriptinc/python-format-action@main

build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
install_requires=[
"argbind",
"numpy",
"numpy<2",
"soundfile",
"pyloudnorm",
"importlib-resources",
Expand Down
3 changes: 1 addition & 2 deletions tests/core/test_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ def test_whisper_transcript():

transcript = signal.get_whisper_transcript()

assert "<|startoftranscript|>" in transcript
assert "<|endoftext|>" in transcript
assert transcript.startswith("<|startoftranscript|>")


def test_whisper_embeddings():
Expand Down
Loading