This commit is contained in:
unknown
2025-06-24 06:48:42 -07:00
parent 82e13b4738
commit 4474b4c3bd

5
app.py
View File

@@ -140,7 +140,8 @@ Tip: to add of silence (1.4 seconds) into your text just use "###" or "[pause]".
'--text_temp', '--waveform_temp',
'--output_dir', '--version', '--workflow', '--help'
]
tts_engine_list = [k for k in TTS_ENGINES.keys()]
tts_engine_list_keys = [k for k in TTS_ENGINES.keys()]
tts_engine_list_values = [k for k in TTS_ENGINES.values()]
all_group = parser.add_argument_group('**** The following options are for all modes', 'Optional')
all_group.add_argument(options[0], type=str, help=argparse.SUPPRESS)
parser.add_argument(options[1], type=str, help='''Session to resume the conversion in case of interruption, crash,
@@ -159,7 +160,7 @@ Tip: to add of silence (1.4 seconds) into your text just use "###" or "[pause]".
Uses the default voice if not present.''')
headless_optional_group.add_argument(options[8], type=str, default=default_device, choices=device_list, help=f'''(Optional) Pprocessor unit type for the conversion.
Default is set in ./lib/conf.py if not present. Fall back to CPU if GPU not available.''')
headless_optional_group.add_argument(options[9], type=str, default=None, choices=tts_engine_list, help=f'''(Optional) Preferred TTS engine (available are: {tts_engine_list}.
headless_optional_group.add_argument(options[9], type=str, default=None, choices=tts_engine_list_keys+tts_engine_list_values, help=f'''(Optional) Preferred TTS engine (available are: {tts_engine_list}.
Default depends on the selected language. The tts engine should be compatible with the chosen language''')
headless_optional_group.add_argument(options[10], type=str, default=None, help=f'''(Optional) Path to the custom model zip file cntaining mandatory model files.
Please refer to ./lib/models.py''')