mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
correctly migrate models that have relative paths
This commit is contained in:
parent
c7b7e087e4
commit
a910403003
@ -307,7 +307,7 @@ class MigrateTo3(object):
|
|||||||
|
|
||||||
# handle relative paths
|
# handle relative paths
|
||||||
dest_dir = self.dest_models
|
dest_dir = self.dest_models
|
||||||
location = self.src_paths.models / location
|
location = self.root_directory / location
|
||||||
|
|
||||||
info = ModelProbe().heuristic_probe(location)
|
info = ModelProbe().heuristic_probe(location)
|
||||||
if not info:
|
if not info:
|
||||||
|
Loading…
Reference in New Issue
Block a user