Make datatype in context mandatory

This commit is contained in:
Yuta Hayashibe 2022-10-17 22:01:33 +09:00 committed by Yuta Hayashibe
parent d174967f5c
commit f606634d27

View file

@ -48,7 +48,7 @@ class Context(BaseModel, arbitrary_types_allowed=True):
vad_threshold: float
max_nospeech_skip: int
data_type: Optional[str] = "float32"
data_type: str = "float32"
class ParsedChunk(BaseModel):