Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Make datatype in context mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
shirayu committed Oct 17, 2022
1 parent d174967 commit f606634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whispering/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f606634

Please sign in to comment.