From 07441f5a7a1b4ebb891af6c59f7f3c38c1045f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Kaunism=C3=A4ki?= Date: Mon, 22 Jul 2024 12:00:17 +0200 Subject: [PATCH] legacy warning on text_generation client (#2271) Update README.md point to huggingface_hub inference clients instead --- clients/python/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clients/python/README.md b/clients/python/README.md index bf37508e..88239aa1 100644 --- a/clients/python/README.md +++ b/clients/python/README.md @@ -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