mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Merge branch 'main' into refactor/model_manager_instantiate
This commit is contained in:
commit
1f9e984b0d
13
README.md
13
README.md
@ -184,8 +184,9 @@ the command `npm install -g yarn` if needed)
|
|||||||
6. Configure InvokeAI and install a starting set of image generation models (you only need to do this once):
|
6. Configure InvokeAI and install a starting set of image generation models (you only need to do this once):
|
||||||
|
|
||||||
```terminal
|
```terminal
|
||||||
invokeai-configure
|
invokeai-configure --root .
|
||||||
```
|
```
|
||||||
|
Don't miss the dot at the end!
|
||||||
|
|
||||||
7. Launch the web server (do it every time you run InvokeAI):
|
7. Launch the web server (do it every time you run InvokeAI):
|
||||||
|
|
||||||
@ -193,15 +194,9 @@ the command `npm install -g yarn` if needed)
|
|||||||
invokeai-web
|
invokeai-web
|
||||||
```
|
```
|
||||||
|
|
||||||
8. Build Node.js assets
|
8. Point your browser to http://localhost:9090 to bring up the web interface.
|
||||||
|
|
||||||
```terminal
|
9. Type `banana sushi` in the box on the top left and click `Invoke`.
|
||||||
cd invokeai/frontend/web/
|
|
||||||
yarn vite build
|
|
||||||
```
|
|
||||||
|
|
||||||
9. Point your browser to http://localhost:9090 to bring up the web interface.
|
|
||||||
10. Type `banana sushi` in the box on the top left and click `Invoke`.
|
|
||||||
|
|
||||||
Be sure to activate the virtual environment each time before re-launching InvokeAI,
|
Be sure to activate the virtual environment each time before re-launching InvokeAI,
|
||||||
using `source .venv/bin/activate` or `.venv\Scripts\activate`.
|
using `source .venv/bin/activate` or `.venv\Scripts\activate`.
|
||||||
|
@ -192,8 +192,10 @@ manager, please follow these steps:
|
|||||||
your outputs.
|
your outputs.
|
||||||
|
|
||||||
```terminal
|
```terminal
|
||||||
invokeai-configure
|
invokeai-configure --root .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Don't miss the dot at the end of the command!
|
||||||
|
|
||||||
The script `invokeai-configure` will interactively guide you through the
|
The script `invokeai-configure` will interactively guide you through the
|
||||||
process of downloading and installing the weights files needed for InvokeAI.
|
process of downloading and installing the weights files needed for InvokeAI.
|
||||||
@ -225,12 +227,6 @@ manager, please follow these steps:
|
|||||||
|
|
||||||
!!! warning "Make sure that the virtual environment is activated, which should create `(.venv)` in front of your prompt!"
|
!!! warning "Make sure that the virtual environment is activated, which should create `(.venv)` in front of your prompt!"
|
||||||
|
|
||||||
=== "CLI"
|
|
||||||
|
|
||||||
```bash
|
|
||||||
invokeai
|
|
||||||
```
|
|
||||||
|
|
||||||
=== "local Webserver"
|
=== "local Webserver"
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -243,6 +239,12 @@ manager, please follow these steps:
|
|||||||
invokeai --web --host 0.0.0.0
|
invokeai --web --host 0.0.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "CLI"
|
||||||
|
|
||||||
|
```bash
|
||||||
|
invokeai
|
||||||
|
```
|
||||||
|
|
||||||
If you choose the run the web interface, point your browser at
|
If you choose the run the web interface, point your browser at
|
||||||
http://localhost:9090 in order to load the GUI.
|
http://localhost:9090 in order to load the GUI.
|
||||||
|
|
||||||
|
@ -13,7 +13,8 @@ import { socketSubscribed, socketUnsubscribed } from './actions';
|
|||||||
export const socketMiddleware = () => {
|
export const socketMiddleware = () => {
|
||||||
let areListenersSet = false;
|
let areListenersSet = false;
|
||||||
|
|
||||||
let socketUrl = `ws://${window.location.host}`;
|
const wsProtocol = window.location.protocol === 'https:' ? 'wss' : 'ws';
|
||||||
|
let socketUrl = `${wsProtocol}://${window.location.host}`;
|
||||||
|
|
||||||
const socketOptions: Parameters<typeof io>[0] = {
|
const socketOptions: Parameters<typeof io>[0] = {
|
||||||
timeout: 60000,
|
timeout: 60000,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user