diff --git a/clients/python/text_generation/__init__.py b/clients/python/text_generation/__init__.py index 57359f22..8444a08e 100644 --- a/clients/python/text_generation/__init__.py +++ b/clients/python/text_generation/__init__.py @@ -18,16 +18,15 @@ from text_generation.inference_api import InferenceAPIClient, InferenceAPIAsyncC __version__ = "0.7.0" -DEPRECATION_WARNING = ( - "`text_generation` clients are deprecated and will be removed in the near future. " - "Please use the `InferenceClient` from the `huggingface_hub` package instead." -) - __all__ = [ "Client", "AsyncClient", "InferenceAPIClient", "InferenceAPIAsyncClient", - "DEPRECATION_WARNING", ] + +DEPRECATION_WARNING = ( + "`text_generation` clients are deprecated and will be removed in the near future. " + "Please use the `InferenceClient` from the `huggingface_hub` package instead." +)