mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2025-01-09 04:18:46 +08:00
Fix Embedding Dir not working
This commit is contained in:
parent
44a0055571
commit
1d1988683b
@ -68,6 +68,8 @@ def main():
|
||||
if opt.embeddings:
|
||||
if not os.path.isabs(opt.embedding_path):
|
||||
embedding_path = os.path.normpath(os.path.join(Globals.root,opt.embedding_path))
|
||||
else:
|
||||
embedding_path = opt.embedding_path
|
||||
else:
|
||||
embedding_path = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user