feat/raise-target-clips-limit #12
2 changed files with 2 additions and 2 deletions
|
|
@ -2467,7 +2467,7 @@ async def process_endpoint(
|
|||
detail=f"{name} must be between {lo:g} and {hi:g}")
|
||||
return int(val) if integer else val
|
||||
|
||||
n_clips = _gen_control(target_clips, "target_clips", 1, 15, integer=True)
|
||||
n_clips = _gen_control(target_clips, "target_clips", 1, 31, integer=True)
|
||||
min_secs = _gen_control(clip_min_seconds, "clip_min_seconds", 5, 175)
|
||||
max_secs = _gen_control(clip_max_seconds, "clip_max_seconds", 10, 180)
|
||||
if min_secs is not None and max_secs is not None and max_secs < min_secs + 5:
|
||||
|
|
|
|||
|
|
@ -413,7 +413,7 @@ export default function MediaInput({ onProcess, isProcessing }) {
|
|||
<div>
|
||||
<p className="eyebrow mb-1.5">clips to aim for</p>
|
||||
<input
|
||||
type="number" min="1" max="15" step="1"
|
||||
type="number" min="1" max="31" step="1"
|
||||
value={targetClips}
|
||||
onChange={(e) => setTargetClips(e.target.value)}
|
||||
placeholder="auto"
|
||||
|
|
|
|||
Loading…
Reference in a new issue