Add Content-Type to SD request.

This commit is contained in:
Yuhwan Kim
2023-05-08 09:11:57 +09:00
parent b1a2817ece
commit 259d0bba98

View File

@@ -129,6 +129,9 @@ export async function stableDiff(currentChar:character,prompt:string){
"prompt": prompts.join(','), "prompt": prompts.join(','),
"negative_prompt": neg, "negative_prompt": neg,
'sampler_name': db.sdConfig.sampler_name 'sampler_name': db.sdConfig.sampler_name
},
headers:{
'Content-Type': 'application/json'
} }
}) })