Renamed the webui_streamlit.cmd to webui.cmd.

This commit is contained in:
ZeroCool940711 2022-10-26 20:24:47 -07:00
parent 0110973b68
commit e2ca081072
2 changed files with 15 additions and 15 deletions

View File

@ -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

View File

@ -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