auto-diffusers 2.0.36.dev0__tar.gz → 2.0.37__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: auto_diffusers
3
- Version: 2.0.36.dev0
3
+ Version: 2.0.37
4
4
  Summary: diffusers with search engine
5
5
  Home-page: https://github.com/suzukimain/auto_diffusers
6
6
  Author: suzukimain
@@ -22,6 +22,7 @@ Requires-Python: >=3.8.0
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  Requires-Dist: diffusers>=0.36.0
25
+ Requires-Dist: packaging>=20.0
25
26
  Requires-Dist: transformers>=4.57.3
26
27
  Dynamic: author
27
28
  Dynamic: author-email
@@ -55,7 +56,7 @@ Dynamic: summary
55
56
  >CONTENTS
56
57
  + [About The Project](#About_The_Project)
57
58
  + [How to use](#How_to_use)
58
- + [Search Hubs](#Search_Civitai_and_Huggingfacee)
59
+ + [Search Hubs](#Search_Civitai_and_Huggingface)
59
60
  - [Search Civitai](#Search_Civitai)
60
61
  - [Search Huggingface](#Search_Huggingface)
61
62
  + [License](#License)
@@ -80,29 +81,55 @@ Enhance the functionality of diffusers.
80
81
 
81
82
  </details>
82
83
 
83
- ## How to use<a name = "How_to_use"></a>
84
+ ## Regarding the Civitai API bug
85
+
86
+ The previously reported Civitai API issue has largely been resolved.
87
+
88
+ <details>
89
+ <summary>Previous issue description</summary>
90
+
91
+ Due to recent specification changes in the Civitai API, we were aware of the following issues:
92
+ - Reduced search accuracy
93
+ - Some search results not being returned
94
+
95
+ A temporary workaround has been implemented for the above issues, but since certain search results are still not returned, there is a possibility that some models may not be found.
96
+
97
+ link: [civitai/civitai#1757](https://github.com/civitai/civitai/issues/1757)
98
+
99
+ </details>
100
+
101
+ ## How to use<a name = "How_to_use"></a>
84
102
 
85
103
  ```python
86
104
  pip install --quiet auto_diffusers
87
105
  ```
88
106
 
89
107
  ```python
108
+ import torch
90
109
  from auto_diffusers import EasyPipelineForText2Image
91
110
 
92
- # Search for Huggingface
93
- pipe = EasyPipelineForText2Image.from_huggingface("search_word").to("cuda")
111
+ # Load an official Hugging Face model
112
+ pipe = EasyPipelineForText2Image.from_huggingface(
113
+ "stabilityai/stable-diffusion-xl-base-1.0",
114
+ dtype=torch.float16,
115
+ ).to("cuda")
94
116
  img = pipe("cat").images[0]
95
117
  img.save("cat.png")
96
118
 
97
119
 
98
120
  # Search for Civitai
99
- pipe = EasyPipelineForText2Image.from_civitai("search_word").to("cuda")
121
+ pipe = EasyPipelineForText2Image.from_civitai(
122
+ "search_word",
123
+ dtype=torch.float16,
124
+ ).to("cuda")
100
125
  image = pipe("cat").images[0]
101
126
  image.save("cat.png")
102
127
 
103
128
  ```
104
129
 
105
- ## Search Civitai and Huggingfacee<a name = "Search_Civitai_and_Huggingface"></a>
130
+ Use `dtype` for new code. `torch_dtype` remains supported for compatibility, but do not pass both arguments at the same time.
131
+
132
+ ## Search Civitai and Huggingface<a name = "Search_Civitai_and_Huggingface"></a>
106
133
 
107
134
  ```python
108
135
  # Load Lora into the pipeline.
@@ -119,32 +146,32 @@ pipe.auto_load_textual_inversion("EasyNegative", token="EasyNegative")
119
146
 
120
147
  #### `EasyPipeline.from_civitai` parameters
121
148
 
122
- | Name | Type | Default | Description |
149
+ | Name | Type | Default | Description |
123
150
  |:---------------:|:----------------------:|:-------------:|:-----------------------------------------------------------------------------------:|
124
- | search_word | string, Path | ー | The search query string. Can be a keyword, Civitai URL, local directory or file path. |
125
- | model_type | string | `Checkpoint` | The type of model to search for. <br>(for example `Checkpoint`, `TextualInversion`, `Controlnet`, `LORA`, `Hypernetwork`, `AestheticGradient`, `Poses`) |
126
- | base_model | string | None | Trained model tag (for example `SD 1.5`, `SD 3.5`, `SDXL 1.0`) |
127
- | torch_dtype | string, torch.dtype | None | Override the default `torch.dtype` and load the model with another dtype. |
151
+ | search_word | string, Path | required | The search query string. Can be a keyword, Civitai URL, local directory or file path. |
152
+ | model_type | string | `Checkpoint` | The type of model to search for. <br>(for example `Checkpoint`, `TextualInversion`, `Controlnet`, `LORA`, `Hypernetwork`, `AestheticGradient`, `Poses`) |
153
+ | base_model | string | None | Trained model tag (for example `SD 1.5`, `SD 3.5`, `SDXL 1.0`) |
154
+ | dtype | string, torch.dtype | None | Override the default `torch.dtype` and load the model with another dtype. |
128
155
  | force_download | bool | False | Whether or not to force the (re-)download of the model weights and configuration files, overriding the cached versions if they exist. |
129
- | cache_dir | string, Path | None | Path to the folder where cached files are stored. |
130
- | resume | bool | False | Whether to resume an incomplete download. |
131
- | token | string | None | API token for Civitai authentication. |
156
+ | cache_dir | string, Path | None | Path to the folder where cached files are stored. |
157
+ | resume | bool | False | Whether to resume an incomplete download. |
158
+ | token | string | None | API token for Civitai authentication. |
132
159
 
133
160
 
134
161
  #### `search_civitai` parameters
135
162
 
136
- | Name | Type | Default | Description |
163
+ | Name | Type | Default | Description |
137
164
  |:---------------:|:--------------:|:-------------:|:-----------------------------------------------------------------------------------:|
138
- | search_word | string, Path | ー | The search query string. Can be a keyword, Civitai URL, local directory or file path. |
139
- | model_type | string | `Checkpoint` | The type of model to search for. <br>(for example `Checkpoint`, `TextualInversion`, `Controlnet`, `LORA`, `Hypernetwork`, `AestheticGradient`, `Poses`) |
140
- | base_model | string | None | Trained model tag (for example `SD 1.5`, `SD 3.5`, `SDXL 1.0`) |
141
- | download | bool | False | Whether to download the model. |
142
- | force_download | bool | False | Whether to force the download if the model already exists. |
143
- | cache_dir | string, Path | None | Path to the folder where cached files are stored. |
144
- | resume | bool | False | Whether to resume an incomplete download. |
145
- | token | string | None | API token for Civitai authentication. |
146
- | include_params | bool | False | Whether to include parameters in the returned data. |
147
- | skip_error | bool | False | Whether to skip errors and return None. |
165
+ | search_word | string, Path | required | The search query string. Can be a keyword, Civitai URL, local directory or file path. |
166
+ | model_type | string | `Checkpoint` | The type of model to search for. <br>(for example `Checkpoint`, `TextualInversion`, `Controlnet`, `LORA`, `Hypernetwork`, `AestheticGradient`, `Poses`) |
167
+ | base_model | string | None | Trained model tag (for example `SD 1.5`, `SD 3.5`, `SDXL 1.0`) |
168
+ | download | bool | False | Whether to download the model. |
169
+ | force_download | bool | False | Whether to force the download if the model already exists. |
170
+ | cache_dir | string, Path | None | Path to the folder where cached files are stored. |
171
+ | resume | bool | False | Whether to resume an incomplete download. |
172
+ | token | string | None | API token for Civitai authentication. |
173
+ | include_params | bool | False | Whether to include parameters in the returned data. |
174
+ | skip_error | bool | False | Whether to skip errors and return None. |
148
175
 
149
176
  ### Search Huggingface<a name = "Search_Huggingface"></a>
150
177
 
@@ -153,29 +180,29 @@ pipe.auto_load_textual_inversion("EasyNegative", token="EasyNegative")
153
180
 
154
181
  #### `EasyPipeline.from_huggingface` parameters
155
182
 
156
- | Name | Type | Default | Description |
157
- |:---------------------:|:-------------------:|:--------------:|:----------------------------------------------------------------:|
158
- | search_word | string, Path | ー | The search query string. Can be a keyword, Hugging Face URL, local directory or file path, or a Hugging Face path (`<creator>/<repo>`). |
159
- | checkpoint_format | string | `single_file` | The format of the model checkpoint.<br>● `single_file` to search for `single file checkpoint` <br>●`diffusers` to search for `multifolder diffusers format checkpoint` |
160
- | torch_dtype | string, torch.dtype | None | Override the default `torch.dtype` and load the model with another dtype. |
183
+ | Name | Type | Default | Description |
184
+ |:---------------------:|:-------------------:|:--------------:|:--------------------------------------------------------------------------------:|
185
+ | search_word | string, Path | required | The search query string. Can be a keyword, Hugging Face URL, local directory or file path, or a Hugging Face path (`<creator>/<repo>`). |
186
+ | checkpoint_format | string | `single_file` | The format of the model checkpoint.<br>- `single_file` to search for `single file checkpoint` <br>- `diffusers` to search for `multifolder diffusers format checkpoint` |
187
+ | dtype | string, torch.dtype | None | Override the default `torch.dtype` and load the model with another dtype. |
161
188
  | force_download | bool | False | Whether or not to force the (re-)download of the model weights and configuration files, overriding the cached versions if they exist. |
162
- | cache_dir | string, Path | None | Path to a directory where a downloaded pretrained model configuration is cached if the standard cache is not used. |
163
- | token | string, bool | None | The token to use as HTTP bearer authorization for remote files. |
189
+ | cache_dir | string, Path | None | Path to a directory where a downloaded pretrained model configuration is cached if the standard cache is not used. |
190
+ | token | string, bool | None | The token to use as HTTP bearer authorization for remote files. |
164
191
 
165
192
 
166
193
  #### `search_huggingface` parameters
167
194
 
168
- | Name | Type | Default | Description |
169
- |:---------------------:|:-------------------:|:--------------:|:----------------------------------------------------------------:|
170
- | search_word | string, Path | ー | The search query string. Can be a keyword, Hugging Face URL, local directory or file path, or a Hugging Face path (`<creator>/<repo>`). |
171
- | checkpoint_format | string | `single_file` | The format of the model checkpoint. <br>● `single_file` to search for `single file checkpoint` <br>●`diffusers` to search for `multifolder diffusers format checkpoint` |
172
- | pipeline_tag | string | None | Tag to filter models by pipeline. |
173
- | download | bool | False | Whether to download the model. |
195
+ | Name | Type | Default | Description |
196
+ |:---------------------:|:-------------------:|:--------------:|:--------------------------------------------------------------------------------:|
197
+ | search_word | string, Path | required | The search query string. Can be a keyword, Hugging Face URL, local directory or file path, or a Hugging Face path (`<creator>/<repo>`). |
198
+ | checkpoint_format | string | `single_file` | The format of the model checkpoint. <br>- `single_file` to search for `single file checkpoint` <br>- `diffusers` to search for `multifolder diffusers format checkpoint` |
199
+ | pipeline_tag | string | None | Tag to filter models by pipeline. |
200
+ | download | bool | False | Whether to download the model. |
174
201
  | force_download | bool | False | Whether or not to force the (re-)download of the model weights and configuration files, overriding the cached versions if they exist. |
175
- | cache_dir | string, Path | None | Path to a directory where a downloaded pretrained model configuration is cached if the standard cache is not used. |
176
- | token | string, bool | None | The token to use as HTTP bearer authorization for remote files. |
177
- | include_params | bool | False | Whether to include parameters in the returned data. |
178
- | skip_error | bool | False | Whether to skip errors and return None. |
202
+ | cache_dir | string, Path | None | Path to a directory where a downloaded pretrained model configuration is cached if the standard cache is not used. |
203
+ | token | string, bool | None | The token to use as HTTP bearer authorization for remote files. |
204
+ | include_params | bool | False | Whether to include parameters in the returned data. |
205
+ | skip_error | bool | False | Whether to skip errors and return None. |
179
206
 
180
207
 
181
208
  ## License<a name = "License"></a>
@@ -17,7 +17,7 @@
17
17
  >CONTENTS
18
18
  + [About The Project](#About_The_Project)
19
19
  + [How to use](#How_to_use)
20
- + [Search Hubs](#Search_Civitai_and_Huggingfacee)
20
+ + [Search Hubs](#Search_Civitai_and_Huggingface)
21
21
  - [Search Civitai](#Search_Civitai)
22
22
  - [Search Huggingface](#Search_Huggingface)
23
23
  + [License](#License)
@@ -42,29 +42,55 @@ Enhance the functionality of diffusers.
42
42
 
43
43
  </details>
44
44
 
45
- ## How to use<a name = "How_to_use"></a>
45
+ ## Regarding the Civitai API bug
46
+
47
+ The previously reported Civitai API issue has largely been resolved.
48
+
49
+ <details>
50
+ <summary>Previous issue description</summary>
51
+
52
+ Due to recent specification changes in the Civitai API, we were aware of the following issues:
53
+ - Reduced search accuracy
54
+ - Some search results not being returned
55
+
56
+ A temporary workaround has been implemented for the above issues, but since certain search results are still not returned, there is a possibility that some models may not be found.
57
+
58
+ link: [civitai/civitai#1757](https://github.com/civitai/civitai/issues/1757)
59
+
60
+ </details>
61
+
62
+ ## How to use<a name = "How_to_use"></a>
46
63
 
47
64
  ```python
48
65
  pip install --quiet auto_diffusers
49
66
  ```
50
67
 
51
68
  ```python
69
+ import torch
52
70
  from auto_diffusers import EasyPipelineForText2Image
53
71
 
54
- # Search for Huggingface
55
- pipe = EasyPipelineForText2Image.from_huggingface("search_word").to("cuda")
72
+ # Load an official Hugging Face model
73
+ pipe = EasyPipelineForText2Image.from_huggingface(
74
+ "stabilityai/stable-diffusion-xl-base-1.0",
75
+ dtype=torch.float16,
76
+ ).to("cuda")
56
77
  img = pipe("cat").images[0]
57
78
  img.save("cat.png")
58
79
 
59
80
 
60
81
  # Search for Civitai
61
- pipe = EasyPipelineForText2Image.from_civitai("search_word").to("cuda")
82
+ pipe = EasyPipelineForText2Image.from_civitai(
83
+ "search_word",
84
+ dtype=torch.float16,
85
+ ).to("cuda")
62
86
  image = pipe("cat").images[0]
63
87
  image.save("cat.png")
64
88
 
65
89
  ```
66
90
 
67
- ## Search Civitai and Huggingfacee<a name = "Search_Civitai_and_Huggingface"></a>
91
+ Use `dtype` for new code. `torch_dtype` remains supported for compatibility, but do not pass both arguments at the same time.
92
+
93
+ ## Search Civitai and Huggingface<a name = "Search_Civitai_and_Huggingface"></a>
68
94
 
69
95
  ```python
70
96
  # Load Lora into the pipeline.
@@ -81,32 +107,32 @@ pipe.auto_load_textual_inversion("EasyNegative", token="EasyNegative")
81
107
 
82
108
  #### `EasyPipeline.from_civitai` parameters
83
109
 
84
- | Name | Type | Default | Description |
110
+ | Name | Type | Default | Description |
85
111
  |:---------------:|:----------------------:|:-------------:|:-----------------------------------------------------------------------------------:|
86
- | search_word | string, Path | ー | The search query string. Can be a keyword, Civitai URL, local directory or file path. |
87
- | model_type | string | `Checkpoint` | The type of model to search for. <br>(for example `Checkpoint`, `TextualInversion`, `Controlnet`, `LORA`, `Hypernetwork`, `AestheticGradient`, `Poses`) |
88
- | base_model | string | None | Trained model tag (for example `SD 1.5`, `SD 3.5`, `SDXL 1.0`) |
89
- | torch_dtype | string, torch.dtype | None | Override the default `torch.dtype` and load the model with another dtype. |
112
+ | search_word | string, Path | required | The search query string. Can be a keyword, Civitai URL, local directory or file path. |
113
+ | model_type | string | `Checkpoint` | The type of model to search for. <br>(for example `Checkpoint`, `TextualInversion`, `Controlnet`, `LORA`, `Hypernetwork`, `AestheticGradient`, `Poses`) |
114
+ | base_model | string | None | Trained model tag (for example `SD 1.5`, `SD 3.5`, `SDXL 1.0`) |
115
+ | dtype | string, torch.dtype | None | Override the default `torch.dtype` and load the model with another dtype. |
90
116
  | force_download | bool | False | Whether or not to force the (re-)download of the model weights and configuration files, overriding the cached versions if they exist. |
91
- | cache_dir | string, Path | None | Path to the folder where cached files are stored. |
92
- | resume | bool | False | Whether to resume an incomplete download. |
93
- | token | string | None | API token for Civitai authentication. |
117
+ | cache_dir | string, Path | None | Path to the folder where cached files are stored. |
118
+ | resume | bool | False | Whether to resume an incomplete download. |
119
+ | token | string | None | API token for Civitai authentication. |
94
120
 
95
121
 
96
122
  #### `search_civitai` parameters
97
123
 
98
- | Name | Type | Default | Description |
124
+ | Name | Type | Default | Description |
99
125
  |:---------------:|:--------------:|:-------------:|:-----------------------------------------------------------------------------------:|
100
- | search_word | string, Path | ー | The search query string. Can be a keyword, Civitai URL, local directory or file path. |
101
- | model_type | string | `Checkpoint` | The type of model to search for. <br>(for example `Checkpoint`, `TextualInversion`, `Controlnet`, `LORA`, `Hypernetwork`, `AestheticGradient`, `Poses`) |
102
- | base_model | string | None | Trained model tag (for example `SD 1.5`, `SD 3.5`, `SDXL 1.0`) |
103
- | download | bool | False | Whether to download the model. |
104
- | force_download | bool | False | Whether to force the download if the model already exists. |
105
- | cache_dir | string, Path | None | Path to the folder where cached files are stored. |
106
- | resume | bool | False | Whether to resume an incomplete download. |
107
- | token | string | None | API token for Civitai authentication. |
108
- | include_params | bool | False | Whether to include parameters in the returned data. |
109
- | skip_error | bool | False | Whether to skip errors and return None. |
126
+ | search_word | string, Path | required | The search query string. Can be a keyword, Civitai URL, local directory or file path. |
127
+ | model_type | string | `Checkpoint` | The type of model to search for. <br>(for example `Checkpoint`, `TextualInversion`, `Controlnet`, `LORA`, `Hypernetwork`, `AestheticGradient`, `Poses`) |
128
+ | base_model | string | None | Trained model tag (for example `SD 1.5`, `SD 3.5`, `SDXL 1.0`) |
129
+ | download | bool | False | Whether to download the model. |
130
+ | force_download | bool | False | Whether to force the download if the model already exists. |
131
+ | cache_dir | string, Path | None | Path to the folder where cached files are stored. |
132
+ | resume | bool | False | Whether to resume an incomplete download. |
133
+ | token | string | None | API token for Civitai authentication. |
134
+ | include_params | bool | False | Whether to include parameters in the returned data. |
135
+ | skip_error | bool | False | Whether to skip errors and return None. |
110
136
 
111
137
  ### Search Huggingface<a name = "Search_Huggingface"></a>
112
138
 
@@ -115,29 +141,29 @@ pipe.auto_load_textual_inversion("EasyNegative", token="EasyNegative")
115
141
 
116
142
  #### `EasyPipeline.from_huggingface` parameters
117
143
 
118
- | Name | Type | Default | Description |
119
- |:---------------------:|:-------------------:|:--------------:|:----------------------------------------------------------------:|
120
- | search_word | string, Path | ー | The search query string. Can be a keyword, Hugging Face URL, local directory or file path, or a Hugging Face path (`<creator>/<repo>`). |
121
- | checkpoint_format | string | `single_file` | The format of the model checkpoint.<br>● `single_file` to search for `single file checkpoint` <br>●`diffusers` to search for `multifolder diffusers format checkpoint` |
122
- | torch_dtype | string, torch.dtype | None | Override the default `torch.dtype` and load the model with another dtype. |
144
+ | Name | Type | Default | Description |
145
+ |:---------------------:|:-------------------:|:--------------:|:--------------------------------------------------------------------------------:|
146
+ | search_word | string, Path | required | The search query string. Can be a keyword, Hugging Face URL, local directory or file path, or a Hugging Face path (`<creator>/<repo>`). |
147
+ | checkpoint_format | string | `single_file` | The format of the model checkpoint.<br>- `single_file` to search for `single file checkpoint` <br>- `diffusers` to search for `multifolder diffusers format checkpoint` |
148
+ | dtype | string, torch.dtype | None | Override the default `torch.dtype` and load the model with another dtype. |
123
149
  | force_download | bool | False | Whether or not to force the (re-)download of the model weights and configuration files, overriding the cached versions if they exist. |
124
- | cache_dir | string, Path | None | Path to a directory where a downloaded pretrained model configuration is cached if the standard cache is not used. |
125
- | token | string, bool | None | The token to use as HTTP bearer authorization for remote files. |
150
+ | cache_dir | string, Path | None | Path to a directory where a downloaded pretrained model configuration is cached if the standard cache is not used. |
151
+ | token | string, bool | None | The token to use as HTTP bearer authorization for remote files. |
126
152
 
127
153
 
128
154
  #### `search_huggingface` parameters
129
155
 
130
- | Name | Type | Default | Description |
131
- |:---------------------:|:-------------------:|:--------------:|:----------------------------------------------------------------:|
132
- | search_word | string, Path | ー | The search query string. Can be a keyword, Hugging Face URL, local directory or file path, or a Hugging Face path (`<creator>/<repo>`). |
133
- | checkpoint_format | string | `single_file` | The format of the model checkpoint. <br>● `single_file` to search for `single file checkpoint` <br>●`diffusers` to search for `multifolder diffusers format checkpoint` |
134
- | pipeline_tag | string | None | Tag to filter models by pipeline. |
135
- | download | bool | False | Whether to download the model. |
156
+ | Name | Type | Default | Description |
157
+ |:---------------------:|:-------------------:|:--------------:|:--------------------------------------------------------------------------------:|
158
+ | search_word | string, Path | required | The search query string. Can be a keyword, Hugging Face URL, local directory or file path, or a Hugging Face path (`<creator>/<repo>`). |
159
+ | checkpoint_format | string | `single_file` | The format of the model checkpoint. <br>- `single_file` to search for `single file checkpoint` <br>- `diffusers` to search for `multifolder diffusers format checkpoint` |
160
+ | pipeline_tag | string | None | Tag to filter models by pipeline. |
161
+ | download | bool | False | Whether to download the model. |
136
162
  | force_download | bool | False | Whether or not to force the (re-)download of the model weights and configuration files, overriding the cached versions if they exist. |
137
- | cache_dir | string, Path | None | Path to a directory where a downloaded pretrained model configuration is cached if the standard cache is not used. |
138
- | token | string, bool | None | The token to use as HTTP bearer authorization for remote files. |
139
- | include_params | bool | False | Whether to include parameters in the returned data. |
140
- | skip_error | bool | False | Whether to skip errors and return None. |
163
+ | cache_dir | string, Path | None | Path to a directory where a downloaded pretrained model configuration is cached if the standard cache is not used. |
164
+ | token | string, bool | None | The token to use as HTTP bearer authorization for remote files. |
165
+ | include_params | bool | False | Whether to include parameters in the returned data. |
166
+ | skip_error | bool | False | Whether to skip errors and return None. |
141
167
 
142
168
 
143
169
  ## License<a name = "License"></a>
@@ -1,19 +1,34 @@
1
1
  import sys
2
+ from pathlib import Path
2
3
 
3
4
  from setuptools import find_packages, setup
4
5
 
5
6
  _deps = [
6
7
  "diffusers>=0.36.0",
8
+ "packaging>=20.0",
7
9
  "transformers>=4.57.3",
8
10
  ]
9
11
 
10
12
  version_range_max = max(sys.version_info[1], 10) + 1
11
13
 
14
+ classifiers = [
15
+ "Development Status :: 5 - Production/Stable",
16
+ "Intended Audience :: Developers",
17
+ "Intended Audience :: Education",
18
+ "Intended Audience :: Science/Research",
19
+ "License :: OSI Approved :: Apache Software License",
20
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
21
+ "Programming Language :: Python :: 3",
22
+ ]
23
+
24
+ for minor_version in range(8, version_range_max):
25
+ classifiers.append(f"Programming Language :: Python :: 3.{minor_version}")
26
+
12
27
  setup(
13
28
  name="auto_diffusers",
14
- version="2.0.36dev0",
29
+ version="2.0.37",
15
30
  description="diffusers with search engine",
16
- long_description=open("README.md", "r", encoding="utf-8").read(),
31
+ long_description=Path("README.md").read_text(encoding="utf-8"),
17
32
  long_description_content_type="text/markdown",
18
33
  keywords="huggingface civitai diffusers model search deep learning diffusion pytorch stable diffusion",
19
34
  license="Apache 2.0 License",
@@ -26,14 +41,5 @@ setup(
26
41
  python_requires=">=3.8.0",
27
42
  include_package_data=True,
28
43
  install_requires=list(_deps),
29
- classifiers=[
30
- "Development Status :: 5 - Production/Stable",
31
- "Intended Audience :: Developers",
32
- "Intended Audience :: Education",
33
- "Intended Audience :: Science/Research",
34
- "License :: OSI Approved :: Apache Software License",
35
- "Topic :: Scientific/Engineering :: Artificial Intelligence",
36
- "Programming Language :: Python :: 3",
37
- ]
38
- + [f"Programming Language :: Python :: 3.{i}" for i in range(8, version_range_max)]
44
+ classifiers=classifiers,
39
45
  )
@@ -0,0 +1,19 @@
1
+ __version__ = "2.0.37"
2
+
3
+ from .pipeline_easy import (
4
+ EasyPipelineForImage2Image,
5
+ EasyPipelineForInpainting,
6
+ EasyPipelineForText2Image,
7
+ load_pipeline_from_single_file,
8
+ search_civitai,
9
+ search_huggingface,
10
+ )
11
+
12
+ __all__ = [
13
+ "EasyPipelineForImage2Image",
14
+ "EasyPipelineForInpainting",
15
+ "EasyPipelineForText2Image",
16
+ "load_pipeline_from_single_file",
17
+ "search_civitai",
18
+ "search_huggingface",
19
+ ]