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

Method StableAudioConditionerInputs

src/models/stable_audio/conditioner.cpp:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24} // namespace
25
26StableAudioConditionerInputs::StableAudioConditionerInputs(std::shared_ptr<const StableAudioAssets> assets)
27 : assets_(require_assets(std::move(assets))),
28 t5_pieces_(engine::tokenizers::load_sentencepiece_model(assets_->t5_tokenizer_model_path)) {}
29
30StableAudioConditioningBatch StableAudioConditionerInputs::build(const StableAudioRequest & request) const {
31 StableAudioConditioningBatch out;

Callers

nothing calls this directly

Calls 2

load_sentencepiece_modelFunction · 0.85
require_assetsFunction · 0.70

Tested by

no test coverage detected