[Docs] Consolidate per-model TTS examples into a single hub (#3234)

Signed-off-by: Yueqian Lin <linyueqian@outlook.com>
This commit is contained in:
Yueqian Lin authored and GitHub committed 2026-05-05 08:41:29 +12:00
1 parent e1b30061b6
commit 703e31fc47
58 files changed
+1694 -2675

No files matched your search

@@ -2,7 +2,7 @@
Offline inference regression tests: Qwen3-TTS _estimate_prompt_len.
Covers the four ref_audio input forms handled by the estimator in
examples/offline_inference/qwen3_tts/end2end.py:
examples/offline_inference/text_to_speech/qwen3_tts/end2end.py:
- bare local path
- file:// URI
- http:// URL
@@ -20,7 +20,9 @@ from unittest.mock import MagicMock
import numpy as np
import pytest
_examples_dir = str(Path(__file__).parent.parent.parent.parent / "examples" / "offline_inference" / "qwen3_tts")
_examples_dir = str(
Path(__file__).parent.parent.parent.parent / "examples" / "offline_inference" / "text_to_speech" / "qwen3_tts"
)
sys.path.insert(0, _examples_dir)
from end2end import _estimate_prompt_len # noqa: E402
+3 -1
View File
@@ -9,7 +9,9 @@ import numpy as np
import pytest
# Import the slerp function from the example script.
_examples_dir = str(Path(__file__).parent.parent.parent / "examples" / "online_serving" / "qwen3_tts")
_examples_dir = str(
Path(__file__).parent.parent.parent / "examples" / "online_serving" / "text_to_speech" / "qwen3_tts"
)
sys.path.insert(0, _examples_dir)
from speaker_embedding_interpolation import slerp # noqa: E402