Stop messing with %USERPROFILE%

Set HF_HOME, so that the models don't get downloaded again.
This commit is contained in:
JeLuF 2023-04-23 12:54:20 +02:00 committed by GitHub
parent 1f4e4d8d82
commit bb607927d0
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
if exist "%cd%\profile" (
set USERPROFILE=%cd%\profile
set HF_HOME=%cd%\profile\.cache\huggingface
)
@rem set the correct installer path (current vs legacy)