mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix path
This commit is contained in:
parent
e52274ecac
commit
b1f5ac4548
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user