Add README

This commit is contained in:
cofob 2024-01-06 09:38:07 +07:00
parent 16b3903d80
commit 0505146563
Signed by: cofob
GPG Key ID: ACAD4265E193794D
1 changed files with 6 additions and 2 deletions

View File

@ -25,6 +25,8 @@ The modified API.py file can do the following:
5. Eris Imagelimit:
- Will resize and limit every request down to 1024px max on height and width, keeping the aspect ratio. Also reduces Steps down to 35 if the set Steps exceeds 35
- Compatible with TRTpatch. Please read the Readme in the `TRT-Patch` folder for the additional instructions
6. Eris AntiChildPorn:
- Will prevent the generation of child porn images.
# Enabling the Modifications
@ -38,11 +40,12 @@ eris_imagelog = False
eris_consolelog = False
eris_TRTpatch = False
eris_imagelimit = False
eris_antichildporn = False
```
Change the `False` to `True` to enable any of the modifications.
For example to enable the Promptlog and Imagelog:
For example to enable the Promptlog, Imagelog and AntiChildPorn:
```python
eris_promtlog = True
@ -50,6 +53,7 @@ eris_imagelog = True
eris_consolelog = False
eris_TRTpatch = False
eris_imagelimit = False
eris_antichildporn = True
```
Don't forget to save the `api.py` file again and (re)start your A1111 Stable-difussion
@ -57,4 +61,4 @@ Don't forget to save the `api.py` file again and (re)start your A1111 Stable-dif
::: warn
Additional and !!**__necessary__**!! Instructions for the TRT-Patch are in the `TRT-Patch` Folder
:::
:::