Bugfix
This commit is contained in:
parent
e90e122f2a
commit
d7de0e8014
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue