Some checks failed
Linux Build / Linux cpu (push) Has been cancelled
Linux Build / Linux cpu-clang (push) Has been cancelled
Linux Build / Linux vulkan (push) Has been cancelled
mac-build / macOS CPU (push) Has been cancelled
Nix Build / Nix (cpu) (push) Has been cancelled
Nix Build / Nix (vulkan) (push) Has been cancelled
windows-build / Windows CPU (push) Has been cancelled
22 lines
820 B
C++
22 lines
820 B
C++
#pragma once
|
|
|
|
#include "engine/framework/assets/resource_bundle.h"
|
|
#include "engine/framework/assets/tensor_source.h"
|
|
|
|
#include <filesystem>
|
|
#include <memory>
|
|
|
|
namespace engine::models::chatterbox {
|
|
|
|
struct ChatterboxAssets {
|
|
engine::assets::ResourceBundle resources;
|
|
std::shared_ptr<const engine::assets::TensorSource> voice_encoder_weights;
|
|
std::shared_ptr<const engine::assets::TensorSource> s3gen_weights;
|
|
std::shared_ptr<const engine::assets::TensorSource> t3_english_weights;
|
|
std::shared_ptr<const engine::assets::TensorSource> t3_multilingual_v2_weights;
|
|
std::shared_ptr<const engine::assets::TensorSource> t3_multilingual_v3_weights;
|
|
};
|
|
|
|
std::shared_ptr<const ChatterboxAssets> load_chatterbox_assets(const std::filesystem::path & model_path);
|
|
|
|
} // namespace engine::models::chatterbox
|