Skip to content

Commit

Permalink
Update haystack/utils/hf.py
Browse files Browse the repository at this point in the history
Co-authored-by: Madeesh Kannan <[email protected]>
  • Loading branch information
anakin87 and shadeMe authored Apr 5, 2024
1 parent 430c7d6 commit 9f2c9c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions haystack/utils/hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ class HFGenerationAPIType(Enum):
API type to use for Hugging Face API Generators.
"""

# HF [Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference)
# HF [Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference).
TEXT_GENERATION_INFERENCE = "text_generation_inference"

# HF [Inference Endpoints](https://huggingface.co/inference-endpoints)
# HF [Inference Endpoints](https://huggingface.co/inference-endpoints).
INFERENCE_ENDPOINTS = "inference_endpoints"

# HF [Serverless Inference API](https://huggingface.co/inference-api)
# HF [Serverless Inference API](https://huggingface.co/inference-api).
SERVERLESS_INFERENCE_API = "serverless_inference_api"

def __str__(self):
Expand Down

0 comments on commit 9f2c9c0

Please sign in to comment.