mirror of
https://github.com/qdrant/fastembed.git
synced 2026-08-03 16:41:00 -05:00
Remove the else, it's cleaner
This commit is contained in:
@@ -172,8 +172,6 @@ class Embedding(ABC):
|
||||
f"https://storage.googleapis.com/qdrant-fastembed/{simple_model_name}.tar.gz",
|
||||
output_path=str(model_tar_gz),
|
||||
)
|
||||
else:
|
||||
raise ValueError(f"Could not find {model_tar_gz}")
|
||||
|
||||
self.decompress_to_cache(targz_path=str(model_tar_gz), cache_dir=cache_dir)
|
||||
assert model_dir.exists(), f"Could not find {model_dir} in {cache_dir}"
|
||||
|
||||
Reference in New Issue
Block a user