#pragma once #include "engine/framework/assets/resource_bundle.h" #include "engine/models/confucius4_tts/types.h" #include #include namespace engine::assets { class TensorSource; } namespace engine::models::confucius4_tts { struct ConfuciusAssets { assets::ResourceBundle resources; ConfuciusConfig config; std::shared_ptr t2s_weights; std::shared_ptr s2a_weights; std::shared_ptr semantic_encoder_weights; std::shared_ptr semantic_encoder_shaw_weights; std::shared_ptr semantic_stats; std::shared_ptr style_encoder_weights; std::shared_ptr vocoder_weights; }; std::shared_ptr load_confucius_assets(const std::filesystem::path & model_path); } // namespace engine::models::confucius4_tts