• 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_speachesspeachesserver_models.py
Download as .zip file
File name
Commit message
Commit date
speaches
chore: Dockerfile envs, log ws close, etc.
2024-05-20
tests
init
2024-05-20
.dockerignore
init
2024-05-20
.envrc
init
2024-05-20
.gitignore
init
2024-05-20
.pre-commit-config.yaml
init
2024-05-20
Dockerfile.cpu
chore: Dockerfile envs, log ws close, etc.
2024-05-20
Dockerfile.cuda
chore: Dockerfile envs, log ws close, etc.
2024-05-20
LICENSE
init
2024-05-20
README.md
docs: add WIP warning
2024-05-20
Taskfile.yaml
chore: Dockerfile envs, log ws close, etc.
2024-05-20
compose.yaml
init
2024-05-20
flake.lock
init
2024-05-20
flake.nix
init
2024-05-20
poetry.lock
init
2024-05-20
pyproject.toml
init
2024-05-20
File name
Commit message
Commit date
__init__.py
init
2024-05-20
asr.py
init
2024-05-20
audio.py
init
2024-05-20
config.py
chore: Dockerfile envs, log ws close, etc.
2024-05-20
core.py
init
2024-05-20
logger.py
init
2024-05-20
main.py
chore: Dockerfile envs, log ws close, etc.
2024-05-20
server_models.py
init
2024-05-20
transcriber.py
init
2024-05-20
Fedir Zadniprovskyi 2024-05-20 8ad3023 init UNIX
Raw Open in browser Change history
import enum from pydantic import BaseModel from speaches.core import Word class ResponseFormat(enum.StrEnum): JSON = "json" TEXT = "text" VERBOSE_JSON = "verbose_json" # https://platform.openai.com/docs/api-reference/audio/json-object class TranscriptionResponse(BaseModel): text: str # Subset of https://platform.openai.com/docs/api-reference/audio/verbose-json-object class TranscriptionVerboseResponse(BaseModel): task: str = "transcribe" duration: float text: str words: list[ Word ] # Different from OpenAI's `words`. `Word.text` instead of `Word.word`

          
        
    
    
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