mirror of
https://github.com/abetlen/llama-cpp-python.git
synced 2023-09-07 17:34:22 +03:00
Bugfix
This commit is contained in:
@@ -339,7 +339,7 @@ class Llama:
|
||||
prompt_tokens = self.tokenize(b" " + prompt.encode("utf-8"))
|
||||
text = b""
|
||||
returned_characters = 0
|
||||
stop = stop if not None else []
|
||||
stop = stop if stop is not None else []
|
||||
|
||||
if self.verbose:
|
||||
llama_cpp.llama_reset_timings(self.ctx)
|
||||
|
||||
Reference in New Issue
Block a user