mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-27 21:12:07 +00:00
remove image
This commit is contained in:
parent
52cacff4a4
commit
2c6e07395f
@ -49,8 +49,6 @@ for r in stream:
|
|||||||
|
|
||||||
Replace the `print` command with the `yield` or with a function you want to stream the tokens to.
|
Replace the `print` command with the `yield` or with a function you want to stream the tokens to.
|
||||||
|
|
||||||
!https://huggingface.co/blog/assets/155_inference_endpoints_llm/python-stream.gif
|
|
||||||
|
|
||||||
## Streaming requests with JavaScript
|
## Streaming requests with JavaScript
|
||||||
|
|
||||||
First, you need to install the `@huggingface/inference` library.
|
First, you need to install the `@huggingface/inference` library.
|
||||||
|
Loading…
Reference in New Issue
Block a user