Views
No views yet
TalkingFlower), Mandarin only../launch-web-app.sh*.fp16.pt checkpoints when available.uv (Recommended)1# `uv run` automatically sets up the environment and installs dependencies from pyproject.toml
2uv run inference.py "会讲话的花很奇怪吗?" output.wavpip1pip install -r requirements.txt
2python inference.py "会讲话的花很奇怪吗?" output.wavras_sampling(top_p=0.8, top_k=25), text_frontend=False. Serving entrypoints use fp16 checkpoints, disable unused text-normalization startup, drop the unused Qwen2 CausalLM head, and store Qwen2 text embeddings as per-row int8 with fp16 scales to reduce Jetson peak memory. RTF ≈ 0.5–0.7 on A5000.inference.py includes a remove_tail_click post-processing fade that suppresses this without affecting speech content.spk2info.pt); zero-shot voice cloning is not supported in this slim bundle.campplus.onnx (27 MB) — speaker encoder, only used for zero-shot prompts.speech_tokenizer_v3.onnx (925 MB) — audio→token, only used for prompt audio / training.CosyVoice-BlankEN/model.safetensors (988 MB) — base Qwen2 weights, overwritten by llm.pt immediately on load.inference.py monkey-patches the load paths so these absences are silently handled. To restore zero-shot / cross-lingual / training capability, see the two comment blocks in inference.py.text_frontend=False).COSYVOICE_DISABLE_TEXT_FRONTEND=0 restores text-normalization frontend initialization.COSYVOICE_LLM_EMBED_INT8=0 disables Qwen2 text-embedding int8 storage.COSYVOICE_SHOW_INVALID_HTTP_WARNINGS=1 shows Uvicorn warnings from invalid/non-HTTP probes on the Gradio port.cosyvoice/ package and third_party/Matcha-TTS/ library are bundled from their respective repositories; cosyvoice/ includes serving-memory optimizations for this Hugging Face bundle.