Skip to content

Commit

Permalink
talk-llama : stream response (ggerganov#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov authored and jiahansu committed Apr 17, 2024
1 parent b7ccae7 commit 687fb58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/talk-llama/talk-llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,7 @@ int main(int argc, char ** argv) {
text_to_speak += llama_token_to_piece(ctx_llama, id);

printf("%s", llama_token_to_piece(ctx_llama, id).c_str());
fflush(stdout);
}
}

Expand Down

0 comments on commit 687fb58

Please sign in to comment.