mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-10 06:18:02 -05:00
...
This commit is contained in:
5
app.py
5
app.py
@@ -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''')
|
||||
|
||||
Reference in New Issue
Block a user