• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
yjyoon / whisper_server_speaches star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB
  • Files
  • Commit
  • Branches
whisper_server_speachestestsconftest.py
Download as .zip file
File name
Commit message
Commit date
.github/workflows
Revert "wip"
2024-09-08
examples
Update script.sh
2024-09-03
scripts
chore: minor changes to scripts/client.py
2024-09-05
src/speaches
refactor: split out app into multiple router modules
2024-09-22
tests
deps: add `pytest-async`
2024-09-08
.dockerignore
chore: ignore .env
2024-05-27
.envrc
init
2024-05-20
.gitattributes
docs: add live-transcription demo
2024-05-28
.gitignore
chore: update .gitignore
2024-07-03
.pre-commit-config.yaml
switch to basedpyright
2024-07-20
Dockerfile.cpu
chore: update default whisper model
2024-09-08
Dockerfile.cuda
chore: update default whisper model
2024-09-08
LICENSE
init
2024-05-20
README.md
fix: 404
2024-09-17
Taskfile.yaml
feat: use `uv` package manager, pin dependencies
2024-09-08
audio.wav
docs: update README.md
2024-05-27
compose.yaml
chore: format compose
2024-09-11
flake.lock
deps: update flake
2024-09-08
flake.nix
deps: update flake
2024-09-08
pyproject.toml
fix: gradio pydantic error
2024-09-11
uv.lock
fix: gradio pydantic error
2024-09-11
File name
Commit message
Commit date
__init__.py
feat: add /v1/models and /v1/model routes #14
2024-06-03
api_model_test.py
chore: update model(s) route tests
2024-07-03
conftest.py
deps: add `pytest-async`
2024-09-08
sse_test.py
deps: add `pytest-async`
2024-09-08
Fedir Zadniprovskyi 2024-09-08 75fe8a4 deps: add `pytest-async` UNIX
Raw Open in browser Change history
from collections.abc import AsyncGenerator, Generator import logging from fastapi.testclient import TestClient from httpx import ASGITransport, AsyncClient from openai import OpenAI import pytest import pytest_asyncio disable_loggers = ["multipart.multipart", "faster_whisper"] def pytest_configure() -> None: for logger_name in disable_loggers: logger = logging.getLogger(logger_name) logger.disabled = True @pytest.fixture() def client() -> Generator[TestClient, None, None]: from faster_whisper_server.main import app with TestClient(app) as client: yield client @pytest_asyncio.fixture() async def aclient() -> AsyncGenerator[AsyncClient, None]: from faster_whisper_server.main import app async with AsyncClient(transport=ASGITransport(app=app), base_url="http://test") as aclient: yield aclient @pytest.fixture() def openai_client(client: TestClient) -> OpenAI: return OpenAI(api_key="cant-be-empty", http_client=client)

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up