Skip to content

Commit fd1ec14

Browse files
authored
Merge pull request #71 from huggingface/fix-content-type
content type
2 parents e129d6a + 51be896 commit fd1ec14

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# We don't declare our dependency on transformers here because we build with
55
# different packages for different variants
66

7-
VERSION = "0.4.0.dev0"
7+
VERSION = "0.4.1"
88

99
# Ubuntu packages
1010
# libsndfile1-dev: torchaudio requires the development version of the libsndfile package which can be installed via a system package manager. On Ubuntu it can be installed as follows: apt install libsndfile1-dev

src/huggingface_inference_toolkit/serialization/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
content_type_mapping = {
66
"application/json": Jsoner,
7+
"application/json; charset=UTF-8": Jsoner,
78
"text/csv": None,
89
"text/plain": None,
910
# image types

0 commit comments

Comments
 (0)