diff --git a/frontend/src/components/listing/FileUpload.tsx b/frontend/src/components/listing/FileUpload.tsx index d70d976f..75755527 100644 --- a/frontend/src/components/listing/FileUpload.tsx +++ b/frontend/src/components/listing/FileUpload.tsx @@ -79,7 +79,7 @@ export const FileUploader = forwardRef< const [activeIndex, setActiveIndex] = useState(-1); const { accept = { - "image/*": [".jpg", ".jpeg", ".png", ".gif"], + "image/*": [".jpg", ".jpeg", ".png", ".gif", ".webp"], "application/xm": [".urdf"], }, maxFiles = 1, diff --git a/store/app/model.py b/store/app/model.py index a0056491..5f77ecd0 100644 --- a/store/app/model.py +++ b/store/app/model.py @@ -117,7 +117,7 @@ def create(cls, user_id: str, source: APIKeySource, permissions: APIKeyPermissio UPLOAD_CONTENT_TYPE_OPTIONS: dict[ArtifactType, set[str]] = { # Image - "image": {"image/png", "image/jpeg", "image/jpg"}, + "image": {"image/png", "image/jpeg", "image/jpg", "image/gif", "image/webp"}, # XML "urdf": {"application/xml"}, "mjcf": {"application/xml"},