readme
This commit is contained in:
parent
cbca25acd3
commit
417a43a256
|
@ -6,19 +6,20 @@ this is a txt2img bot running on tami telegram channel
|
||||||
|
|
||||||
supported invocation:
|
supported invocation:
|
||||||
`/draw <text>` - send prompt text to the bot and it will draw an image
|
`/draw <text>` - send prompt text to the bot and it will draw an image
|
||||||
you can add `negative_prompt` using `ng[<text>]`
|
you can add `negative_prompt` using `ng <text>`
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
`/draw a city street`
|
`/draw a city street`
|
||||||
and without people
|
and without people
|
||||||
`/draw a city street ng[people]`
|
`/draw a city street ng people`
|
||||||
|
|
||||||
to change the model use:
|
to change the model use:
|
||||||
`/getmodels` - to get a list of models and then click to set it.
|
`/getmodels` - to get a list of models and then click to set it.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
note on [negative_prompt](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Negative-prompt) (aka ng):
|
note1: Anything after ng will be considered as nergative prompt. a.k.a things you do not want to see in your diffusion!
|
||||||
|
note2: on [negative_prompt](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Negative-prompt) (aka ng):
|
||||||
thia is a bit of a black art. i took the recommended defaults for the `Deliberate` model from this fun [alt-model spreadsheet](https://docs.google.com/spreadsheets/d/1Q0bYKRfVOTUHQbUsIISCztpdZXzfo9kOoAy17Qhz3hI/edit#gid=797387129).
|
thia is a bit of a black art. i took the recommended defaults for the `Deliberate` model from this fun [alt-model spreadsheet](https://docs.google.com/spreadsheets/d/1Q0bYKRfVOTUHQbUsIISCztpdZXzfo9kOoAy17Qhz3hI/edit#gid=797387129).
|
||||||
and you (currntly) can only ADD to it, not replace.
|
and you (currntly) can only ADD to it, not replace.
|
||||||
|
|
||||||
|
|
2
main.py
2
main.py
|
@ -36,7 +36,7 @@ def slice_positive_negative(string):
|
||||||
return positive, negative
|
return positive, negative
|
||||||
else:
|
else:
|
||||||
return string, "null" # if we are missing the ng bad thing happen....
|
return string, "null" # if we are missing the ng bad thing happen....
|
||||||
|
#POSSIBLE NG [[[[[[[[[[lowres, low resolution, bad resolution, bad, poor quality, bad quality, blurry, bad art, incomplete, logo, signature, text, jpeg artifacts, compression artifacts,child, childish]]]]]]]]]]
|
||||||
|
|
||||||
@app.on_message(filters.command(["draw"]))
|
@app.on_message(filters.command(["draw"]))
|
||||||
def draw(client, message):
|
def draw(client, message):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user