mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 06:35:14 +03:00
Renamed the webui_streamlit.cmd to webui.cmd.
This commit is contained in:
parent
0110973b68
commit
e2ca081072
15
webui.cmd
15
webui.cmd
@ -1,17 +1,17 @@
|
|||||||
@echo off
|
@echo off
|
||||||
:: This file is part of sygil-webui (https://github.com/Sygil-Dev/sygil-webui/).
|
:: This file is part of sygil-webui (https://github.com/Sygil-Dev/sygil-webui/).
|
||||||
|
::
|
||||||
:: Copyright 2022 Sygil-Dev team.
|
:: Copyright 2022 Sygil-Dev team.
|
||||||
:: This program is free software: you can redistribute it and/or modify
|
:: This program is free software: you can redistribute it and/or modify
|
||||||
:: it under the terms of the GNU Affero General Public License as published by
|
:: it under the terms of the GNU Affero General Public License as published by
|
||||||
:: the Free Software Foundation, either version 3 of the License, or
|
:: the Free Software Foundation, either version 3 of the License, or
|
||||||
:: (at your option) any later version.
|
:: (at your option) any later version.
|
||||||
|
::
|
||||||
:: This program is distributed in the hope that it will be useful,
|
:: This program is distributed in the hope that it will be useful,
|
||||||
:: but WITHOUT ANY WARRANTY; without even the implied warranty of
|
:: but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
:: GNU Affero General Public License for more details.
|
:: GNU Affero General Public License for more details.
|
||||||
|
::
|
||||||
:: You should have received a copy of the GNU Affero General Public License
|
:: You should have received a copy of the GNU Affero General Public License
|
||||||
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
:: Run all commands using this script's directory as the working directory
|
:: Run all commands using this script's directory as the working directory
|
||||||
@ -98,12 +98,11 @@ call "%v_conda_path%\Scripts\activate.bat" "%v_conda_env_name%"
|
|||||||
|
|
||||||
:PROMPT
|
:PROMPT
|
||||||
set SETUPTOOLS_USE_DISTUTILS=stdlib
|
set SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||||
IF EXIST "models\ldm\stable-diffusion-v1\model.ckpt" (
|
IF EXIST "models\ldm\stable-diffusion-v1\Stable Diffusion v1.5.ckpt" (
|
||||||
set "PYTHONPATH=%~dp0"
|
python -m streamlit run scripts\webui_streamlit.py --theme.base dark --server.address localhost
|
||||||
python scripts\relauncher.py %*
|
|
||||||
) ELSE (
|
) ELSE (
|
||||||
echo Your model file does not exist! Place it in 'models\ldm\stable-diffusion-v1' with the name 'model.ckpt'.
|
echo Your model file does not exist! Once the WebUI launches please visit the Model Manager page and download the models by using the Download button for each model.
|
||||||
pause
|
python -m streamlit run scripts\webui_streamlit.py --theme.base dark --server.address localhost
|
||||||
)
|
)
|
||||||
|
|
||||||
::cmd /k
|
::cmd /k
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
@echo off
|
@echo off
|
||||||
:: This file is part of sygil-webui (https://github.com/Sygil-Dev/sygil-webui/).
|
:: This file is part of sygil-webui (https://github.com/Sygil-Dev/sygil-webui/).
|
||||||
::
|
|
||||||
:: Copyright 2022 Sygil-Dev team.
|
:: Copyright 2022 Sygil-Dev team.
|
||||||
:: This program is free software: you can redistribute it and/or modify
|
:: This program is free software: you can redistribute it and/or modify
|
||||||
:: it under the terms of the GNU Affero General Public License as published by
|
:: it under the terms of the GNU Affero General Public License as published by
|
||||||
:: the Free Software Foundation, either version 3 of the License, or
|
:: the Free Software Foundation, either version 3 of the License, or
|
||||||
:: (at your option) any later version.
|
:: (at your option) any later version.
|
||||||
::
|
|
||||||
:: This program is distributed in the hope that it will be useful,
|
:: This program is distributed in the hope that it will be useful,
|
||||||
:: but WITHOUT ANY WARRANTY; without even the implied warranty of
|
:: but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
:: GNU Affero General Public License for more details.
|
:: GNU Affero General Public License for more details.
|
||||||
::
|
|
||||||
:: You should have received a copy of the GNU Affero General Public License
|
:: You should have received a copy of the GNU Affero General Public License
|
||||||
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
:: Run all commands using this script's directory as the working directory
|
:: Run all commands using this script's directory as the working directory
|
||||||
@ -98,11 +98,12 @@ call "%v_conda_path%\Scripts\activate.bat" "%v_conda_env_name%"
|
|||||||
|
|
||||||
:PROMPT
|
:PROMPT
|
||||||
set SETUPTOOLS_USE_DISTUTILS=stdlib
|
set SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||||
IF EXIST "models\ldm\stable-diffusion-v1\Stable Diffusion v1.5.ckpt" (
|
IF EXIST "models\ldm\stable-diffusion-v1\model.ckpt" (
|
||||||
python -m streamlit run scripts\webui_streamlit.py --theme.base dark --server.address localhost
|
set "PYTHONPATH=%~dp0"
|
||||||
|
python scripts\relauncher.py %*
|
||||||
) ELSE (
|
) ELSE (
|
||||||
echo Your model file does not exist! Once the WebUI launches please visit the Model Manager page and download the models by using the Download button for each model.
|
echo Your model file does not exist! Place it in 'models\ldm\stable-diffusion-v1' with the name 'model.ckpt'.
|
||||||
python -m streamlit run scripts\webui_streamlit.py --theme.base dark --server.address localhost
|
pause
|
||||||
)
|
)
|
||||||
|
|
||||||
::cmd /k
|
::cmd /k
|
Loading…
Reference in New Issue
Block a user