docs: reorganize README.md

This commit is contained in:
leejet
2024-08-03 12:06:34 +08:00
parent 3d854f7917
commit 5b8d16aa68
8 changed files with 136 additions and 132 deletions

15
docs/docker.md Normal file
View File

@@ -0,0 +1,15 @@
## Docker
### Building using Docker
```shell
docker build -t sd .
```
### Run
```shell
docker run -v /path/to/models:/models -v /path/to/output/:/output sd [args...]
# For example
# docker run -v ./models:/models -v ./build:/output sd -m /models/sd-v1-4.ckpt -p "a lovely cat" -v -o /output/output.png
```