update readme

This commit is contained in:
pinks 2023-09-24 17:28:02 +02:00
parent db5b8a6474
commit 18d9bf7b9e
1 changed files with 3 additions and 3 deletions

View File

@ -25,9 +25,9 @@ You can put these in `.env` file or pass them as environment variables.
## Codegen
The Stable Diffusion API in `common/sdApi.ts` is auto-generated. To regenerate it, first start your
SD WebUI with `--nowebui --api`, and then run:
The Stable Diffusion API in `sd/sdApi.ts` is auto-generated. To regenerate it, first start your SD
WebUI with `--nowebui --api`, and then run:
```sh
deno run npm:openapi-typescript http://localhost:7861/openapi.json -o common/sdApi.ts
deno run npm:openapi-typescript http://localhost:7861/openapi.json -o sd/sdApi.ts
```