Update docs/source/basic_tutorials/consuming_tgi.md

This commit is contained in:
Omar Sanseviero 2023-08-11 17:01:20 +02:00 committed by GitHub
parent c7b26c5453
commit f21c507ebf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,8 +51,6 @@ print(next(iter(output)))
# TextGenerationStreamResponse(token=Token(id=267, text=' a', logprob=-2.0723474, special=False), generated_text=None, details=None)
```
You can check out the details of the function [here](https://huggingface.co/docs/huggingface_hub/main/en/package_reference/inference_client#huggingface_hub.InferenceClient.text_generation).