From 23d825221f04167acec67ef2e02574764896d3b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20M=C3=B6ller?= Date: Fri, 23 Sep 2022 11:14:20 +0200 Subject: [PATCH] Fixed webui.cmd crash when having () in path. #1276 (#1279) Co-authored-by: Dice --- webui.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.cmd b/webui.cmd index 97df705..69d0d38 100644 --- a/webui.cmd +++ b/webui.cmd @@ -82,7 +82,7 @@ call "%v_conda_path%\Scripts\activate.bat" "%v_conda_env_name%" :PROMPT set SETUPTOOLS_USE_DISTUTILS=stdlib IF EXIST "models\ldm\stable-diffusion-v1\model.ckpt" ( - set PYTHONPATH=%~dp0 + set "PYTHONPATH=%~dp0" python scripts\relauncher.py ) ELSE ( echo Your model file does not exist! Place it in 'models\ldm\stable-diffusion-v1' with the name 'model.ckpt'.