Minor formatting change.
This commit is contained in:
parent
4754bc22b6
commit
6c26109743
1 changed files with 1 additions and 4 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue