parser.add_argument("--lora-dir",type=str,help="Path to directory with Lora networks.",default=os.path.join(paths.models_path,'Lora'))
parser.add_argument("--lyco-dir-backcompat",type=str,help="Path to directory with LyCORIS networks (for backawards compatibility; can also use --lyco-dir).",default=os.path.join(paths.models_path,'LyCORIS'))
parser.add_argument("--test-server",action='store_true',help="launch.py argument: configure server for testing")
parser.add_argument("--skip-prepare-environment",action='store_true',help="launch.py argument: skip all environment preparation")
parser.add_argument("--skip-install",action='store_true',help="launch.py argument: skip installation of packages")
parser.add_argument("--do-not-download-clip",action='store_true',help="do not download CLIP model even if it's not included in the checkpoint")
parser.add_argument("--data-dir",type=str,default=os.path.dirname(os.path.dirname(os.path.realpath(__file__))),help="base path where all user data is stored")
parser.add_argument("--config",type=str,default=sd_default_config,help="path to config which constructs model",)
parser.add_argument("--ckpt",type=str,default=sd_model_file,help="path to checkpoint of stable diffusion model; if specified, this checkpoint will be added to the list of checkpoints and loaded",)
"sd_checkpoint_cache":OptionInfo(0,"Checkpoints to cache in RAM",gr.Slider,{"minimum":0,"maximum":10,"step":1}),
"sd_vae_checkpoint_cache":OptionInfo(0,"VAE Checkpoints to cache in RAM",gr.Slider,{"minimum":0,"maximum":10,"step":1}),
"sd_vae":OptionInfo("Automatic","SD VAE",gr.Dropdown,lambda:{"choices":shared_items.sd_vae_items()},refresh=shared_items.refresh_vae_list).info("choose VAE model: Automatic = use one with same filename as checkpoint; None = use VAE from checkpoint"),