Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 10c7571

Browse filesBrowse 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
Copy full SHA for 10c7571

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎examples/low_level_api/low_level_api_chatllama_cpp.py

Copy file name to clipboardExpand all lines: examples/low_level_api/low_level_api_chatllama_cpp.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.