Spaces:
Running
Running
Commit History
-
editor: remove summary / key-terms / self-check (round 3)
ClaudeAccessibility team's round-three asks: * "Summary Field — redundant, remove" (now subsumed by the new detailed description paragraph from PR 2) * "Key Terms — REMOVE. This replicates the glossary." * "Self-check questions — REMOVE! This is an academic role and such questions are better placed in the platform." Scope of removal: * Editor (review.html): drops the summary <input>, the key-terms list editor block, the self-check-questions list editor block, the related CSS rules (.vgm-key-term-row, .vgm-self-check-row), the readState/applyState/syncBindings hooks, the makeKeyTermRow / makeSelfCheckRow row factories, the add-key-term / add-self-check click handlers, and the entire glossary/highlight injection inside buildFinalHTML. * Published guide (guide.html): drops the "In brief:" advance organizer, the self-check <details> block, the bottom glossary section, the highlight_terms filter usage on narration, and the build_glossary call at the top of <main>. * LLM (ll…b863381
-
Skip Tesseract when llm_ocr_text will overwrite its output anyway
ClaudeWhen the user enables Claude's on-screen-text toggle and isn't using topic segmentation, the Tesseract pass is pure waste — its result gets discarded by the LLM-OCR override step a few stages later. That's ~200ms per frame on the HF CPU tier, billed in wall-clock delay every job. Add _llm_will_replace_tesseract(inputs) and short-circuit the OCR loop when it returns True. Topic-segmentation mode keeps Tesseract because the primary-frame picker pools scenes by OCR character count to push talking-head shots out of the way — skipping there would regress the talking-head fix. skip_ocr still wins overall, and a missing API key keeps Tesseract running since the LLM call would no-op. Five focused tests pin every combination of the three relevant inputs (api key, llm_ocr_text toggle, topic_segmentation toggle).496ac75