From 1c2e7fa55966f420bb85206d927ae8db54d9b819 Mon Sep 17 00:00:00 2001 From: Qing Date: Sat, 27 Nov 2021 15:00:49 +0800 Subject: [PATCH] remove resize on frontend --- lama_cleaner/app/src/App.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lama_cleaner/app/src/App.tsx b/lama_cleaner/app/src/App.tsx index 668b09e..27a118a 100644 --- a/lama_cleaner/app/src/App.tsx +++ b/lama_cleaner/app/src/App.tsx @@ -61,13 +61,7 @@ function App() { > { - const { - file: resizedFile, - resized, - originalWidth, - originalHeight, - } = await resizeImageFile(f, 1024) - setFile(resizedFile) + setFile(f) }} />