From 2ef4070be7bba22660be34e6d4cd6966ebeb63ba Mon Sep 17 00:00:00 2001 From: "Ankush Pala ankush@lastmileai.dev" <> Date: Tue, 26 Mar 2024 16:44:26 -0400 Subject: [PATCH] [sdk] pin HuggingFaceHub Dependency HuggingFace Hub Python library released breaking changes in version 0.22.0: https://github.com/huggingface/huggingface_hub/releases/tag/v0.22.0 This diff pins the version dependency of `huggingface_hub` to avoid the impact of the broken change. --- python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/requirements.txt b/python/requirements.txt index 50407fa5f..7367010f3 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -6,7 +6,7 @@ flask-cors flask[async] frozendict google-generativeai>=0.3.1 -huggingface-hub >= 0.20.3 +huggingface-hub >= 0.20.3, <= 0.21.4 hypothesis==6.91.0 lastmile-utils==0.0.23 nest_asyncio