File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ diffusers:
2121
2222If 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
2827Then in your `` .env `` file uncomment this line.
@@ -32,14 +31,13 @@ COMPEL=0
3231
3332After 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
3937Then to download and setup the model, Just send in a normal `` OpenAI `` request! LocalAI will do the rest!
4038``` bash
4139curl 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```
You can’t perform that action at this time.
0 commit comments