From bb607927d09dd05257e677570e6a340b3d3e0c6b Mon Sep 17 00:00:00 2001 From: JeLuF Date: Sun, 23 Apr 2023 12:54:20 +0200 Subject: [PATCH] Stop messing with %USERPROFILE% Set HF_HOME, so that the models don't get downloaded again. --- scripts/on_sd_start.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index d8c6f763..c3bbb576 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -8,7 +8,7 @@ @copy sd-ui-files\scripts\check_models.py scripts\ /Y if exist "%cd%\profile" ( - set USERPROFILE=%cd%\profile + set HF_HOME=%cd%\profile\.cache\huggingface ) @rem set the correct installer path (current vs legacy)