Skip to content

Commit 02e240d

Browse files
authored
Update easy-setup-sd.md
Signed-off-by: lunamidori5 <[email protected]>
1 parent 6e68672 commit 02e240d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/content/howtos/easy-setup-sd.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ diffusers:
2121
2222
If you are using docker, you will need to run in the localai folder with the ``docker-compose.yaml`` file in it
2323
```bash
24-
docker-compose down #windows
25-
docker compose down #linux/mac
24+
docker compose down
2625
```
2726

2827
Then in your ``.env`` file uncomment this line.
@@ -32,14 +31,13 @@ COMPEL=0
3231

3332
After that we can reinstall the LocalAI docker VM by running in the localai folder with the ``docker-compose.yaml`` file in it
3433
```bash
35-
docker-compose up #windows
36-
docker compose up #linux/mac
34+
docker compose up -d
3735
```
3836

3937
Then to download and setup the model, Just send in a normal ``OpenAI`` request! LocalAI will do the rest!
4038
```bash
4139
curl http://localhost:8080/v1/images/generations -H "Content-Type: application/json" -d '{
4240
"prompt": "Two Boxes, 1blue, 1red",
43-
"size": "256x256"
41+
"size": "1024x1024"
4442
}'
4543
```

0 commit comments

Comments
 (0)