This commit is contained in:
Qing 2024-01-31 22:14:47 +08:00
parent b4824c6944
commit 5b93bd42dc
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ import {
POWERPAINT,
} from "@/lib/const"
import { RowContainer, LabelTitle } from "./LabelTitle"
import { Minus, Plus, Upload } from "lucide-react"
import { Upload } from "lucide-react"
import { useClickAway } from "react-use"
const ExtenderButton = ({

View File

@ -204,7 +204,7 @@ export async function getSamplers(): Promise<string[]> {
export async function postAdjustMask(
mask: File | Blob,
operate: "expand" | "shrink",
operate: "expand" | "shrink" | "reverse",
kernel_size: number
) {
const maskBase64 = await convertToBase64(mask)