Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
test(docs): require MOSS README model zoo entries (#3634)
zhifu gao16fb4858819e
diff --git a/tests/test_moss_transcribe_diarize_docs.py b/tests/test_moss_transcribe_diarize_docs.pyindex dd20782e1..63a1ed037 100644--- a/tests/test_moss_transcribe_diarize_docs.py+++ b/tests/test_moss_transcribe_diarize_docs.py@@ -156,6 +156,21 @@ def test_readmes_link_the_runnable_moss_service() -> None:assert "moss_transcribe_diarize" in text+def test_readme_model_zoos_expose_moss_with_its_model_card_and_guide() -> None:+ readmes = {+ "README.md": "./docs/moss_transcribe_diarize.md",+ "README_zh.md": "./docs/moss_transcribe_diarize_zh.md",+ "README_ja.md": "./docs/moss_transcribe_diarize.md",+ "README_ko.md": "./docs/moss_transcribe_diarize.md",+ }++ for name, guide in readmes.items():+ text = (ROOT / name).read_text(encoding="utf-8")+ assert "| **MOSS-Transcribe-Diarize** |" in text, name+ assert "https://huggingface.co/OpenMOSS-Team/MOSS-Transcribe-Diarize" in text, name+ assert guide in text, name++def test_openai_consumer_docs_expose_moss_alias_and_boundaries() -> None:paths = ["CLIENTS.md",