diff --git a/src/huggingface_hub/hf_api.py b/src/huggingface_hub/hf_api.py index 59e2330db9..6788040ecd 100644 --- a/src/huggingface_hub/hf_api.py +++ b/src/huggingface_hub/hf_api.py @@ -5425,8 +5425,6 @@ def get_safetensors_metadata( Args: repo_id (`str`): A user or an organization name and a repo name separated by a `/`. - filename (`str`): - The name of the file in the repo. repo_type (`str`, *optional*): Set to `"dataset"` or `"space"` if the file is in a dataset or space, `None` or `"model"` if in a model. Default is `None`.