One folder per meeting (out/<name>/source.*, transcript.txt, meta.json, logs/), out/_global; speaker transcript from DB; throwaway Edge profile; skip shots only when all images exist

This commit is contained in:
Stefano Zini
2026-11-03 16:02:05 +01:00
parent a479853372
commit f855768f1f
11 changed files with 85 additions and 76 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ def run(name, model="large-v3-turbo", lang="it", device="cuda", out_path: Path |
if out_path is not None:
out_path.write_text(txt, encoding="utf-8")
return secs
(db.OUT / f"{name}.txt").write_text(txt, encoding="utf-8")
(db.out_dir(name) / "transcript.txt").write_text(txt, encoding="utf-8")
db.replace_lines(name, [(t, None, x) for t, x in lines])
db.upsert_recording(name, transcribe_device=used, transcribe_s=secs)
return secs