Remove redundant format

This commit is contained in:
somebody
2022-11-24 23:39:52 -06:00
parent b580e9e8f9
commit 61b9bdcf98

View File

@@ -9378,7 +9378,7 @@ def text2img_api(prompt,
"height": 512,
"steps": koboldai_vars.img_gen_steps,
"cfg_scale": koboldai_vars.img_gen_cfg_scale,
"negative_prompt": "{}".format(koboldai_vars.img_gen_negative_prompt),
"negative_prompt": koboldai_vars.img_gen_negative_prompt,
"sampler_index": "Euler a"
}
apiaddress = '{}/sdapi/v1/txt2img'.format(koboldai_vars.img_gen_api_url.rstrip("/"))