Style fix
This commit is contained in:
parent
6cf5876538
commit
2f9b649005
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ class Llama:
|
||||||
repeat_penalty: float = 1.1,
|
repeat_penalty: float = 1.1,
|
||||||
top_k: int = 40,
|
top_k: int = 40,
|
||||||
stream: bool = False,
|
stream: bool = False,
|
||||||
) -> Union[Iterator[Completion], Iterator[CompletionChunk],]:
|
) -> Union[Iterator[Completion], Iterator[CompletionChunk]]:
|
||||||
assert self.ctx is not None
|
assert self.ctx is not None
|
||||||
completion_id = f"cmpl-{str(uuid.uuid4())}"
|
completion_id = f"cmpl-{str(uuid.uuid4())}"
|
||||||
created = int(time.time())
|
created = int(time.time())
|
||||||
|
|
Loading…
Reference in a new issue