InvokeAI/frontend
psychedelicious b1091ecda1 Fixes failed canvas generation when gallery is empty
There was some old logic from before Unified Canvas which aborted generation when there was no currentImage. 

If you have an image in the gallery, there is always a currentImage. But if gallery is empty, there is no currentImage. Generation would silently fail in this case.

We apparently never tested with an empty gallery and thus never ran into the issue. This removes this old and now-unused logic.
2022-12-01 22:29:56 -05:00
..
dist Fixes failed canvas generation when gallery is empty 2022-12-01 22:29:56 -05:00
patches Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
src Fixes failed canvas generation when gallery is empty 2022-12-01 22:29:56 -05: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
eslintconfig.json Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05: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.json Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
README.md Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
tsconfig.json Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
tsconfig.node.json Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
vite.config.ts Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
yarn.lock Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05: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"