remove size selector

This commit is contained in:
Qing
2023-03-25 14:11:00 +08:00
parent 1a8754e314
commit b12c3708c2
4 changed files with 1 additions and 98 deletions

View File

@@ -10,7 +10,6 @@ export default async function inpaint(
croperRect: Rect,
prompt?: string,
negativePrompt?: string,
sizeLimit?: string,
seed?: number,
maskBase64?: string,
customMask?: File,
@@ -94,12 +93,6 @@ export default async function inpaint(
settings.controlnetConditioningScale.toString()
)
if (sizeLimit === undefined) {
fd.append('sizeLimit', '1080')
} else {
fd.append('sizeLimit', sizeLimit)
}
try {
const res = await fetch(`${API_ENDPOINT}/inpaint`, {
method: 'POST',