diff --git a/Run-with-Custom-Parameters.md b/Run-with-Custom-Parameters.md index 6a70ee8..758e155 100644 --- a/Run-with-Custom-Parameters.md +++ b/Run-with-Custom-Parameters.md @@ -2,7 +2,8 @@ The recommended way to customize how the program is run is editing `webui-user.bat` (Windows) and `webui-user.sh` (Linux): - `set PYTHON` allows for setting a custom Python path - Example: `set PYTHON=b:/soft/Python310/Python.exe` -- `set VENV_DIR` allows for setting a custom virtual environment: +- `set VENV_DIR` allows you to chooser the directory for the virtual environment. Default is `venv`. Special value `-` runs the script without creating virtual environment. + - Example: `set VENV_DIR=C:\run\var\run` will create venv in the `C:\run\var\run` directory. - Example: `set VENV_DIR=-` runs the program using the system's python - `set COMMANDLINE_ARGS` setting the command line arguments `webui.py` is ran with - Example: `set COMMANDLINE_ARGS=--ckpt a.ckpt` uses the model `a.ckpt` instead of `model.ckpt`