auto-save 2026-05-14 10:25 (~13)

This commit is contained in:
2026-05-14 10:25:50 +08:00
parent be1ae80750
commit 7bfbb38289
13 changed files with 118 additions and 52 deletions

View File

@@ -180,7 +180,7 @@ export default function Home() {
const targetJob = jobs.find((item) => item.id === jobId)
if (!targetJob) return
const frameTarget = frameTargets[jobId] ?? "transparent_human"
const frameCount = frameCounts[jobId] ?? 5
const frameCount = frameCounts[jobId] ?? 12
const frameQuality = frameQualities[jobId] ?? "auto"
const mode = options?.mode ?? (targetJob.frames.length > 0 ? "append" : "replace")
setActiveJobId(jobId)
@@ -892,7 +892,7 @@ export default function Home() {
visual: !!job && (job.frames.length > 0 || (job.generated_videos?.length ?? 0) > 0),
asr: !!job && job.transcript.length > 0,
translate: !!job && (job.transcript.some((s) => s.zh) ?? false),
rewrite: !!job && (job.transcript.some((s) => s.zh) ?? false),
rewrite: !!job && !!job.audio_script?.rewritten_text,
}
setEdges((prev) => prev.map((e) => ({ ...e, animated: !!doneOf[e.source] })))
}, [job, setEdges])