From a5316bbf63dab18ec621d54aad0c9173c6bb5701 Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Fri, 9 Sep 2022 23:45:44 +0300 Subject: [PATCH] add missing reqs from PR add missing check to autoinstall that will install fonts for existing users remove unusaed line from another PR --- requirements.txt | 2 ++ scripts/prompt_matrix.py | 1 - webui.bat | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index ba1bc281..ce8f2338 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,5 +11,7 @@ pytorch_lightning diffusers invisible-watermark scikit-image +fonts +font-roboto git+https://github.com/crowsonkb/k-diffusion.git git+https://github.com/TencentARC/GFPGAN.git diff --git a/scripts/prompt_matrix.py b/scripts/prompt_matrix.py index 776f84f3..f8da0fdd 100644 --- a/scripts/prompt_matrix.py +++ b/scripts/prompt_matrix.py @@ -51,7 +51,6 @@ class Script(scripts.Script): def run(self, p, put_at_start): modules.processing.fix_seed(p) - seed = p.seed original_prompt = p.prompt[0] if type(p.prompt) == list else p.prompt diff --git a/webui.bat b/webui.bat index a7ed9c80..3ece4dff 100644 --- a/webui.bat +++ b/webui.bat @@ -85,7 +85,7 @@ if %ERRORLEVEL% == 0 goto :install_reqs goto :show_stdout_stderr :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 echo Installing requirements... %PYTHON% -m pip install -r %REQS_FILE% --prefer-binary >tmp/stdout.txt 2>tmp/stderr.txt