Commit 0c961014 authored by 周成波's avatar 周成波

后台默认加脸部修复,就不在前端改了

parent 5654bf4b
...@@ -36,15 +36,6 @@ export default { ...@@ -36,15 +36,6 @@ export default {
width: string = "960", width: string = "960",
height: string = "512", height: string = "512",
cfg_scale: string = "9", cfg_scale: string = "9",
alwayson_scripts: any = {
"ADetailer": {
"args": [
{
"ad_model": "mediapipe_face_full"
}
]
}
},
): Promise<string> { ): Promise<string> {
if (!prompt) { if (!prompt) {
return Promise.reject("SD提示词不能为空"); return Promise.reject("SD提示词不能为空");
...@@ -60,7 +51,6 @@ export default { ...@@ -60,7 +51,6 @@ export default {
width: width, width: width,
height: height, height: height,
cfg_scale: cfg_scale, cfg_scale: cfg_scale,
alwayson_scripts: alwayson_scripts,
} }
return request.post('/text2video/text2img', post_data) return request.post('/text2video/text2img', post_data)
.then((res: any) => { .then((res: any) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment