MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / package_payload

Function package_payload

tools/model_manager.py:982–1039  ·  view source on GitHub ↗
(package: ModelPackage)

Source from the content-addressed store, hash-verified

980 ),
981 target_subdir="frontend",
982 required_files=("campplus.safetensors",),
983 ),
984 ),
985 ),
986 required_files=(
987 "audio_cpp_config.json",
988 "flow/config.yaml",
989 "flow/model.safetensors",
990 "frontend/campplus.safetensors",
991 "hift/model.safetensors",
992 "llm/config.json",
993 "llm/generation_config.json",
994 "llm/model-00001-of-00002.safetensors",
995 "llm/model-00002-of-00002.safetensors",
996 "llm/model.safetensors.index.json",
997 "speech_tokenizer/config.json",
998 "speech_tokenizer/model.safetensors",
999 "speech_tokenizer/preprocessor_config.json",
1000 "vq32k-phoneme-tokenizer/tokenizer_config.json",
1001 "vq32k-phoneme-tokenizer/tokenizer_merges.txt",
1002 "vq32k-phoneme-tokenizer/tokenizer_vocab.json",
1003 ),
1004 family="glm_tts",
1005 tasks=("tts", "clon"),
1006 modes=("offline",),
1007 standalone=True,
1008 description=(
1009 "Installs GLM-TTS and prepares its Flow, HiFT, ChatGLM tokenizer, "
1010 "and CAMPPlus assets for zero-shot Chinese and English synthesis."
1011 ),
1012 ),
1013 ModelPackage(
1014 id="inflect_micro_v2",
1015 display_name="Inflect Micro v2",
1016 target_directory="Inflect-Micro-v2",
1017 source=SnapshotSource(
1018 repo_id="owensong/Inflect-Micro-v2-ONNX",
1019 revision="91b1ab6432323064ec0e8e9704d92fcecd24855f",
1020 include_prefixes=(
1021 "config.json",
1022 "onnx/duration.onnx",
1023 "onnx/decode.onnx",
1024 ),
1025 ),
1026 required_files=("config.json", "model.safetensors"),
1027 family="inflect_v2",
1028 tasks=("tts",),
1029 modes=("offline",),
1030 standalone=True,
1031 description=(
1032 "Downloads the pinned official ONNX export and converts its FP32 "
1033 "initializers to the native Inflect v2 safetensors layout."
1034 ),
1035 ),
1036 ModelPackage(
1037 id="inflect_nano_v2",
1038 display_name="Inflect Nano v2",
1039 target_directory="Inflect-Nano-v2",

Callers 2

command_listFunction · 0.85
command_infoFunction · 0.85

Calls 2

package_install_kindFunction · 0.85
package_usage_examplesFunction · 0.85

Tested by

no test coverage detected