Add Content-Type to SD request.
This commit is contained in:
@@ -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'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user