1
0
Fork 0
mirror of https://gitlab.com/niansa/anyproc.git synced 2025-03-06 20:49:24 +01:00

Removed accidental debug leftovers

This commit is contained in:
niansa 2023-04-16 23:51:30 +02:00
parent 5480e3df7c
commit 70d8c3bd82

View file

@ -77,13 +77,8 @@ public:
auto run(const std::function<bool (float)> &on_append_tick = nullptr, const std::function<bool (const char *generated)>& on_generation_tick = nullptr) {
buffer += "\n";
append(buffer, on_append_tick);
static std::string f;
f += buffer;
std::cout << f << std::endl;
buffer.clear();
auto fres = LM::Inference::run("\n", on_generation_tick);
f += fres;
return fres;
return LM::Inference::run("\n", on_generation_tick);
}
void example(std::string_view response) {
buffer += "\n";