Fix docs code listing for flags [skip ci]
This commit is contained in:
parent
392f4dbb25
commit
ad7335db0e
|
@ -8,7 +8,7 @@ Below you can find the definition of all command-line flags supported by the tra
|
|||
Flags
|
||||
-----
|
||||
|
||||
.. literalinclude:: ../training/coqui_stt_training/util/flags.py
|
||||
.. literalinclude:: ../training/coqui_stt_training/util/config.py
|
||||
:language: python
|
||||
:linenos:
|
||||
:lineno-match:
|
||||
|
|
|
@ -215,6 +215,7 @@ class _SttConfig(Coqpit):
|
|||
)
|
||||
sys.exit(1)
|
||||
|
||||
# sphinx-doc: training_ref_flags_start
|
||||
train_files: List[str] = field(
|
||||
default_factory=list,
|
||||
metadata=dict(
|
||||
|
@ -722,6 +723,7 @@ class _SttConfig(Coqpit):
|
|||
help="the number of trials to run during hyperparameter optimization."
|
||||
),
|
||||
)
|
||||
# sphinx-doc: training_ref_flags_end
|
||||
|
||||
|
||||
def initialize_globals_from_cli():
|
||||
|
|
Loading…
Reference in New Issue