auto-diffusers


Nameauto-diffusers JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/suzukimain/auto_diffusers
SummaryCustomized diffusers with model search and other functions.
upload_time2024-09-20 02:09:45
maintainerNone
docs_urlNone
authorsuzukimain
requires_pythonNone
licenseBSD 3-Clause License
keywords diffusers model search deep learning diffusion jax pytorch stable diffusion
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # auto_diffusers

[![GitHub license](https://img.shields.io/badge/license-Apache-blue.svg)](
https://github.com/suzukimain/auto_diffusers/blob/main/LICENSE)


<div>
  <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>  
</div>


>CONTENTS
+ [About The Project](#About_The_Project)
+ [How to use](#How_to_use)
+ [Description](#Description)
+ [License](#License)
+ [Acknowledgement](#Acknowledgement)

## About The Project<a name = "About_The_Project"></a>
Enhance the functionality of diffusers.
* Search models from huggingface and Civitai. 
(etc..)


##  How to use<a name = "How_to_use"></a>

```python
pip install diffusers
pip install auto_diffusers

from diffusers import StableDiffusionPipeline
from auto_diffusers import run_search

model_path = run_search(<keyword>, auto=True, download=False)
pipe = StableDIffusionPipeline.from_single_file(model_path)
```

##  Description<a name = "Description"></a>
> Arguments of `run_search`
> 
| Name           | Type   | Default     | Input Available  | Description |
|:--------------:|:------:|:-----------:|:----------------:|:--------------------------------------------------------:|
| search_word    | string | ー          | [Details](#search-word) | Keywords to search models |
| auto           | bool   | True        | ー                | Minimize user input by selecting the highest-rated models. |
| download       | bool   | False       | ー                | Returns the path where the file was downloaded. |
| model_type     | string | "Checkpoint"| 1. `Checkpoint`<br>2. `TextualInversion`<br>3. `Hypernetwork`<br>4. `AestheticGradient`<br>5. `LORA`<br>6. `Controlnet`<br>7. `Poses` | Valid only in Civitai. |
| return_path    | bool   | True        | ー                | Returns only the path or `[model_path, status_dict]`. |
| branch         | string | "main"      | ー                | Specify the branches of huggingface and civitai. |
| local_file_only| bool   | False       | ー                | Search local folders only. |


<a id="search-word"></a>
<details open>
<summary>search_word</summary>

| Type                         | Description                                                            |
| :--------------------------: | :--------------------------------------------------------------------: |
| keyword                      | Keywords to search model<br>                                           |
| url                          | Can be any URL other than huggingface or Civitai.                      |
| Local directory or file path | Search for files with the extensions: `.safetensors`, `.ckpt`, `.bin`  |
| huggingface path             | The following format: `< creator > / < repo >`                         |

</details>


## License<a name = "License"></a>
In accordance with [BSD-3-Clause license](LICENSE)



## Acknowledgement<a name = "Acknowledgement"></a>

I have used open source resources and free tools in the creation of this project.

I would like to take this opportunity to thank the open source community and those who provided free tools.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/suzukimain/auto_diffusers",
    "name": "auto-diffusers",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "diffusers model search deep learning diffusion jax pytorch stable diffusion",
    "author": "suzukimain",
    "author_email": "subarucosmosmain@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b5/31/76571f85fb7fbe90cb082b4069e4c4d47434b88f19415b6c551f9b0e2a26/auto_diffusers-1.1.0.tar.gz",
    "platform": null,
    "description": "# auto_diffusers\n\n[![GitHub license](https://img.shields.io/badge/license-Apache-blue.svg)](\nhttps://github.com/suzukimain/auto_diffusers/blob/main/LICENSE)\n\n\n<div>\n  <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>  \n</div>\n\n\n>CONTENTS\n+ [About The Project](#About_The_Project)\n+ [How to use](#How_to_use)\n+ [Description](#Description)\n+ [License](#License)\n+ [Acknowledgement](#Acknowledgement)\n\n## About The Project<a name = \"About_The_Project\"></a>\nEnhance the functionality of diffusers.\n* Search models from huggingface and Civitai. \n(etc..)\n\n\n##  How to use<a name = \"How_to_use\"></a>\n\n```python\npip install diffusers\npip install auto_diffusers\n\nfrom diffusers import StableDiffusionPipeline\nfrom auto_diffusers import run_search\n\nmodel_path = run_search(<keyword>, auto=True, download=False)\npipe = StableDIffusionPipeline.from_single_file(model_path)\n```\n\n##  Description<a name = \"Description\"></a>\n> Arguments of `run_search`\n> \n| Name           | Type   | Default     | Input Available  | Description |\n|:--------------:|:------:|:-----------:|:----------------:|:--------------------------------------------------------:|\n| search_word    | string | \u30fc          | [Details](#search-word) | Keywords to search models |\n| auto           | bool   | True        | \u30fc                | Minimize user input by selecting the highest-rated models. |\n| download       | bool   | False       | \u30fc                | Returns the path where the file was downloaded. |\n| model_type     | string | \"Checkpoint\"| 1. `Checkpoint`<br>2. `TextualInversion`<br>3. `Hypernetwork`<br>4. `AestheticGradient`<br>5. `LORA`<br>6. `Controlnet`<br>7. `Poses` | Valid only in Civitai. |\n| return_path    | bool   | True        | \u30fc                | Returns only the path or `[model_path, status_dict]`. |\n| branch         | string | \"main\"      | \u30fc                | Specify the branches of huggingface and civitai. |\n| local_file_only| bool   | False       | \u30fc                | Search local folders only. |\n\n\n<a id=\"search-word\"></a>\n<details open>\n<summary>search_word</summary>\n\n| Type                         | Description                                                            |\n| :--------------------------: | :--------------------------------------------------------------------: |\n| keyword                      | Keywords to search model<br>                                           |\n| url                          | Can be any URL other than huggingface or Civitai.                      |\n| Local directory or file path | Search for files with the extensions: `.safetensors`, `.ckpt`, `.bin`  |\n| huggingface path             | The following format: `< creator > / < repo >`                         |\n\n</details>\n\n\n## License<a name = \"License\"></a>\nIn accordance with [BSD-3-Clause license](LICENSE)\n\n\n\n## Acknowledgement<a name = \"Acknowledgement\"></a>\n\nI have used open source resources and free tools in the creation of this project.\n\nI would like to take this opportunity to thank the open source community and those who provided free tools.\n\n\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License",
    "summary": "Customized diffusers with model search and other functions.",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://github.com/suzukimain/auto_diffusers"
    },
    "split_keywords": [
        "diffusers",
        "model",
        "search",
        "deep",
        "learning",
        "diffusion",
        "jax",
        "pytorch",
        "stable",
        "diffusion"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "33518d250ddb447522c527481bcc99f370dfa51d03c5cbb69163036282a50a7e",
                "md5": "64faba224f942eb4b8e853660a92473f",
                "sha256": "7cfc24ad763d38283cc3713e6fa65b44b85a64292863f6f65c2bb837c5d061b5"
            },
            "downloads": -1,
            "filename": "auto_diffusers-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "64faba224f942eb4b8e853660a92473f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 30106,
            "upload_time": "2024-09-20T02:09:44",
            "upload_time_iso_8601": "2024-09-20T02:09:44.008899Z",
            "url": "https://files.pythonhosted.org/packages/33/51/8d250ddb447522c527481bcc99f370dfa51d03c5cbb69163036282a50a7e/auto_diffusers-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b53176571f85fb7fbe90cb082b4069e4c4d47434b88f19415b6c551f9b0e2a26",
                "md5": "c70cb39672272b28d30c9b37d8f4a1b9",
                "sha256": "9d81b4b12a68c1504ec9319182cbb7b6706606ab7f8e6c603a6f421a8a640452"
            },
            "downloads": -1,
            "filename": "auto_diffusers-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "c70cb39672272b28d30c9b37d8f4a1b9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 23367,
            "upload_time": "2024-09-20T02:09:45",
            "upload_time_iso_8601": "2024-09-20T02:09:45.339005Z",
            "url": "https://files.pythonhosted.org/packages/b5/31/76571f85fb7fbe90cb082b4069e4c4d47434b88f19415b6c551f9b0e2a26/auto_diffusers-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-20 02:09:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "suzukimain",
    "github_project": "auto_diffusers",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "auto-diffusers"
}
        
Elapsed time: 0.42491s