mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: remove db maintenance script from launcher
It is broken.
This commit is contained in:
parent
70487f0c2e
commit
af64764082
@ -10,8 +10,7 @@ set INVOKEAI_ROOT=.
|
|||||||
echo Desired action:
|
echo Desired action:
|
||||||
echo 1. Generate images with the browser-based interface
|
echo 1. Generate images with the browser-based interface
|
||||||
echo 2. Open the developer console
|
echo 2. Open the developer console
|
||||||
echo 3. Run the InvokeAI image database maintenance script
|
echo 3. Command-line help
|
||||||
echo 4. Command-line help
|
|
||||||
echo Q - Quit
|
echo Q - Quit
|
||||||
echo.
|
echo.
|
||||||
echo To update, download and run the installer from https://github.com/invoke-ai/InvokeAI/releases/latest.
|
echo To update, download and run the installer from https://github.com/invoke-ai/InvokeAI/releases/latest.
|
||||||
@ -34,9 +33,6 @@ IF /I "%choice%" == "1" (
|
|||||||
echo *** Type `exit` to quit this shell and deactivate the Python virtual environment ***
|
echo *** Type `exit` to quit this shell and deactivate the Python virtual environment ***
|
||||||
call cmd /k
|
call cmd /k
|
||||||
) ELSE IF /I "%choice%" == "3" (
|
) ELSE IF /I "%choice%" == "3" (
|
||||||
echo Running the db maintenance script...
|
|
||||||
python .venv\Scripts\invokeai-db-maintenance.exe
|
|
||||||
) ELSE IF /I "%choice%" == "4" (
|
|
||||||
echo Displaying command line help...
|
echo Displaying command line help...
|
||||||
python .venv\Scripts\invokeai-web.exe --help %*
|
python .venv\Scripts\invokeai-web.exe --help %*
|
||||||
pause
|
pause
|
||||||
|
@ -47,11 +47,6 @@ do_choice() {
|
|||||||
bash --init-file "$file_name"
|
bash --init-file "$file_name"
|
||||||
;;
|
;;
|
||||||
3)
|
3)
|
||||||
clear
|
|
||||||
printf "Running the db maintenance script\n"
|
|
||||||
invokeai-db-maintenance --root ${INVOKEAI_ROOT}
|
|
||||||
;;
|
|
||||||
4)
|
|
||||||
clear
|
clear
|
||||||
printf "Command-line help\n"
|
printf "Command-line help\n"
|
||||||
invokeai-web --help
|
invokeai-web --help
|
||||||
@ -71,8 +66,7 @@ do_line_input() {
|
|||||||
printf "What would you like to do?\n"
|
printf "What would you like to do?\n"
|
||||||
printf "1: Generate images using the browser-based interface\n"
|
printf "1: Generate images using the browser-based interface\n"
|
||||||
printf "2: Open the developer console\n"
|
printf "2: Open the developer console\n"
|
||||||
printf "3: Run the InvokeAI image database maintenance script\n"
|
printf "3: Command-line help\n"
|
||||||
printf "4: Command-line help\n"
|
|
||||||
printf "Q: Quit\n\n"
|
printf "Q: Quit\n\n"
|
||||||
printf "To update, download and run the installer from https://github.com/invoke-ai/InvokeAI/releases/latest.\n\n"
|
printf "To update, download and run the installer from https://github.com/invoke-ai/InvokeAI/releases/latest.\n\n"
|
||||||
read -p "Please enter 1-4, Q: [1] " yn
|
read -p "Please enter 1-4, Q: [1] " yn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user