Updates to handle video in a dataset on ui
This commit is contained in:
@@ -75,7 +75,8 @@ export default function AddImagesModal() {
|
||||
const { getRootProps, getInputProps, isDragActive } = useDropzone({
|
||||
onDrop,
|
||||
accept: {
|
||||
'image/*': ['.png', '.jpg', '.jpeg', '.gif', '.bmp'],
|
||||
'image/*': ['.png', '.jpg', '.jpeg', '.gif', '.bmp', '.webp'],
|
||||
'video/*': ['.mp4', '.avi', '.mov', '.mkv', '.wmv', '.m4v', '.flv'],
|
||||
'text/*': ['.txt'],
|
||||
},
|
||||
multiple: true,
|
||||
|
||||
Reference in New Issue
Block a user