Skip to content

Commit 10c7571

Browse files
author
Mug
committed
Fixed too many newlines, now onto args.
Still needs shipping work so you could do "python -m llama_cpp.examples." etc.
1 parent 085cc92 commit 10c7571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/low_level_api/low_level_api_chatllama_cpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def use_antiprompt(self):
183183

184184
def set_color(self, c):
185185
if (self.params.use_color):
186-
print(c)
186+
print(c, end="")
187187

188188
# generate tokens
189189
def generate(self):

0 commit comments

Comments
 (0)