Update README.md
This commit is contained in:
@@ -32,6 +32,9 @@ Setup bot as usually, environment setup is described later
|
|||||||
### If hosting locally:
|
### If hosting locally:
|
||||||
Create `.env` file in root of bot directory
|
Create `.env` file in root of bot directory
|
||||||
|
|
||||||
|
### Important
|
||||||
|
Remember to run `/start` command in bot from admin account to set everything up after filling environment and running it.
|
||||||
|
|
||||||
## Environment
|
## Environment
|
||||||
```env
|
```env
|
||||||
TOKEN=
|
TOKEN=
|
||||||
@@ -87,7 +90,10 @@ Password to encrypt some database fields. Do not share it.
|
|||||||
Type `/start` in new bot PM to set up everything.
|
Type `/start` in new bot PM to set up everything.
|
||||||
|
|
||||||
Install [AUTOMATIC1111 webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
|
Install [AUTOMATIC1111 webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
|
||||||
and run it with `--api` argument (for me arguments are `--no-half --xformers --api --listen` to properly work with newer SD models and work in local network)
|
and run it with `--api` argument (for me arguments are `--no-half --xformers --api --listen` to properly work with newer SD models and work in local network).
|
||||||
|
Make sure that `Add model name to generation information` is enabled in settings!
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
Run `/setendpoint http://endpoint_address:port`. For me now it is `http://192.168.50.30:7860`, WITHOUT BACKSLASH at the end
|
Run `/setendpoint http://endpoint_address:port`. For me now it is `http://192.168.50.30:7860`, WITHOUT BACKSLASH at the end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user