Skip to content

FilePickerFileType 继承自: Enum

Defines the file types that can be selected using the FilePicker.

枚举值 ​

名称类型默认值说明
ANY—'any'Allows any file type.
MEDIA—'media'A combination of VIDEO and IMAGE.
IMAGE—'image'Allows only image files.
VIDEO—'video'Allows only video files.
AUDIO—'audio'Allows only audio files.
CUSTOM—'custom'Allows only the custom file types specified in the allowed_extensions list.

关注我,学习大模型、大数据、Python等热门技术。