mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00: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 opt.embeddings:
|
||||||
if not os.path.isabs(opt.embedding_path):
|
if not os.path.isabs(opt.embedding_path):
|
||||||
embedding_path = os.path.normpath(os.path.join(Globals.root,opt.embedding_path))
|
embedding_path = os.path.normpath(os.path.join(Globals.root,opt.embedding_path))
|
||||||
|
else:
|
||||||
|
embedding_path = opt.embedding_path
|
||||||
else:
|
else:
|
||||||
embedding_path = None
|
embedding_path = None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user