@@ -58,49 +58,24 @@ do_choice() {
5858 invokeai-web $PARAMS
5959 ;;
6060 2)
61- clear
62- printf " Textual inversion training\n"
63- invokeai-ti --gui $PARAMS
64- ;;
65- 3)
66- clear
67- printf " Merge models (diffusers type only)\n"
68- invokeai-merge --gui $PARAMS
69- ;;
70- 4)
71- clear
72- printf " Download and install models\n"
73- invokeai-model-install --root ${INVOKEAI_ROOT}
74- ;;
75- 5)
76- clear
77- printf " Change InvokeAI startup options\n"
78- invokeai-configure --root ${INVOKEAI_ROOT} --skip-sd-weights --skip-support-models
79- ;;
80- 6)
81- clear
82- printf " Re-run the configure script to fix a broken install or to complete a major upgrade\n"
83- invokeai-configure --root ${INVOKEAI_ROOT} --yes --default_only --skip-sd-weights
84- ;;
85- 7)
8661 clear
8762 printf " Open the developer console\n"
8863 file_name=$( basename " ${BASH_SOURCE[0]} " )
8964 bash --init-file " $file_name "
9065 ;;
91- 8 )
66+ 3 )
9267 clear
9368 printf " UPDATING FROM WITHIN THE APP IS BEING DEPRECATED\n"
9469 printf " Please download the installer from https://github.com/invoke-ai/InvokeAI/releases/latest and run it to update your installation.\n"
9570 sleep 4
9671 python -m invokeai.frontend.install.invokeai_update
9772 ;;
98- 9 )
73+ 4 )
9974 clear
10075 printf " Running the db maintenance script\n"
10176 invokeai-db-maintenance --root ${INVOKEAI_ROOT}
10277 ;;
103- 10 )
78+ 5 )
10479 clear
10580 printf " Command-line help\n"
10681 invokeai-web --help
@@ -118,15 +93,10 @@ do_choice() {
11893do_dialog () {
11994 options=(
12095 1 " Generate images with a browser-based interface"
121- 2 " Textual inversion training"
122- 3 " Merge models (diffusers type only)"
123- 4 " Download and install models"
124- 5 " Change InvokeAI startup options"
125- 6 " Re-run the configure script to fix a broken install or to complete a major upgrade"
126- 7 " Open the developer console"
127- 8 " Update InvokeAI (DEPRECATED - please use the installer)"
128- 9 " Run the InvokeAI image database maintenance script"
129- 10 " Command-line help"
96+ 2 " Open the developer console"
97+ 3 " Update InvokeAI (DEPRECATED - please use the installer)"
98+ 4 " Run the InvokeAI image database maintenance script"
99+ 5 " Command-line help"
130100 )
131101
132102 choice=$( dialog --clear \
@@ -151,15 +121,10 @@ do_line_input() {
151121 printf " ** For a more attractive experience, please install the 'dialog' utility using your package manager. **\n\n"
152122 printf " What would you like to do?\n"
153123 printf " 1: Generate images using the browser-based interface\n"
154- printf " 2: Run textual inversion training\n"
155- printf " 3: Merge models (diffusers type only)\n"
156- printf " 4: Download and install models\n"
157- printf " 5: Change InvokeAI startup options\n"
158- printf " 6: Re-run the configure script to fix a broken install\n"
159- printf " 7: Open the developer console\n"
160- printf " 8: Update InvokeAI\n"
161- printf " 9: Run the InvokeAI image database maintenance script\n"
162- printf " 10: Command-line help\n"
124+ printf " 2: Open the developer console\n"
125+ printf " 3: Update InvokeAI\n"
126+ printf " 4: Run the InvokeAI image database maintenance script\n"
127+ printf " 5: Command-line help\n"
163128 printf " Q: Quit\n\n"
164129 read -p " Please enter 1-10, Q: [1] " yn
165130 choice=${yn:= ' 1' }
0 commit comments