From 8279662fba379e096af0ee8669caf284d32ca7ea Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Fri, 28 May 2021 14:32:31 +0200 Subject: [PATCH] Add protobuf as a dependency to handle tokenizers that require it: For example: sentence-transformers/stsb-xlm-r-multilingual --- .../docker_images/sentence_transformers/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api-inference-community/docker_images/sentence_transformers/requirements.txt b/api-inference-community/docker_images/sentence_transformers/requirements.txt index 66178ef42a..ebf7f3a44c 100644 --- a/api-inference-community/docker_images/sentence_transformers/requirements.txt +++ b/api-inference-community/docker_images/sentence_transformers/requirements.txt @@ -1,3 +1,4 @@ starlette==0.14.2 api-inference-community==0.0.6 --e git+https://github.com/osanseviero/sentence-transformers@v2_dev#egg=sentence-transformers \ No newline at end of file +-e git+https://github.com/osanseviero/sentence-transformers@v2_dev#egg=sentence-transformers +protobuf==3.17.1