Skip to content

Commit

Permalink
Update translator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospolop authored Jul 18, 2024
1 parent 3c59af1 commit eabd436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def translate_directory(language, source_path, dest_path, model, num_threads, cl
parser.add_argument('-l', '--language', required=True, help='Target language for translation.')
parser.add_argument('-b', '--branch', required=True, help='Branch name to copy translated files.')
parser.add_argument('-k', '--api-key', required=True, help='API key to use.')
parser.add_argument('-m', '--model', default="gpt-3.5-turbo", help='The openai model to use. By default: gpt-3.5-turbo')
parser.add_argument('-m', '--model', default="gpt-4o-mini", help='The openai model to use. By default: gpt-4o-mini')
parser.add_argument('-o', '--org-id', help='The org ID to use (if not set the default one will be used).')
parser.add_argument('-f', '--file-paths', help='If this is set, only the indicated files will be translated (" , " separated).')
parser.add_argument('-n', '--dont-cd', action='store_false', help="If this is true, the script won't change the current directory.")
Expand Down

0 comments on commit eabd436

Please sign in to comment.