fix: sd interrupt
This commit is contained in:
parent
37b4f5d96a
commit
2d2ffb8588
|
@ -155,7 +155,7 @@ export async function sdImg2Img(
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
if (await AsyncX.promiseState(request) === "pending") {
|
if (await AsyncX.promiseState(request) === "pending") {
|
||||||
await fetchSdApi(api, "sdapi/v1/interrupt", { timeoutMs: 10_000 });
|
await fetchSdApi(api, "sdapi/v1/interrupt", { body: {}, timeoutMs: 10_000 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue