mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
fix controlnet path duplication
This commit is contained in:
@@ -74,7 +74,7 @@ def find_models():
|
||||
downloaded_models = {}
|
||||
for f in files:
|
||||
basename = os.path.splitext(os.path.relpath(f, path))[0]
|
||||
downloaded_models[basename] = os.path.join(path, f)
|
||||
downloaded_models[basename] = f
|
||||
for f in folders:
|
||||
basename = os.path.relpath(f, path)
|
||||
downloaded_models[basename] = f
|
||||
|
||||
Reference in New Issue
Block a user