From df61543e0d5ce1b4d635348aafc1474411fdf1f8 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Wed, 19 Jul 2023 10:55:04 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4a397bc4..069039a6 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