This repository was archived by the owner on Apr 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,18 @@ Go to `config.json` and set the key `"sync"` to `false`.
138
138
It should look like this:
139
139
140
140
``` json
141
- "sync" : false
141
+ "sync" : false ,
142
+ ```
143
+ </details >
144
+
145
+ <details ><summary >Change chatbot drawing model</summary >
146
+
147
+ Go to ` config.json ` and set the key ` "image_model" ` to a model that you find [ here] ( https://aqualxx.github.io/stable-ui/ ) .
148
+
149
+ It should look like this:
150
+
151
+ ``` json
152
+ "image_model" : " stable_diffusion_2.1"
142
153
```
143
154
</details >
144
155
Original file line number Diff line number Diff line change 2
2
"chatbot" : true ,
3
3
"model" : " gpt-3.5-turbo" ,
4
4
"loading_gif" : " https://tenor.com/view/loading-gif-9212724" ,
5
- "sync" : true
5
+ "sync" : true ,
6
+ "image_model" : " stable_diffusion_2.1"
6
7
}
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ async def on_message(message):
88
88
await imagine_horde (
89
89
FakeCtx (message ), # NOQA
90
90
prompt = prompt ,
91
- model = app_commands .Choice (name = "Stable Diffusion" , value = "stable_diffusion_2.1" )
91
+ model = app_commands .Choice (name = config [ "image_model" ] , value = config [ "image_model" ] )
92
92
)
93
93
94
94
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ def configure():
39
39
"chatbot" : True ,
40
40
"model" : "gpt-3.5-turbo" ,
41
41
"loading_gif" : "https://tenor.com/view/loading-gif-9212724" ,
42
- "sync" : True
42
+ "sync" : True ,
43
+ "image_model" : "stable_diffusion_2.1"
43
44
}
44
45
# Set a variable to store new config
45
46
config = default_config # add .copy() if you want it to be separate
You can’t perform that action at this time.
0 commit comments