InvokeAI/invokeai/frontend/web
Lincoln Stein 2f9dcd7906 support both epsilon and v-prediction v2 inference
There are actually two Stable Diffusion v2 legacy checkpoint
configurations:

1) "epsilon" prediction type for Stable Diffusion v2 Base
2) "v-prediction" type for Stable Diffusion v2-768

This commit adds the configuration file needed for epsilon prediction
type models as well as the UI that prompts the user to select the
appropriate configuration file when the code can't do so
automatically.
2023-03-05 22:51:40 -05:00
..
.husky support both epsilon and v-prediction v2 inference 2023-03-05 22:51:40 -05:00
.yarn/releases all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
dist support both epsilon and v-prediction v2 inference 2023-03-05 22:51:40 -05:00
patches all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
public/locales support both epsilon and v-prediction v2 inference 2023-03-05 22:51:40 -05:00
src support both epsilon and v-prediction v2 inference 2023-03-05 22:51:40 -05:00
__init__.py all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.babelrc all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.eslintignore all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.eslintrc.js all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.gitignore all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.prettierignore all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.prettierrc.js all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.yarnrc all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.yarnrc.yml all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
favicon.ico all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
index.d.ts all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
index.html all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
package.json fix issue with invokeai.version 2023-03-03 01:34:38 -05:00
README.md all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
stats.html support both epsilon and v-prediction v2 inference 2023-03-05 22:51:40 -05:00
tsconfig.json all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
tsconfig.node.json all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
vite.config.ts all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
yarn.lock all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00

InvokeAI UI dev setup

The UI is in invokeai/frontend.

Environment set up

Install node (includes npm) and yarn.

From invokeai/frontend/ run yarn install --immutable to get everything set up.

Dev

  1. Start the dev server: yarn dev
  2. Start the InvokeAI UI per usual: invokeai --web
  3. Point your browser to the dev server address e.g. http://localhost:5173/

To build for dev: yarn build-dev

To build for production: yarn build