tested on 3.11 and 3.10

This commit is contained in:
Lincoln Stein
2023-07-24 17:13:32 -04:00
parent 4f9c728db0
commit fc4e104c61
4 changed files with 142 additions and 141 deletions

View File

@@ -163,7 +163,6 @@ class ModelCache(object):
submodel: Optional[SubModelType] = None,
gpu_load: bool = True,
) -> Any:
if not isinstance(model_path, Path):
model_path = Path(model_path)