mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
21483f5d07
To send the mask to the server, the UI rendered the mask onto the init image and sent the whole image. The mask was then cropped by the server. If the image was too large, the app silently failed. Maybe it exceeds the websocket size limit. Fixed by cropping the mask in the UI layer, sending only bounding-box-sized mask image data. |
||
---|---|---|
.. | ||
dist | ||
src | ||
.eslintrc.cjs | ||
.gitignore | ||
favicon.ico | ||
index.d.ts | ||
index.html | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts | ||
yarn.lock |
Stable Diffusion Web UI
Run
python scripts/dream.py --web
serves both frontend and backend at http://localhost:9090
Evironment
Install node (includes npm) and optionally yarn.
From frontend/
run npm install
/ yarn install
to install the frontend
packages.
Dev
- From
frontend/
, runnpm dev
/yarn dev
to start the dev server. - Run
python scripts/dream.py --web
. - Navigate to the dev server address e.g.
http://localhost:5173/
.
To build for dev: npm build-dev
/ yarn build-dev
To build for production: npm build
/ yarn build
TODO
- Search repo for "TODO"