Skip to content

Commit

Permalink
Auto YAPF with Google python style
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Dec 24, 2024
1 parent c42ceaa commit 16b3da3
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions stream_translator_gpt/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,18 @@ def cli():
default='emoji_filter',
help='Filters apply to whisper results, separated by ",". '
'We provide emoji_filter and japanese_stream_filter.')
parser.add_argument('--openai_api_key',
type=str,
default=None,
help='OpenAI API key if using GPT translation / Whisper API.'
'If you have multiple keys, you can separate them with \",\" and each key will be used in turn.')
parser.add_argument('--google_api_key', type=str, default=None, help='Google API key if using Gemini translation.'
'If you have multiple keys, you can separate them with \",\" and each key will be used in turn.')
parser.add_argument(
'--openai_api_key',
type=str,
default=None,
help='OpenAI API key if using GPT translation / Whisper API.'
'If you have multiple keys, you can separate them with \",\" and each key will be used in turn.')
parser.add_argument(
'--google_api_key',
type=str,
default=None,
help='Google API key if using Gemini translation.'
'If you have multiple keys, you can separate them with \",\" and each key will be used in turn.')
parser.add_argument('--gpt_model',
type=str,
default='gpt-4o-mini',
Expand Down

0 comments on commit 16b3da3

Please sign in to comment.