Skip to content

Commit e3d1c70

Browse files
committed
Typing fix again
1 parent 3621021 commit e3d1c70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fastembed/common/model_management.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def decompress_to_cache(cls, targz_path: str, cache_dir: str) -> str:
297297
def retrieve_model_gcs(
298298
cls,
299299
model_name: str,
300-
source_url: Optional[str],
300+
source_url: str,
301301
cache_dir: str,
302302
local_files_only: bool = False,
303303
) -> Path:

fastembed/sparse/splade_pp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(
125125
def load_onnx_model(self) -> None:
126126
self._load_onnx_model(
127127
model_dir=self._model_dir,
128-
model_file=self.model_description["model_file"],
128+
model_file=self.model_description.model_file,
129129
threads=self.threads,
130130
providers=self.providers,
131131
cuda=self.cuda,

0 commit comments

Comments
 (0)