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 yuanwu
parent a5aee82a69
commit 758a8b8423

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
The Hugging Face Text Generation Python library provides a convenient way of interfacing with a