From c54950c05c6a669b5fadbde22711b9232c1470c1 Mon Sep 17 00:00:00 2001 From: Qing Date: Tue, 15 Nov 2022 21:53:16 +0800 Subject: [PATCH] add mask rerun button --- lama_cleaner/app/package.json | 1 + .../app/src/components/Editor/Editor.tsx | 2 +- .../app/src/components/Header/Header.tsx | 85 +++++++++++++------ lama_cleaner/app/src/store/Atoms.tsx | 5 ++ lama_cleaner/app/yarn.lock | 5 ++ lama_cleaner/server.py | 2 +- 6 files changed, 70 insertions(+), 30 deletions(-) diff --git a/lama_cleaner/app/package.json b/lama_cleaner/app/package.json index 47c148e..92d7905 100644 --- a/lama_cleaner/app/package.json +++ b/lama_cleaner/app/package.json @@ -6,6 +6,7 @@ "dependencies": { "@heroicons/react": "^1.0.4", "@radix-ui/react-dialog": "0.1.8-rc.25", + "@radix-ui/react-icons": "^1.1.1", "@radix-ui/react-popover": "^1.0.0", "@radix-ui/react-select": "0.1.2-rc.27", "@radix-ui/react-switch": "^0.1.5", diff --git a/lama_cleaner/app/src/components/Editor/Editor.tsx b/lama_cleaner/app/src/components/Editor/Editor.tsx index 22da920..003313b 100644 --- a/lama_cleaner/app/src/components/Editor/Editor.tsx +++ b/lama_cleaner/app/src/components/Editor/Editor.tsx @@ -1229,7 +1229,7 @@ export default function Editor() { onClick={download} /> - {settings.runInpaintingManually && ( + {settings.runInpaintingManually && !isSD && ( - + +