How to have Forge find Models in folder/directory. #320
Replies: 3 comments 12 replies
-
Seems you have little knowledge of Python, but that is okay. The forward slashes could/should be replaced with double backward slashes. That is how you specify directory separators on Windows. So: set COMMANDLINE_ARGS= --ckpt-dir "D:\ai\a1111\models\Stable-diffusion" ..... |
Beta Was this translation helpful? Give feedback.
-
Is there any way to make multiple directories work? this way for example doesn't work |
Beta Was this translation helpful? Give feedback.
-
As far as I know, the directory path should only be enclosed in quotes if it contains spaces. I have no spaces in the paths and they are written in webui-user.bat without quotes - and everything works. |
Beta Was this translation helpful? Give feedback.
-
I was having a hard time trying to figure out what to put in the webui-user.bat file since the examples in the folder didn't say you needed quotes for the directory, and didn't say to put the folders right after the first commandline_args.
So to help I am sharing what I did that worked. just replace the folders shown below with the location yours uses, and make sure the slashes are facing forwards / otherwise it won't work.
Hope this helps!~
@echo off
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS= --ckpt-dir "D:/ai/a1111/models/Stable-diffusion" --embeddings-dir "D:/ai/a1111/embeddings" --lora-dir "D:/ai/a1111/models/Lora"
call webui.bat
Beta Was this translation helpful? Give feedback.
All reactions