Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedir Zadniprovskyi authored and fedirz committed Mar 3, 2025
1 parent 7295d92 commit 5804cb8
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit 5804cb8

Please sign in to comment.