chore(deps): migrate to pydantic v2

This commit is contained in:
Felix Spöttel
2023-07-31 18:13:10 +02:00
parent 38587a0159
commit f25dbae580
5 changed files with 20 additions and 20 deletions

View File

@@ -17,7 +17,7 @@ class DecodingOptions(BaseModel):
This mirrors private type `whisper.DecodingOptions`.
"""
language: str | None
language: str | None = None
task: Literal["translate", "transcribe"]