summaryrefslogtreecommitdiff
path: root/stable_diffusion.cpp
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2022-11-24 01:16:54 -0500
committerFox Caminiti <fox@foxcam.net>2022-11-24 01:16:54 -0500
commit17bee519ece8fc2bc356956841fed97286d24139 (patch)
treedd09d56fdd7e1d1fca58cbc345414bdfba9c19a6 /stable_diffusion.cpp
parentfd315f15828b8537a48530c094ced845edc3a1d3 (diff)
legwork
Diffstat (limited to 'stable_diffusion.cpp')
-rw-r--r--stable_diffusion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/stable_diffusion.cpp b/stable_diffusion.cpp
index 469a85a..022c3c2 100644
--- a/stable_diffusion.cpp
+++ b/stable_diffusion.cpp
@@ -147,7 +147,7 @@ SD_AssembleJSON(sd_state *SD, char *JSONPayload, void *Base64Bitmap = NULL)
}
if (SD->Mode)
sprintf(JSONPayload, "%s\"%s\": %.2f,\n", JSONPayload, "denoising_strength", SD->DenoisingStrength);
- sprintf(JSONPayload, "%s%s\n", JSONPayload, "\"sampler_index\": \"DDIM\"");
+ sprintf(JSONPayload, "%s%s\n", JSONPayload, "\"sampler_index\": \"DPM++ 2S a Karras\"");
sprintf(JSONPayload, "%s}\n", JSONPayload);
printf("%s\n", JSONPayload);
// sprintf(CurlCommand, "curl -X POST -H 'Content-Type: application/json' -i '%s/sdapi/v1/txt2img' --data '%s'", SD->ServerAddress, JSONPayload);