mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
fix: adjust next type typo
This commit is contained in:
parent
8b13c47d63
commit
3974e4dcaa
@ -172,7 +172,7 @@ class Client:
|
|||||||
typical_p: Optional[float] = None,
|
typical_p: Optional[float] = None,
|
||||||
watermark: bool = False,
|
watermark: bool = False,
|
||||||
top_n_tokens: Optional[int] = None,
|
top_n_tokens: Optional[int] = None,
|
||||||
grammar: Grammar = "",
|
grammar: Optional[Grammar] = None,
|
||||||
) -> Iterator[StreamResponse]:
|
) -> Iterator[StreamResponse]:
|
||||||
"""
|
"""
|
||||||
Given a prompt, generate the following stream of tokens
|
Given a prompt, generate the following stream of tokens
|
||||||
|
Loading…
Reference in New Issue
Block a user