From f85940fba10dacf6d31cad95a22b762e32d9ebf1 Mon Sep 17 00:00:00 2001 From: Vatsal Shah <31882705+vatsalkshah@users.noreply.github.com> Date: Tue, 24 Sep 2024 05:45:01 +0530 Subject: [PATCH] fix: Restrict huggingface-hub version to 0.24.7 to resolve import error (#50) * fix: Restrict huggingface-hub version to 0.24.7 to resolve import error * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update requirements.txt Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Nick W <52875892+nickcom007@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 53ca1b7..53219df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ torch>=1.13.1 +huggingface-hub>=0.24.7,<0.25 transformers>=4.37.2 datasets>=2.14.3 accelerate>=0.27.2