Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/source/tts/magpietts-longform.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,23 +169,23 @@ The ``do_tts`` method automatically detects whether longform inference is needed
sf.write("output.wav", long_audio[0].cpu().numpy(), 22050)


Method 2: Using CLI (``magpietts_inference.py``)
Method 2: Using CLI (``tts_infer.py``)
------------------------------------------------

For batch inference from manifests:

.. code-block:: bash

# Auto-detect longform based on text length (default)
python examples/tts/magpietts_inference.py \
python examples/tts/tts_infer.py \
--nemo_files /path/to/magpietts.nemo \
--datasets_json_path /path/to/evalset_config.json \
--out_dir /path/to/output \
--codecmodel_path /path/to/codec.nemo \
--longform_mode auto

# Force longform inference for all inputs
python examples/tts/magpietts_inference.py \
python examples/tts/tts_infer.py \
--nemo_files /path/to/magpietts.nemo \
--datasets_json_path /path/to/evalset_config.json \
--out_dir /path/to/output \
Expand Down
2 changes: 1 addition & 1 deletion docs/source/tts/magpietts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Several parameters control the generation behavior. The temperature setting affe

.. code-block:: bash

python examples/tts/magpietts_inference.py \
python examples/tts/tts_infer.py \
--nemo_files /path/to/magpietts_model.nemo \
--codecmodel_path /path/to/audio_codec.nemo \
--datasets your_evaluation_set \
Expand Down
1 change: 1 addition & 0 deletions examples/tts/evalset_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
"feature_dir": null
}
}

Loading
Loading