UmeAiRT commited on
Commit
6362de3
·
verified ·
1 Parent(s): 5ba243f

Upload UmeAiRT-Start-ComfyUI.bat

Browse files
scripts/ComfyUI/UmeAiRT-Start-ComfyUI.bat CHANGED
@@ -1,2 +1,16 @@
1
- .\ComfyUI_windows_portable\python_embeded\python.exe -s ComfyUI_windows_portable\ComfyUI\main.py --windows-standalone-build --use-sage-attention --disable-smart-memory --base-directory %~dp0
2
- pause
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ echo Activating ComfyUI virtual environment...
3
+
4
+ REM Active l'environnement virtuel. La commande "python" pointera maintenant vers le python du venv.
5
+ call "%~dp0ComfyUI\venv\Scripts\activate.bat"
6
+
7
+ echo Starting ComfyUI with custom arguments...
8
+
9
+ REM Se place dans le dossier ComfyUI pour s'assurer que les chemins relatifs fonctionnent
10
+ cd "%~dp0ComfyUI"
11
+
12
+ REM Exécute le script main.py avec vos arguments.
13
+ REM "%~dp0" est utilisé pour le base-directory afin de pointer vers le dossier racine de l'installation.
14
+ python main.py --use-sage-attention --disable-smart-memory --base-directory "%~dp0"
15
+
16
+ pause