auto-diffusers 1.3.3__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.3
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
@@ -43,6 +43,7 @@ Requires-Dist: natsort
43
43
  >CONTENTS
44
44
  + [About The Project](#About_The_Project)
45
45
  + [How to use](#How_to_use)
46
+ + [Example](#Example)
46
47
  + [Description](#Description)
47
48
  + [License](#License)
48
49
  + [Acknowledgement](#Acknowledgement)
@@ -66,6 +67,23 @@ model_path = run_search(<keyword>, auto=True, download=False)
66
67
  pipe = StableDIffusionPipeline.from_single_file(model_path)
67
68
  ```
68
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
+
69
87
  ## Description<a name = "Description"></a>
70
88
  > Arguments of `run_search`
71
89
  >
@@ -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.3.dist-info/LICENSE,sha256=zf63-8GgkO9_0eeAUPRJu_yrc7xhedOdjlJzi6WhelM,1497
25
- auto_diffusers-1.3.3.dist-info/METADATA,sha256=TXZFoS_RkPs9gwm6DRoRPMQtDiJJU6hw4gRNVs9G1Q4,4678
26
- auto_diffusers-1.3.3.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
27
- auto_diffusers-1.3.3.dist-info/top_level.txt,sha256=iYkbnc9T-VKVnoCP6AufdXcDUfUaLZ_yMG-USuYf4UQ,15
28
- auto_diffusers-1.3.3.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,,