@echo off | |
echo Activating ComfyUI virtual environment... | |
REM Active l'environnement virtuel. La commande "python" pointera maintenant vers le python du venv. | |
call "%~dp0ComfyUI\venv\Scripts\activate.bat" | |
echo Starting ComfyUI with custom arguments... | |
REM Se place dans le dossier ComfyUI pour s'assurer que les chemins relatifs fonctionnent | |
cd "%~dp0ComfyUI" | |
REM Exécute le script main.py avec vos arguments. | |
REM "%~dp0" est utilisé pour le base-directory afin de pointer vers le dossier racine de l'installation. | |
python main.py --use-sage-attention --disable-smart-memory --base-directory "%~dp0" | |
pause |