auto-diffusers 1.3.2__py3-none-any.whl → 1.3.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: auto_diffusers
3
- Version: 1.3.2
3
+ Version: 1.3.4
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
@@ -30,6 +30,7 @@ Requires-Dist: natsort
30
30
 
31
31
  # auto_diffusers
32
32
 
33
+
33
34
  <p>
34
35
  <a href="https://github.com/suzukimain/auto_diffusers/blob/main/LICENSE"><img alt="GitHub release" src="https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=social"></a>
35
36
  </p>
@@ -39,14 +40,10 @@ Requires-Dist: natsort
39
40
  </p>
40
41
 
41
42
 
42
- <div>
43
- <img src=https://visit-counter.vercel.app/counter.png?page=https://github.com/suzukimain/auto_diffusers/main&c=00ffff&ff=flat&tb=viewer:%20&s=20>
44
- </div>
45
-
46
-
47
43
  >CONTENTS
48
44
  + [About The Project](#About_The_Project)
49
45
  + [How to use](#How_to_use)
46
+ + [Example](#Example)
50
47
  + [Description](#Description)
51
48
  + [License](#License)
52
49
  + [Acknowledgement](#Acknowledgement)
@@ -70,6 +67,23 @@ model_path = run_search(<keyword>, auto=True, download=False)
70
67
  pipe = StableDIffusionPipeline.from_single_file(model_path)
71
68
  ```
72
69
 
70
+ ## Example<a name = "Example"></a>
71
+
72
+ ```python
73
+ pip install --quiet diffusers
74
+ pip install --quiet auto_diffusers
75
+
76
+ from diffusers import StableDiffusionPipeline
77
+ from IPython.display import display
78
+ from auto_diffusers import run_search
79
+
80
+ model_path = run_search("Any", auto=True, download=False)
81
+ pipe = StableDiffusionPipeline.from_pretrained(model_path).to("cuda")
82
+ image = pipe("Mt. Fuji").images[0]
83
+ print(f"model_path: {model_path}")
84
+ display(image)
85
+ ```
86
+
73
87
  ## Description<a name = "Description"></a>
74
88
  > Arguments of `run_search`
75
89
  >
@@ -97,6 +111,10 @@ pipe = StableDIffusionPipeline.from_single_file(model_path)
97
111
 
98
112
  </details>
99
113
 
114
+ <details>
115
+ <summary>viewer</summary>
116
+ <img src="https://visitor-badge.laobi.icu/badge?page_id=suzukimain.auto_diffusers" alt="Visitor Badge">
117
+ </details>
100
118
 
101
119
  ## License<a name = "License"></a>
102
120
  In accordance with [BSD-3-Clause license](LICENSE)
@@ -21,8 +21,8 @@ auto_diffusers/utils/get_custom_logger.py,sha256=y8cRyt9y3fFR6eiXiXeV0Nk100F_osm
21
21
  auto_diffusers/utils/hide_warning.py,sha256=jfanB36r5KyzPvIjw68kP4lkD0I-gs2K_Zk6Q-QC0X8,208
22
22
  auto_diffusers/utils/process_bar.py,sha256=0quPhArlQGUfi6uniokUoDNmR_6eNeL9QPEiXtXtOYQ,4922
23
23
  auto_diffusers/utils/run_download.py,sha256=PzKBEYjdQzOuEc5moxwGt3N9VTD7h2qCUJzGx9vFpOo,3990
24
- auto_diffusers-1.3.2.dist-info/LICENSE,sha256=zf63-8GgkO9_0eeAUPRJu_yrc7xhedOdjlJzi6WhelM,1497
25
- auto_diffusers-1.3.2.dist-info/METADATA,sha256=HBc4d8uW7k29kDnt9Cm8WhC2m-1OcibE99He8n3zUWY,4689
26
- auto_diffusers-1.3.2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
27
- auto_diffusers-1.3.2.dist-info/top_level.txt,sha256=iYkbnc9T-VKVnoCP6AufdXcDUfUaLZ_yMG-USuYf4UQ,15
28
- auto_diffusers-1.3.2.dist-info/RECORD,,
24
+ auto_diffusers-1.3.4.dist-info/LICENSE,sha256=zf63-8GgkO9_0eeAUPRJu_yrc7xhedOdjlJzi6WhelM,1497
25
+ auto_diffusers-1.3.4.dist-info/METADATA,sha256=IwcxzRaxXeUhv5fjonAZNFdjBAIrzq5JFm2ywTPJQZg,5152
26
+ auto_diffusers-1.3.4.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
27
+ auto_diffusers-1.3.4.dist-info/top_level.txt,sha256=iYkbnc9T-VKVnoCP6AufdXcDUfUaLZ_yMG-USuYf4UQ,15
28
+ auto_diffusers-1.3.4.dist-info/RECORD,,