From 6eb8b20e8a946ad642a173961404f9971d623ae3 Mon Sep 17 00:00:00 2001 From: AUTOMATIC1111 <16777216c@gmail.com> Date: Thu, 15 Sep 2022 15:29:32 +0300 Subject: [PATCH] Updated Run with Custom Parameters (markdown) --- Run-with-Custom-Parameters.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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`