mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix path
This commit is contained in:
@@ -581,6 +581,9 @@ class ModelInstallService(ModelInstallServiceBase):
|
||||
|
||||
info = info or ModelProbe.probe(model_path, config)
|
||||
|
||||
if not model_path.is_absolute():
|
||||
model_path = (self._app_config.models_path / model_path)
|
||||
|
||||
model_path = model_path.resolve()
|
||||
|
||||
info.path = model_path.as_posix()
|
||||
|
||||
Reference in New Issue
Block a user