From 4cd3888e9b614a552d7d1ff98d9fb4e7887b4ac9 Mon Sep 17 00:00:00 2001
From: Concedo <39025047+LostRuins@users.noreply.github.com>
Date: Sun, 31 May 2026 01:30:43 +0800
Subject: [PATCH] increase frame limit
---
embd_res/kcpp_sdui.embd | 24 ++++++++++++------------
koboldcpp.py | 2 +-
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/embd_res/kcpp_sdui.embd b/embd_res/kcpp_sdui.embd
index 977847e3c..cf3183b03 100644
--- a/embd_res/kcpp_sdui.embd
+++ b/embd_res/kcpp_sdui.embd
@@ -5,18 +5,18 @@
Stable UI for KoboldCpp
-
diff --git a/koboldcpp.py b/koboldcpp.py
index b5decc098..4c5ab5257 100644
--- a/koboldcpp.py
+++ b/koboldcpp.py
@@ -2810,7 +2810,7 @@ def sd_generate(genparams):
if flow_shift is not None and flow_shift < 0:
flow_shift = None # fall back to the default
sample_steps = (1 if sample_steps < 1 else (forced_steplimit if sample_steps > forced_steplimit else sample_steps))
- vid_req_frames = (1 if vid_req_frames < 1 else (160 if vid_req_frames > 160 else vid_req_frames))
+ vid_req_frames = (1 if vid_req_frames < 1 else (400 if vid_req_frames > 400 else vid_req_frames))
vid_fps = (16 if vid_fps < 16 else (24 if vid_fps > 24 else vid_fps))
swap_refimg = (True if tryparseint(genparams.get("send_as_refimg", 0),0) else False)