Skip to content

Commit

Permalink
v0.2.5b1
Browse files Browse the repository at this point in the history
  • Loading branch information
wasertech committed Mar 11, 2023
1 parent c28b202 commit ae30ae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion translator/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from translator.translate import Translator
from translator.language import get_nllb_lang

__version__ = "0.2.4b2"
__version__ = "0.2.5b1"

LANGS = get_nllb_lang()
2 changes: 1 addition & 1 deletion translator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def main():
# Report translation
time_after = time.perf_counter()
_td = time_after - time_before
spinner.info(f"All files in {args.directory} have been translated from {args.source} to {args.target}.")
spinner.info(f"All files in {args.directory} have been translated from {_from} to {_to}.")
spinner.info(f"Took {_td:.1f} second(s) to translate over {_ut_ds >> 30} GB (~ {float(_ut_ds >> 27)/_td:.1f} Gb/s).")

if Path(cache).exists(): os.rmdir(cache)
Expand Down

0 comments on commit ae30ae1

Please sign in to comment.