update readme
parent
ce12a8c510
commit
3bca644767
19
README.md
19
README.md
|
|
@ -3,7 +3,7 @@
|
|||
* @Date: 2023-08-24 00:06:52
|
||||
* @version:
|
||||
* @LastEditors: SpenserCai
|
||||
* @LastEditTime: 2023-08-24 18:34:25
|
||||
* @LastEditTime: 2023-08-27 15:19:10
|
||||
* @Description: file content
|
||||
-->
|
||||
# SD-WEBUI-DISCORD-EX
|
||||
|
|
@ -51,6 +51,23 @@ You need to install the following extensions on the SD webui:
|
|||
}
|
||||
```
|
||||
|
||||
If you want set default value with sd-webui
|
||||
```json
|
||||
{
|
||||
"sd_webui":{
|
||||
"servers":[...],
|
||||
"default_setting": {
|
||||
"cfg_scale": 8,
|
||||
"negative_prompt": "bad,text,watermask",
|
||||
"height":1024,
|
||||
"width":1024,
|
||||
"steps":32
|
||||
}
|
||||
}
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
4. Restart the Stable Diffusion WebUI.
|
||||
|
||||
5. Find `Discord` tab and click `Start` button to start the Discord bot.
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ Author: SpenserCai
|
|||
Date: 2023-08-23 23:07:15
|
||||
version:
|
||||
LastEditors: SpenserCai
|
||||
LastEditTime: 2023-08-25 00:00:48
|
||||
LastEditTime: 2023-08-27 15:19:56
|
||||
Description: file content
|
||||
'''
|
||||
from modules import script_callbacks, paths_internal
|
||||
|
|
@ -100,8 +100,6 @@ def discord_tab():
|
|||
stop_button.click(inputs=[],outputs=[log],fn=stop_bot,_js=stop_jscode)
|
||||
|
||||
|
||||
|
||||
|
||||
return [(ui,"Discord","Discord")]
|
||||
|
||||
script_callbacks.on_ui_tabs(discord_tab)
|
||||
Loading…
Reference in New Issue