mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Open the developer console on windows, and print some debugging info
This commit is contained in:
parent
4134e2e9da
commit
c49d9c2611
11
invoke.bat
11
invoke.bat
@ -8,17 +8,22 @@ call conda activate invokeai
|
|||||||
echo Do you want to generate images using the
|
echo Do you want to generate images using the
|
||||||
echo 1. command-line
|
echo 1. command-line
|
||||||
echo 2. browser-based UI
|
echo 2. browser-based UI
|
||||||
set /P restore="Please enter 1 or 2: "
|
echo 3. open the developer console
|
||||||
|
set /P restore="Please enter 1, 2 or 3: "
|
||||||
IF /I "%restore%" == "1" (
|
IF /I "%restore%" == "1" (
|
||||||
echo Starting the InvokeAI command-line..
|
echo Starting the InvokeAI command-line..
|
||||||
python scripts\invoke.py
|
python scripts\invoke.py
|
||||||
) ELSE IF /I "%restore%" == "2" (
|
) ELSE IF /I "%restore%" == "2" (
|
||||||
echo Starting the InvokeAI browser-based UI..
|
echo Starting the InvokeAI browser-based UI..
|
||||||
python scripts\invoke.py --web
|
python scripts\invoke.py --web
|
||||||
|
) ELSE IF /I "%restore%" == "3" (
|
||||||
|
echo Developer Console
|
||||||
|
call where python
|
||||||
|
call python --version
|
||||||
|
|
||||||
|
cmd /k
|
||||||
) ELSE (
|
) ELSE (
|
||||||
echo Invalid selection
|
echo Invalid selection
|
||||||
pause
|
pause
|
||||||
exit /b
|
exit /b
|
||||||
)
|
)
|
||||||
|
|
||||||
cmd /k
|
|
||||||
|
@ -22,4 +22,7 @@ if [ "$0" != "bash" ]; then
|
|||||||
3 ) printf "\nDeveloper Console:\n"; file_name=$(basename "${BASH_SOURCE[0]}"); bash --init-file "$file_name";;
|
3 ) printf "\nDeveloper Console:\n"; file_name=$(basename "${BASH_SOURCE[0]}"); bash --init-file "$file_name";;
|
||||||
* ) echo "Invalid selection"; exit;;
|
* ) echo "Invalid selection"; exit;;
|
||||||
esac
|
esac
|
||||||
|
else
|
||||||
|
which python
|
||||||
|
python --version
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user