| 137 | std::unique_ptr<VoxCPM2LoadedModel> |
| 138 | load_voxcpm2_model(const std::filesystem::path &model_path) { |
| 139 | auto assets = load_voxcpm2_assets(model_path); |
| 140 | return std::make_unique<VoxCPM2LoadedModel>( |
| 141 | metadata(*assets), capabilities(*assets), std::move(assets)); |
| 142 | } |
| 143 | |
| 144 | std::shared_ptr<runtime::IVoiceModelLoader> make_voxcpm2_loader() { |
| 145 | return std::make_shared<VoxCPM2Loader>(); |
| 146 | } |
| 147 |
no test coverage detected