修改默认的迭代次数为20,和webui保持一致
This commit is contained in:
parent
612ff773b5
commit
58f46ea51e
2
bot.py
2
bot.py
|
@ -118,7 +118,7 @@ def app_draw():
|
|||
else:
|
||||
W = 768
|
||||
H = 768
|
||||
ITS = 50
|
||||
ITS = config_json.get('DefaultDiffutionIterations', 20)
|
||||
NUM_PIC = 1
|
||||
|
||||
if W > 2500 or H > 2500:
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"OpenAI-API-Key" : "",
|
||||
"GPT-Model" : "text-davinci-003",
|
||||
"Diffusion-Model" : "stabilityai/stable-diffusion-2-1"
|
||||
"Diffusion-Model" : "stabilityai/stable-diffusion-2-1",
|
||||
"DefaultDiffutionIterations" : 20
|
||||
}
|
Loading…
Reference in New Issue