InvokeAI/frontend
psychedelicious 21483f5d07 Fixes silent crash when init image too large
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.
2022-11-02 16:40:47 -04:00
..
dist Fixes bugs/styling 2022-11-02 16:40:47 -04:00
src Fixes silent crash when init image too large 2022-11-02 16:40:47 -04:00
.eslintrc.cjs React web UI with flask-socketio API (#429) 2022-09-16 13:18:15 -04:00
.gitignore Fix WebUI Not Working 2022-10-07 08:09:55 +13:00
favicon.ico Add New WebUI and Desktop Mode 2022-10-03 23:28:53 -04:00
index.d.ts React web UI with flask-socketio API (#429) 2022-09-16 13:18:15 -04:00
index.html Add New WebUI and Desktop Mode 2022-10-03 23:28:53 -04:00
package-lock.json update frontend 2022-11-01 17:39:08 -04:00
package.json Merges development 2022-10-29 04:25:26 +11:00
README.md Updates frontend README 2022-10-04 20:55:34 -04:00
tsconfig.json React web UI with flask-socketio API (#429) 2022-09-16 13:18:15 -04:00
tsconfig.node.json React web UI with flask-socketio API (#429) 2022-09-16 13:18:15 -04:00
vite.config.ts Changes vite dist asset paths to relative 2022-10-20 20:17:34 +08:00
yarn.lock [WebUI] Loopback Default False 2022-11-02 16:40:47 -04:00

Stable Diffusion Web UI

Run

Evironment

Install node (includes npm) and optionally yarn.

From frontend/ run npm install / yarn install to install the frontend packages.

Dev

  1. From frontend/, run npm dev / yarn dev to start the dev server.
  2. Run python scripts/dream.py --web.
  3. 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"