Update docstrings

This commit is contained in:
Niels
2024-08-06 23:00:26 +02:00
parent 322aa3e7e5
commit 43c385c263
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ class SAM2ImagePredictor:
@classmethod
def from_pretrained(cls, model_id: str, **kwargs) -> "SAM2ImagePredictor":
"""
Load a pretrained model from the Hugging Face model hub.
Load a pretrained model from the Hugging Face hub.
Arguments:
model_id (str): The Hugging Face repository ID.

View File

@@ -106,7 +106,7 @@ class SAM2VideoPredictor(SAM2Base):
@classmethod
def from_pretrained(cls, model_id: str, **kwargs) -> "SAM2VideoPredictor":
"""
Load a pretrained model from the Hugging Face model hub.
Load a pretrained model from the Hugging Face hub.
Arguments:
model_id (str): The Hugging Face repository ID.