Minor formatting change.

This commit is contained in:
KerfuffleV2 2023-08-17 04:48:27 -06:00
parent 4754bc22b6
commit 6c26109743

View file

@ -285,10 +285,7 @@ bool gpt_params_parse(int argc, char ** argv, gpt_params & params) {
invalid_param = true; invalid_param = true;
break; break;
} }
std::copy( std::copy(std::istreambuf_iterator<char>(file), std::istreambuf_iterator<char>(), back_inserter(params.cfg_negative_prompt));
std::istreambuf_iterator<char>(file),
std::istreambuf_iterator<char>(),
back_inserter(params.cfg_negative_prompt));
if (params.cfg_negative_prompt.back() == '\n') { if (params.cfg_negative_prompt.back() == '\n') {
params.cfg_negative_prompt.pop_back(); params.cfg_negative_prompt.pop_back();
} }