From 6d8da30e0a27ae4c3c63e7b9ddf6c61cefe1a5b0 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Wed, 16 Aug 2023 22:58:53 +0200 Subject: [PATCH] Lower preview size once again --- roop/uis/components/preview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roop/uis/components/preview.py b/roop/uis/components/preview.py index 2db4baf09..eb24d39f4 100644 --- a/roop/uis/components/preview.py +++ b/roop/uis/components/preview.py @@ -109,7 +109,7 @@ def extract_preview_frame(temp_frame: Frame) -> Frame: return temp_frame -def reduce_preview_frame(temp_frame: Frame, max_height: int = 640) -> Frame: +def reduce_preview_frame(temp_frame: Frame, max_height: int = 480) -> Frame: height, width = temp_frame.shape[:2] if height > max_height: scale = max_height / height