We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 601df47 + 84c5172 commit 7606e06Copy full SHA for 7606e06
libs/infinity_emb/infinity_emb/inference/select_model.py
@@ -33,10 +33,12 @@ def get_engine_type_from_config(
33
else:
34
from huggingface_hub import hf_hub_download # type: ignore[import-untyped]
35
36
- config_path = hf_hub_download(
37
- engine_args.model_name_or_path,
38
- revision=engine_args.revision,
39
- filename="config.json",
+ config_path = Path(
+ hf_hub_download(
+ engine_args.model_name_or_path,
+ revision=engine_args.revision,
40
+ filename="config.json",
41
+ )
42
)
43
44
with open(config_path, "r") as f:
0 commit comments