Add support for large-v3 and bump faster-whisper

This commit is contained in:
pluja
2023-11-25 19:58:35 +01:00
parent 1eaf1c42ea
commit 82b531fa45
5 changed files with 6 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ from typing import Any, Mapping, TypedDict
import numpy as np
from faster_whisper.audio import decode_audio # type: ignore
SUPPORTED_MODELS = ["tiny", "tiny.en", "small", "small.en", "base", "base.en", "medium", "medium.en", "large-v2"]
SUPPORTED_MODELS = ["tiny", "tiny.en", "small", "small.en", "base", "base.en", "medium", "medium.en", "large-v2", "large-v3"]
WordData = TypedDict(
"WordData", {"word": str, "start": float | str, "end": float | str, "score": float}