mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-12 01:07:30 +08:00
Set environment variables for user profile and cache paths before running the Python script.
15 lines
348 B
Batchfile
Executable File
15 lines
348 B
Batchfile
Executable File
set "BASE=%~dp0"
|
|
|
|
set PYTHONNOUSERSITE=1
|
|
set PYTHONPATH=
|
|
set PYTHONHOME=
|
|
|
|
set "USERPROFILE=%BASE%user_profile_cache"
|
|
set "HOME=%BASE%user_profile_cache"
|
|
|
|
set "HF_HOME=%BASE%user_profile_cache\huggingface"
|
|
set "TORCH_HOME=%BASE%user_profile_cache\torch"
|
|
|
|
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
|
|
pause
|