auto-diffusers 1.8.0__tar.gz → 1.9.0__tar.gz

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.
Files changed (32) hide show
  1. {auto_diffusers-1.8.0/src/auto_diffusers.egg-info → auto_diffusers-1.9.0}/PKG-INFO +9 -3
  2. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/README.md +7 -1
  3. auto_diffusers-1.9.0/Version.txt +1 -0
  4. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/setup.py +1 -1
  5. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/model_path/search_hugface.py +4 -4
  6. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0/src/auto_diffusers.egg-info}/PKG-INFO +9 -3
  7. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers.egg-info/requires.txt +1 -1
  8. auto_diffusers-1.8.0/Version.txt +0 -1
  9. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/LICENSE +0 -0
  10. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/MANIFEST.in +0 -0
  11. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/setup.cfg +0 -0
  12. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/__init__.py +0 -0
  13. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/checker/__init__.py +0 -0
  14. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/checker/memorize_config.py +0 -0
  15. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/model_path/__init__.py +0 -0
  16. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/model_path/mix_class.py +0 -0
  17. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/model_path/perform_path_search.py +0 -0
  18. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/model_path/search_civitai.py +0 -0
  19. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/py.typed +0 -0
  20. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/setup/__init__.py +0 -0
  21. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/setup/base_config.py +0 -0
  22. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/setup/data_class.py +0 -0
  23. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/setup/device_config.py +0 -0
  24. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/setup/runtime_config.py +0 -0
  25. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/utils/__init__.py +0 -0
  26. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/utils/get_custom_logger.py +0 -0
  27. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/utils/hide_warning.py +0 -0
  28. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/utils/process_bar.py +0 -0
  29. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers/utils/run_download.py +0 -0
  30. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers.egg-info/SOURCES.txt +0 -0
  31. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers.egg-info/dependency_links.txt +0 -0
  32. {auto_diffusers-1.8.0 → auto_diffusers-1.9.0}/src/auto_diffusers.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: auto_diffusers
3
- Version: 1.8.0
3
+ Version: 1.9.0
4
4
  Summary: Customized diffusers with model search and other functions.
5
5
  Home-page: https://github.com/suzukimain/auto_diffusers
6
6
  Author: suzukimain
@@ -22,7 +22,7 @@ Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: diffusers
24
24
  Requires-Dist: transformers
25
- Requires-Dist: huggingface-hub
25
+ Requires-Dist: huggingface-hub>=0.26.2
26
26
  Requires-Dist: safetensors
27
27
  Requires-Dist: requests
28
28
  Requires-Dist: torch
@@ -50,10 +50,16 @@ Requires-Dist: natsort
50
50
  + [License](#License)
51
51
  + [Acknowledgement](#Acknowledgement)
52
52
 
53
+ ## Announcements📢
54
+ Due to changes in the `hf_api` specification, the function was stopped for a while. \
55
+ I apologize for any inconvenience this may have caused.
56
+
57
+ **[Updated on October 29, 2024]**\
58
+ Fixed an error that security status could not be acquired due to `hf_api` specification changes
59
+
53
60
  ## About The Project<a name = "About_The_Project"></a>
54
61
  Enhance the functionality of diffusers.
55
62
  * Search models from huggingface and Civitai.
56
- (etc..)
57
63
 
58
64
 
59
65
  ## How to use<a name = "How_to_use"></a>
@@ -19,10 +19,16 @@
19
19
  + [License](#License)
20
20
  + [Acknowledgement](#Acknowledgement)
21
21
 
22
+ ## Announcements📢
23
+ Due to changes in the `hf_api` specification, the function was stopped for a while. \
24
+ I apologize for any inconvenience this may have caused.
25
+
26
+ **[Updated on October 29, 2024]**\
27
+ Fixed an error that security status could not be acquired due to `hf_api` specification changes
28
+
22
29
  ## About The Project<a name = "About_The_Project"></a>
23
30
  Enhance the functionality of diffusers.
24
31
  * Search models from huggingface and Civitai.
25
- (etc..)
26
32
 
27
33
 
28
34
  ## How to use<a name = "How_to_use"></a>
@@ -0,0 +1 @@
1
+ 1.9.0
@@ -7,7 +7,7 @@ from setuptools import find_packages, setup
7
7
  _deps = [
8
8
  "diffusers",
9
9
  "transformers",
10
- "huggingface-hub",
10
+ "huggingface-hub>=0.26.2",
11
11
  "safetensors",
12
12
  "requests",
13
13
  "torch",
@@ -214,8 +214,8 @@ class Huggingface(Basic_config):
214
214
  model_dict = asdict(hf_info)
215
215
  # When using asdict, securityStatus is not added to the dictionary and must be added separately.
216
216
  try:
217
- if "securityStatus" not in model_dict.keys():
218
- model_dict["securityStatus"] = hf_info.__dict__["securityStatus"]
217
+ if "security_repo_status" not in model_dict.keys():
218
+ model_dict["security_repo_status"] = hf_info.__dict__["security_repo_status"]
219
219
  except KeyError:
220
220
  self.logger.info("The key for securityStatus does not exist.")
221
221
  return model_dict
@@ -244,8 +244,8 @@ class Huggingface(Basic_config):
244
244
  2 if there is a security risk.
245
245
  """
246
246
  try:
247
- status = check_dict["securityStatus"]
248
- if status["hasUnsafeFile"]:
247
+ status = check_dict["security_repo_status"]
248
+ if status["filesWithIssues"]:
249
249
  return 2
250
250
  elif not status["scansDone"]:
251
251
  return 1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: auto_diffusers
3
- Version: 1.8.0
3
+ Version: 1.9.0
4
4
  Summary: Customized diffusers with model search and other functions.
5
5
  Home-page: https://github.com/suzukimain/auto_diffusers
6
6
  Author: suzukimain
@@ -22,7 +22,7 @@ Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: diffusers
24
24
  Requires-Dist: transformers
25
- Requires-Dist: huggingface-hub
25
+ Requires-Dist: huggingface-hub>=0.26.2
26
26
  Requires-Dist: safetensors
27
27
  Requires-Dist: requests
28
28
  Requires-Dist: torch
@@ -50,10 +50,16 @@ Requires-Dist: natsort
50
50
  + [License](#License)
51
51
  + [Acknowledgement](#Acknowledgement)
52
52
 
53
+ ## Announcements📢
54
+ Due to changes in the `hf_api` specification, the function was stopped for a while. \
55
+ I apologize for any inconvenience this may have caused.
56
+
57
+ **[Updated on October 29, 2024]**\
58
+ Fixed an error that security status could not be acquired due to `hf_api` specification changes
59
+
53
60
  ## About The Project<a name = "About_The_Project"></a>
54
61
  Enhance the functionality of diffusers.
55
62
  * Search models from huggingface and Civitai.
56
- (etc..)
57
63
 
58
64
 
59
65
  ## How to use<a name = "How_to_use"></a>
@@ -1,6 +1,6 @@
1
1
  diffusers
2
2
  transformers
3
- huggingface-hub
3
+ huggingface-hub>=0.26.2
4
4
  safetensors
5
5
  requests
6
6
  torch
@@ -1 +0,0 @@
1
- 1.8.0
File without changes
File without changes