mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-13 05:58:35 +03:00
chore(deps): migrate to pydantic v2
This commit is contained in:
@@ -17,7 +17,7 @@ class DecodingOptions(BaseModel):
|
||||
This mirrors private type `whisper.DecodingOptions`.
|
||||
"""
|
||||
|
||||
language: str | None
|
||||
language: str | None = None
|
||||
task: Literal["translate", "transcribe"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user