From 1c81df15cd119f0fb9ce3d3c975d035bcdd5cb9a Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Wed, 19 Jul 2023 13:38:52 +0200 Subject: [PATCH] docs: Update README.md (#639) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4a397bc..069039a 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,10 @@ print(text) You can consult the OpenAPI documentation of the `text-generation-inference` REST API using the `/docs` route. The Swagger UI is also available at: [https://huggingface.github.io/text-generation-inference](https://huggingface.github.io/text-generation-inference). +### Using on private models or gated models + +You can use `HUGGING_FACE_HUB_TOKEN` environment variable to set the token used by `text-generation-inference` to give access to protected ressources. + ### Distributed Tracing `text-generation-inference` is instrumented with distributed tracing using OpenTelemetry. You can use this feature