Skip to content

Commit c5565c2

Browse files
committed
fix: de/serializer is not optional, do not support content type which we do not know what to do with
Signed-off-by: Raphael Glon <[email protected]>
1 parent bb6713f commit c5565c2

File tree

1 file changed

+0
-2
lines changed
  • src/huggingface_inference_toolkit/serialization

1 file changed

+0
-2
lines changed

src/huggingface_inference_toolkit/serialization/base.py

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
content_type_mapping = {
66
"application/json": Jsoner,
7-
"text/csv": None,
8-
"text/plain": None,
97
# image types
108
"image/png": Imager,
119
"image/jpeg": Imager,

0 commit comments

Comments
 (0)