Revert "Revert "Stop messing with %USERPROFILE%""

This commit is contained in:
cmdr2 2023-04-24 14:32:18 +05:30 committed by GitHub
parent fb1e3de3c7
commit 3ae851ab1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@
@copy sd-ui-files\scripts\check_models.py scripts\ /Y @copy sd-ui-files\scripts\check_models.py scripts\ /Y
if exist "%cd%\profile" ( if exist "%cd%\profile" (
set USERPROFILE=%cd%\profile set HF_HOME=%cd%\profile\.cache\huggingface
) )
@rem set the correct installer path (current vs legacy) @rem set the correct installer path (current vs legacy)