auto-diffusers 2.0.22__py3-none-any.whl → 2.0.24__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- auto_diffusers/__init__.py +1 -1
- auto_diffusers/pipeline_easy.py +7 -3
- {auto_diffusers-2.0.22.dist-info → auto_diffusers-2.0.24.dist-info}/METADATA +2 -1
- auto_diffusers-2.0.24.dist-info/RECORD +8 -0
- auto_diffusers-2.0.22.dist-info/RECORD +0 -8
- {auto_diffusers-2.0.22.dist-info → auto_diffusers-2.0.24.dist-info}/LICENSE +0 -0
- {auto_diffusers-2.0.22.dist-info → auto_diffusers-2.0.24.dist-info}/WHEEL +0 -0
- {auto_diffusers-2.0.22.dist-info → auto_diffusers-2.0.24.dist-info}/top_level.txt +0 -0
auto_diffusers/__init__.py
CHANGED
auto_diffusers/pipeline_easy.py
CHANGED
|
@@ -548,7 +548,6 @@ def file_downloader(
|
|
|
548
548
|
displayed_filename=displayed_filename,
|
|
549
549
|
headers=headers,
|
|
550
550
|
proxies=proxies,
|
|
551
|
-
**kwargs,
|
|
552
551
|
)
|
|
553
552
|
|
|
554
553
|
|
|
@@ -590,6 +589,7 @@ def search_huggingface(search_word: str, **kwargs) -> Union[str, SearchResult, N
|
|
|
590
589
|
pipeline_tag = kwargs.pop("pipeline_tag", None)
|
|
591
590
|
token = kwargs.pop("token", None)
|
|
592
591
|
gated = kwargs.pop("gated", False)
|
|
592
|
+
cache_dir = kwargs.pop("cache_dir", None)
|
|
593
593
|
skip_error = kwargs.pop("skip_error", False)
|
|
594
594
|
|
|
595
595
|
file_list = []
|
|
@@ -610,6 +610,7 @@ def search_huggingface(search_word: str, **kwargs) -> Union[str, SearchResult, N
|
|
|
610
610
|
revision=revision,
|
|
611
611
|
token=token,
|
|
612
612
|
force_download=force_download,
|
|
613
|
+
cache_dir=cache_dir,
|
|
613
614
|
**kwargs,
|
|
614
615
|
)
|
|
615
616
|
else:
|
|
@@ -620,8 +621,9 @@ def search_huggingface(search_word: str, **kwargs) -> Union[str, SearchResult, N
|
|
|
620
621
|
model_path = hf_hub_download(
|
|
621
622
|
repo_id=repo_id,
|
|
622
623
|
filename=weights_name,
|
|
623
|
-
force_download=force_download,
|
|
624
624
|
token=token,
|
|
625
|
+
force_download=force_download,
|
|
626
|
+
cache_dir=cache_dir,
|
|
625
627
|
)
|
|
626
628
|
else:
|
|
627
629
|
model_path = search_word
|
|
@@ -694,6 +696,7 @@ def search_huggingface(search_word: str, **kwargs) -> Union[str, SearchResult, N
|
|
|
694
696
|
model_path = DiffusionPipeline.download(
|
|
695
697
|
repo_id,
|
|
696
698
|
token=token,
|
|
699
|
+
cache_dir=cache_dir,
|
|
697
700
|
**kwargs,
|
|
698
701
|
)
|
|
699
702
|
else:
|
|
@@ -717,6 +720,7 @@ def search_huggingface(search_word: str, **kwargs) -> Union[str, SearchResult, N
|
|
|
717
720
|
revision=revision,
|
|
718
721
|
token=token,
|
|
719
722
|
force_download=force_download,
|
|
723
|
+
cache_dir=cache_dir,
|
|
720
724
|
)
|
|
721
725
|
|
|
722
726
|
# `pathlib.PosixPath` may be returned
|
|
@@ -749,7 +753,7 @@ def search_huggingface(search_word: str, **kwargs) -> Union[str, SearchResult, N
|
|
|
749
753
|
)
|
|
750
754
|
|
|
751
755
|
else:
|
|
752
|
-
return model_path
|
|
756
|
+
return model_path or download_url
|
|
753
757
|
|
|
754
758
|
|
|
755
759
|
def search_civitai(search_word: str, **kwargs) -> Union[str, SearchResult, None]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: auto_diffusers
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.24
|
|
4
4
|
Summary: diffusers with search engine
|
|
5
5
|
Home-page: https://github.com/suzukimain/auto_diffusers
|
|
6
6
|
Author: suzukimain
|
|
@@ -21,6 +21,7 @@ Requires-Python: >=3.8.0
|
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
23
|
Requires-Dist: diffusers >=0.32.0
|
|
24
|
+
Requires-Dist: transformers >=4.41.2
|
|
24
25
|
|
|
25
26
|
# auto_diffusers
|
|
26
27
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
auto_diffusers/__init__.py,sha256=pJXJSAsm5W31lPIYpJncE_uRM4iXQBMBtYAk1TrHVuE,228
|
|
2
|
+
auto_diffusers/pipeline_easy.py,sha256=5lIEp864CMvBGZKSf2U_WQIC40USb7ebIlhsYlI5baA,93488
|
|
3
|
+
auto_diffusers/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
auto_diffusers-2.0.24.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
5
|
+
auto_diffusers-2.0.24.dist-info/METADATA,sha256=-3BytkV8hDTbM5GDUwXayABhZE98hahYg1GR2YKN5O8,9853
|
|
6
|
+
auto_diffusers-2.0.24.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
7
|
+
auto_diffusers-2.0.24.dist-info/top_level.txt,sha256=iYkbnc9T-VKVnoCP6AufdXcDUfUaLZ_yMG-USuYf4UQ,15
|
|
8
|
+
auto_diffusers-2.0.24.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
auto_diffusers/__init__.py,sha256=NNZ-_wyctMOBOzkel-Hb0HLqWXCOnMxZhJchzjtqzzE,228
|
|
2
|
-
auto_diffusers/pipeline_easy.py,sha256=oqImRMCRTmJztHJB9lV4wnHX6FA-5a4-mdFKszViFo0,93292
|
|
3
|
-
auto_diffusers/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
auto_diffusers-2.0.22.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
5
|
-
auto_diffusers-2.0.22.dist-info/METADATA,sha256=tWGuWIS8LNrs-n9BcYnHIUha4A7x1TdIwI_S0Vww8g0,9816
|
|
6
|
-
auto_diffusers-2.0.22.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
7
|
-
auto_diffusers-2.0.22.dist-info/top_level.txt,sha256=iYkbnc9T-VKVnoCP6AufdXcDUfUaLZ_yMG-USuYf4UQ,15
|
|
8
|
-
auto_diffusers-2.0.22.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|