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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user