diff --git a/examples/llama2-chat/llama2-chat.cpp b/examples/llama2-chat/llama2-chat.cpp index a5937fa91..4b497fd2b 100644 --- a/examples/llama2-chat/llama2-chat.cpp +++ b/examples/llama2-chat/llama2-chat.cpp @@ -109,7 +109,7 @@ struct chat { } printf("%s", llama_token_to_str(ctx, id).c_str()); - + fflush(stdout); } while (true); }