From ad0ea32822d15afcaedeafdf40bc2b8c00426499 Mon Sep 17 00:00:00 2001 From: sandlotie <51976642+sandlotie@users.noreply.github.com> Date: Fri, 18 Oct 2024 18:18:08 +0300 Subject: [PATCH] fix: use upscale_ratio instead of hardcoded x2 --- reve-shared/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reve-shared/src/lib.rs b/reve-shared/src/lib.rs index 97fe0f7..b406a1b 100644 --- a/reve-shared/src/lib.rs +++ b/reve-shared/src/lib.rs @@ -138,7 +138,7 @@ impl Video { "-o", &output_path, "-n", - "realesr-animevideov3-x2", + format!("realesr-animevideov3-x{}", self.upscale_ratio).as_str(), "-s", &self.upscale_ratio.to_string(), "-f",