Skip to content

Commit

Permalink
add model and whisper args to mod result meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadangdut33 committed Nov 28, 2023
1 parent 6c43e6a commit c2f51c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions speech_translate/utils/audio/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -1177,6 +1177,8 @@ def run_mod():
"model": model_name_tc,
"using_faster_whisper": sj.cache["use_faster_whisper"],
"time": time() - start,
"model_args": model_args,
"whisper_args": mod_args,
}
f.write(json.dumps(meta, ensure_ascii=False, indent=4))
logger.debug("saved metadata")
Expand Down

0 comments on commit c2f51c3

Please sign in to comment.