Revert "Stop messing with %USERPROFILE%"

This commit is contained in:
cmdr2 2023-04-24 14:30:52 +05:30 committed by GitHub
parent 943776dd14
commit 6fbb24ae3d
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 HF_HOME=%cd%\profile\.cache\huggingface set USERPROFILE=%cd%\profile
) )
@rem set the correct installer path (current vs legacy) @rem set the correct installer path (current vs legacy)