mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-03 22:24:19 +01:00
Are Tests
This commit is contained in:
parent
821e0bc977
commit
852a6a344f
89
LICENSE
89
LICENSE
|
|
@ -1,89 +0,0 @@
|
|||
License
|
||||
|
||||
Copyright (c) 2022
|
||||
|
||||
Section I
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
The person obtaining a copy of the Software meets the Use-based restrictions
|
||||
as referenced in Section II paragraph 1.
|
||||
|
||||
The person obtaining a copy of the Software accepts that the Model or
|
||||
Derivatives of the Model (as defined in the "CreativeML Open RAIL-M" license
|
||||
accompanying this License) are subject to Section II paragraph 1.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
Section II
|
||||
|
||||
1. Use-based restrictions. The restrictions set forth in Attachment A are
|
||||
considered Use-based restrictions. Therefore the person obtaining a copy of the
|
||||
Software cannot use the Software for the specified restricted uses. The person
|
||||
obtaining a copy of the Software may use the Software only for lawful purposes.
|
||||
|
||||
2. Except as set forth herein, the authors or copyright holders claim no rights
|
||||
in the results of operating the Software. The person obtaining a copy of the
|
||||
Software is accountable for the results of operating the Software and its
|
||||
subsequent uses.
|
||||
|
||||
3. If any provision of this License is held to be invalid, illegal or
|
||||
unenforceable, the remaining provisions shall be unaffected thereby and
|
||||
remain valid as if such provision had not been set forth herein.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Attachment A
|
||||
|
||||
Use Restrictions
|
||||
|
||||
The person obtaining a copy of the Software agrees not to use the Software:
|
||||
- In any way that violates any applicable national, federal, state, local
|
||||
or international law or regulation;
|
||||
- For the purpose of exploiting, harming or attempting to exploit or harm
|
||||
minors in any way;
|
||||
- To generate or disseminate verifiably false information and/or content
|
||||
with the purpose of harming others;
|
||||
- To generate or disseminate personal identifiable information that can
|
||||
be used to harm an individual;
|
||||
- To defame, disparage or otherwise harass others;
|
||||
- For fully automated decision making that adversely impacts an
|
||||
individual’s legal rights or otherwise creates or modifies a binding,
|
||||
enforceable obligation;
|
||||
- For any use intended to or which has the effect of discriminating
|
||||
against or harming individuals or groups based on online or offline
|
||||
social behavior or known or predicted personal or personality
|
||||
characteristics;
|
||||
- To exploit any of the vulnerabilities of a specific group of persons
|
||||
based on their age, social, physical or mental characteristics, in order
|
||||
to materially distort the behavior of a person pertaining to that group
|
||||
in a manner that causes or is likely to cause that person or another
|
||||
person physical or psychological harm;
|
||||
- For any use intended to or which has the effect of discriminating
|
||||
against individuals or groups based on legally protected characteristics
|
||||
or categories;
|
||||
- To provide medical advice and medical results interpretation;
|
||||
- To generate or disseminate information for the purpose to be used for
|
||||
administration of justice, law enforcement, immigration or asylum
|
||||
processes, such as predicting an individual will commit fraud/crime
|
||||
commitment (e.g. by text profiling, drawing causal relationships between
|
||||
assertions made in documents, indiscriminate and arbitrarily-targeted
|
||||
use).
|
||||
46
README.md
46
README.md
|
|
@ -6,50 +6,6 @@ Run Stable Diffusion on your machine with a nice UI without any hassle!
|
|||
|
||||
Visit the wiki for [Setup](https://github.com/AbdBarho/stable-diffusion-webui-docker/wiki/Setup) and [Usage](https://github.com/AbdBarho/stable-diffusion-webui-docker/wiki/Usage) instructions, checkout the [FAQ](https://github.com/AbdBarho/stable-diffusion-webui-docker/wiki/FAQ) page if you face any problems, or create a new issue!
|
||||
|
||||
## Features
|
||||
|
||||
This repository provides multiple UIs for you to play around with stable diffusion:
|
||||
|
||||
### [AUTOMATIC1111](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
|
||||
|
||||
[Full feature list here](https://github.com/AUTOMATIC1111/stable-diffusion-webui-feature-showcase), Screenshots:
|
||||
|
||||
| Text to image | Image to image | Extras |
|
||||
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
||||
|  |  |  |
|
||||
|
||||
### [InvokeAI (lstein)](https://github.com/invoke-ai/InvokeAI)
|
||||
|
||||
[Full feature list here](https://github.com/invoke-ai/InvokeAI#features), Screenshots:
|
||||
|
||||
| Text to image | Image to image | Extras |
|
||||
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
||||
|  |  |  |
|
||||
|
||||
### [Sygil (sd-webui / hlky)](https://github.com/Sygil-Dev/sygil-webui)
|
||||
|
||||
[Full feature list here](https://github.com/Sygil-Dev/sygil-webui/blob/master/README.md), Screenshots:
|
||||
|
||||
| Text to image | Image to image | Image Lab |
|
||||
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
||||
|  |  |  |
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributions are welcome! **Create a discussion first of what the problem is and what you want to contribute (before you implement anything)**
|
||||
|
||||
## Disclaimer
|
||||
|
||||
The authors of this project are not responsible for any content generated using this interface.
|
||||
|
||||
This license of this software forbids you from sharing any content that violates any laws, produce any harm to a person, disseminate any personal information that would be meant for harm, spread misinformation and target vulnerable groups. For the full list of restrictions please read [the license](./LICENSE).
|
||||
|
||||
## Thanks
|
||||
|
||||
Special thanks to everyone behind these awesome projects, without them, none of this would have been possible:
|
||||
|
||||
- [AUTOMATIC1111/stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
|
||||
- [InvokeAI](https://github.com/invoke-ai/InvokeAI)
|
||||
- [Sygil-webui](https://github.com/Sygil-Dev/sygil-webui)
|
||||
- [CompVis/stable-diffusion](https://github.com/CompVis/stable-diffusion)
|
||||
- and many many more.
|
||||
Special thanks to everyone behind these awesome projects, without them, none of this would have been possible.
|
||||
|
|
@ -5,13 +5,6 @@ x-base_service: &base_service
|
|||
- &v1 ./data:/data
|
||||
- &v2 ./output0:/output0
|
||||
- &v3 ./output1:/output1
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
device_ids: ['0,1']
|
||||
capabilities: [gpu]
|
||||
|
||||
name: webui-docker-multi-gpu
|
||||
|
||||
|
|
@ -29,6 +22,13 @@ services:
|
|||
image: sd-auto-0:33
|
||||
ports:
|
||||
- "7860:7860"
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
device_ids: ['0']
|
||||
capabilities: [gpu]
|
||||
environment:
|
||||
- CLI_ARGS=--allow-code --xformers --enable-insecure-extension-access --api --device-id 0 --port 7860
|
||||
|
||||
|
|
@ -39,5 +39,12 @@ services:
|
|||
image: sd-auto-1:33
|
||||
ports:
|
||||
- "7861:7861"
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
device_ids: ['1']
|
||||
capabilities: [gpu]
|
||||
environment:
|
||||
- CLI_ARGS=--allow-code --xformers --enable-insecure-extension-access --api --device-id 1 --port 7861
|
||||
|
|
@ -90,4 +90,4 @@ WORKDIR ${ROOT}
|
|||
ENV CLI_ARGS=""
|
||||
EXPOSE 7860
|
||||
ENTRYPOINT ["/docker/entrypoint.sh"]
|
||||
CMD python3 -u webui.py --listen --port 7860 ${CLI_ARGS}
|
||||
CMD python3 -u webui.py --listen --port 7860 ${CLI_ARGS}
|
||||
Loading…
Reference in a new issue