Update README.md

This commit is contained in:
BarsTiger
2023-03-15 10:44:20 +02:00
committed by GitHub
parent 59de2f6dfb
commit 60ccb426a8

View File

@@ -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!
![](https://user-images.githubusercontent.com/16289552/225164914-8423cab7-6b85-42e8-b799-c89bfe8b7692.png)
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