Skip to content

Commit

Permalink
another nit
Browse files Browse the repository at this point in the history
  • Loading branch information
hanouticelina committed Feb 5, 2025
1 parent 4988db0 commit 91f41c3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/huggingface_hub/inference/_providers/fal_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def prepare_request(
)

def _map_model(self, model: Optional[str]) -> str:
"""Default implementation for mapping model HF model IDs to provider model IDs."""
if model is None:
raise ValueError("Please provide a HF model ID supported by fal.ai.")
provider_mapping = _get_provider_mapping(model, "fal-ai")
Expand Down
1 change: 0 additions & 1 deletion src/huggingface_hub/inference/_providers/replicate.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def prepare_request(
)

def _map_model(self, model: Optional[str]) -> str:
"""Default implementation for mapping model HF model IDs to provider model IDs."""
if model is None:
raise ValueError("Please provide a HF model ID supported by Replicate.")
provider_mapping = _get_provider_mapping(model, "replicate")
Expand Down
1 change: 0 additions & 1 deletion src/huggingface_hub/inference/_providers/sambanova.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def prepare_request(
)

def _map_model(self, model: Optional[str]) -> str:
"""Default implementation for mapping model HF model IDs to provider model IDs."""
if model is None:
raise ValueError("Please provide a HF model ID supported by Sambanova.")
provider_mapping = _get_provider_mapping(model, "sambanova")
Expand Down
1 change: 0 additions & 1 deletion src/huggingface_hub/inference/_providers/together.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def prepare_request(
)

def _map_model(self, model: Optional[str]) -> str:
"""Default implementation for mapping model HF model IDs to provider model IDs."""
if model is None:
raise ValueError("Please provide a HF model ID supported by Together.")
provider_mapping = _get_provider_mapping(model, "together")
Expand Down

0 comments on commit 91f41c3

Please sign in to comment.