legacy warning on text_generation client (#2271)

Update README.md

point to huggingface_hub inference clients instead
This commit is contained in:
Erik Kaunismäki 2024-07-22 12:00:17 +02:00 committed by GitHub
parent 4e4207224e
commit 07441f5a7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
# Legacy warning ⚠️
The inference clients from [huggingface_hub](https://huggingface.co/docs/huggingface_hub/guides/inference) are recommended over `text_generation`.
# Text Generation # Text Generation
The Hugging Face Text Generation Python library provides a convenient way of interfacing with a The Hugging Face Text Generation Python library provides a convenient way of interfacing with a