mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
fix(dicts): move default dicts directory to data/dicts
Tag dictionaries are lookup data, not model weights — place them alongside cache.json and metadata.json in the data/ folder instead of inside the models directory.
This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ class Api:
|
||||
|
||||
# dicts api
|
||||
from modules.api import dicts as dicts_api
|
||||
dicts_api.init(getattr(shared.opts, 'dicts_dir', '') or os.path.join(paths.models_path, 'dicts'))
|
||||
dicts_api.init(getattr(shared.opts, 'dicts_dir', '') or os.path.join(paths.data_path, 'data', 'dicts'))
|
||||
dicts_api.register_api(self.app)
|
||||
|
||||
# gallery api
|
||||
|
||||
Reference in New Issue
Block a user