change format defaults

This commit is contained in:
nikili0n 2023-09-26 15:41:30 +03:00 committed by Dantenerosas
parent 9d17a292bd
commit a58b543529

View File

@ -40,9 +40,9 @@ class MergeOutputFormatEnum(Enum):
@dataclass @dataclass
class SubmitIn: class SubmitIn:
link: str = Form(...) link: str = Form(...)
video_format: VideoFormatEnum = Form(default=MergeOutputFormatEnum.format_mp4) video_format: VideoFormatEnum = Form(default=MergeOutputFormatEnum.format_webm)
audio_format: AudioFormatEnum = Form(default=AudioFormatEnum.format_m4a) audio_format: AudioFormatEnum = Form(default=AudioFormatEnum.format_webm)
merge_output_format: MergeOutputFormatEnum = Form(default=MergeOutputFormatEnum.format_mp4) merge_output_format: MergeOutputFormatEnum = Form(default=MergeOutputFormatEnum.format_mkv)
class CheckIn(BaseModel): class CheckIn(BaseModel):