mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-11 08:00:32 +00:00
Updated Run with Custom Parameters (markdown)
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user