mirror of
https://github.com/shirayu/whispering.git
synced 2025-02-26 23:36:18 +00:00
Make datatype in context mandatory
This commit is contained in:
parent
d174967f5c
commit
f606634d27
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Context(BaseModel, arbitrary_types_allowed=True):
|
||||||
vad_threshold: float
|
vad_threshold: float
|
||||||
max_nospeech_skip: int
|
max_nospeech_skip: int
|
||||||
|
|
||||||
data_type: Optional[str] = "float32"
|
data_type: str = "float32"
|
||||||
|
|
||||||
|
|
||||||
class ParsedChunk(BaseModel):
|
class ParsedChunk(BaseModel):
|
||||||
|
|
Loading…
Reference in a new issue