#pragma once #include "engine/framework/assets/resource_bundle.h" #include "engine/framework/assets/tensor_source.h" #include "engine/models/index_tts2/types.h" #include #include namespace engine::models::index_tts2 { struct IndexTTS2Assets { assets::ResourceBundle resources; IndexTTS2Config config; std::shared_ptr gpt_weights; std::shared_ptr s2mel_weights; std::shared_ptr speaker_matrix; std::shared_ptr emotion_matrix; std::shared_ptr wav2vec2bert_stats; std::shared_ptr wav2vec2bert_weights; std::shared_ptr semantic_codec_weights; std::shared_ptr campplus_weights; std::shared_ptr bigvgan_weights; std::shared_ptr qwen_emotion_weights; }; std::shared_ptr load_index_tts2_assets(const std::filesystem::path & model_path); } // namespace engine::models::index_tts2