aboutsummaryrefslogtreecommitdiff
path: root/webui.bat
diff options
context:
space:
mode:
authorChristian <59421913+Cikmo@users.noreply.github.com>2022-09-08 00:31:25 +0200
committerGitHub <noreply@github.com>2022-09-08 00:31:25 +0200
commitd03e9502b1815e2262eff09e0a0f6b21e18e8609 (patch)
tree7d99f27c181cb4a339a1e37475ff18ab0bdc7fa0 /webui.bat
parent296d012423f8d1862a63680443bb88b7d904ba4e (diff)
Fix not being able to have spaces directory
Adds quotes around the PYTHON path so that there can be spaces in parent folders.
Diffstat (limited to 'webui.bat')
-rw-r--r--webui.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.bat b/webui.bat
index 055a19b0..0de2ab88 100644
--- a/webui.bat
+++ b/webui.bat
@@ -35,7 +35,7 @@ echo Unable to create venv in directory %VENV_DIR%
goto :show_stdout_stderr
:activate_venv
-set PYTHON=%~dp0%VENV_DIR%\Scripts\Python.exe
+set PYTHON="%~dp0%VENV_DIR%\Scripts\Python.exe"
%PYTHON% --version
echo venv %PYTHON%
goto :install_torch