Skip to content

Commit

Permalink
add skip-lang
Browse files Browse the repository at this point in the history
  • Loading branch information
zyddnys committed May 10, 2024
1 parent b5f91d9 commit e7f253e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manga_translator/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def _format_action_invocation(self, action: argparse.Action) -> str:
parser.add_argument('--overwrite', action='store_true', help='Overwrite already translated images in batch mode.')
parser.add_argument('--skip-no-text', action='store_true', help='Skip image without text (Will not be saved).')
parser.add_argument('--model-dir', default=None, type=dir_path, help='Model directory (by default ./models in project root)')
parser.add_argument('--skip-lang', default=None, type=str, help='Skip translation if source image is one of the provide languages, use comma to separate multiple languages. Example: JPN,ENG')

g = parser.add_mutually_exclusive_group()
g.add_argument('--use-gpu', action='store_true', help='Turn on/off gpu (auto switch between mps and cuda)')
Expand Down

0 comments on commit e7f253e

Please sign in to comment.