mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-01 20:35:06 +08:00
add missing reqs from PR
add missing check to autoinstall that will install fonts for existing users remove unusaed line from another PR
This commit is contained in:
parent
fbdec2ef20
commit
a5316bbf63
@ -11,5 +11,7 @@ pytorch_lightning
|
|||||||
diffusers
|
diffusers
|
||||||
invisible-watermark
|
invisible-watermark
|
||||||
scikit-image
|
scikit-image
|
||||||
|
fonts
|
||||||
|
font-roboto
|
||||||
git+https://github.com/crowsonkb/k-diffusion.git
|
git+https://github.com/crowsonkb/k-diffusion.git
|
||||||
git+https://github.com/TencentARC/GFPGAN.git
|
git+https://github.com/TencentARC/GFPGAN.git
|
||||||
|
@ -51,7 +51,6 @@ class Script(scripts.Script):
|
|||||||
|
|
||||||
def run(self, p, put_at_start):
|
def run(self, p, put_at_start):
|
||||||
modules.processing.fix_seed(p)
|
modules.processing.fix_seed(p)
|
||||||
seed = p.seed
|
|
||||||
|
|
||||||
original_prompt = p.prompt[0] if type(p.prompt) == list else p.prompt
|
original_prompt = p.prompt[0] if type(p.prompt) == list else p.prompt
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ if %ERRORLEVEL% == 0 goto :install_reqs
|
|||||||
goto :show_stdout_stderr
|
goto :show_stdout_stderr
|
||||||
|
|
||||||
:install_reqs
|
:install_reqs
|
||||||
%PYTHON% -c "import omegaconf" >tmp/stdout.txt 2>tmp/stderr.txt
|
%PYTHON% -c "import omegaconf; import fonts" >tmp/stdout.txt 2>tmp/stderr.txt
|
||||||
if %ERRORLEVEL% == 0 goto :make_dirs
|
if %ERRORLEVEL% == 0 goto :make_dirs
|
||||||
echo Installing requirements...
|
echo Installing requirements...
|
||||||
%PYTHON% -m pip install -r %REQS_FILE% --prefer-binary >tmp/stdout.txt 2>tmp/stderr.txt
|
%PYTHON% -m pip install -r %REQS_FILE% --prefer-binary >tmp/stdout.txt 2>tmp/stderr.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user