add --lora-dir commandline option

This commit is contained in:
AUTOMATIC
2023-01-21 23:11:37 +03:00
parent 4a8fe09652
commit 500d9a32c7
3 changed files with 11 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
import os
from modules import paths
def preload(parser):
parser.add_argument("--lora-dir", type=str, help="Path to directory with Lora networks.", default=os.path.join(paths.models_path, 'Lora'))