From f07c55a441bb4c111206880665ba18b26a2999aa Mon Sep 17 00:00:00 2001 From: gaoming714 Date: Mon, 3 Jun 2024 13:49:28 +0800 Subject: [PATCH] HuggingFace `resume_download` is deprecated and will be removed in version 1.0.0. FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume w hen possible. If you want to force a new download, use `force_download=True`. --- __init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/__init__.py b/__init__.py index 94562f8..4f63256 100644 --- a/__init__.py +++ b/__init__.py @@ -79,7 +79,6 @@ def load(self, type): # type: ignore path = snapshot_download( self.repo_id, revision=self.repo_revision, - resume_download=True, ) if os.path.exists("models/OOTDiffusion"): warnings.warn(