From 09966700201863ce1696e93f92eb8e9769602b35 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sat, 11 Apr 2026 23:40:47 +0200 Subject: [PATCH] fix: random portrait always uses 9:16 Co-Authored-By: Claude Sonnet 4.6 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 705da71..4134950 100755 --- a/main.py +++ b/main.py @@ -1689,7 +1689,7 @@ class MainWindow(QMainWindow): n_portrait = max(1, n_clips // 3) indices = random.sample(range(n_clips), n_portrait) for idx in indices: - rand_ratio = random.choice(list(_RATIOS.keys())) + rand_ratio = "9:16" rand_center = random.random() s, o, _, _ = jobs[idx] jobs[idx] = (s, o, rand_ratio, rand_center)