Changed logic for using onnxruntime

This commit is contained in:
Level Pixel Dev
2025-05-28 06:18:56 +06:00
parent 2eedc320d8
commit 6999dd366e
4 changed files with 116 additions and 9 deletions
+17
View File
@@ -0,0 +1,17 @@
@echo off
setlocal
echo Please close the ComfyUI console before continuing.
set /p user_input=Did you close the ComfyUI console? (Y/n):
if /I "%user_input%"=="Y" (
echo Uninstalling onnxruntime...
cd ..\..\..\..
.\python_embeded\python.exe -m pip uninstall -y onnxruntime
) else (
echo Please close the ComfyUI console first and run this script again.
)
endlocal
pause