Skip to content

Commit

Permalink
Set False as the default for local_files_only
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen committed Nov 15, 2024
1 parent dc507cd commit f8140ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentence_transformers/models/Transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def _load_config(self, model_name_or_path: str, cache_dir: str | None, backend:
model_name_or_path,
token=config_args.get("token"),
revision=config_args.get("revision"),
local_files_only=config_args.get("local_files_only"),
local_files_only=config_args.get("local_files_only", False),
)
is not None
):
Expand Down

0 comments on commit f8140ce

Please sign in to comment.