Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename webu-user.bat to webui-user.bat.in and copy it conditionally #13601

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ Alternatively, use online services (like Google Colab):
1. Install [Python 3.10.6](https://www.python.org/downloads/release/python-3106/) (Newer version of Python does not support torch), checking "Add Python to PATH".
2. Install [git](https://git-scm.com/download/win).
3. Download the stable-diffusion-webui repository, for example by running `git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git`.
4. Run `webui-user.bat` from Windows Explorer as normal, non-administrator, user.
4. Run `webui.bat` from Windows Explorer as a normal, non-administrator, user, for the first time.
5. If you want to change any options, use `webui-user.bat` or copy `webui-user.bat.in` to `webui-user.bat`, change it and run it.

### Automatic Installation on Linux
1. Install the dependencies:
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions webui.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ if not defined PYTHON (set PYTHON=python)
if defined GIT (set "GIT_PYTHON_GIT_EXECUTABLE=%GIT%")
if not defined VENV_DIR (set "VENV_DIR=%~dp0%venv")

if not exist webui-user.bat (
if exist webui-user.bat.in (
copy webui-user.bat.in webui-user.bat
)
)

set SD_WEBUI_RESTART=tmp/restart
set ERROR_REPORTING=FALSE

Expand Down