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

Function split_pipe

src/models/stable_audio/request.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23std::vector<std::string> split_pipe(const std::string & value) {
24 std::vector<std::string> out;
25 std::stringstream stream(value);
26 std::string item;
27 while (std::getline(stream, item, '|')) {
28 out.push_back(trim(item));
29 }
30 return out;
31}
32
33std::vector<float> split_float_list(const std::string & value, const char * option_name) {
34 std::vector<float> out;

Callers 2

prompts_from_requestFunction · 0.85

Calls 1

trimFunction · 0.70

Tested by

no test coverage detected