From 9f17e8dbd3929fdfdfd71fc3088d30b583311174 Mon Sep 17 00:00:00 2001 From: Lucain Date: Wed, 15 Jan 2025 10:26:52 +0100 Subject: [PATCH] Fix huggingface_hub / diffusers compatibility issues in requirements.txt As mentioned in https://github.com/p1atdev/LECO/issues/44#issuecomment-2592104605, it is more future-proof to upgrade `diffusers` version rather than downgrading `huggingface_hub` to an old one. This will also fix the `cannot import name 'cached_download' from 'huggingface_hub'` issue without relying on outdated packages. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b23a68f..1874376 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -diffusers==0.20.0 +diffusers==0.29.0 transformers==4.33.1 accelerate==0.22.0 scipy