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: lint error #360

Merged
merged 1 commit into from
Mar 3, 2025
Merged
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
6 changes: 4 additions & 2 deletions src/speaches/routers/vad.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from __future__ import annotations

import logging
from typing import Annotated
from typing import TYPE_CHECKING, Annotated

from fastapi import (
APIRouter,
Expand All @@ -14,7 +14,9 @@
from pydantic import BaseModel

from speaches.dependencies import AudioFileDependency # noqa: TC001
from speaches.model_aliases import ModelId

if TYPE_CHECKING:
from speaches.model_aliases import ModelId

# NOTE: this should match the default value in `decode_audio` which gets called by `AudioFileDependency`
SAMPLE_RATE = 16000
Expand Down
Loading