invoke-ai / InvokeAI

InvokeAI is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, supports terminal use through a CLI, and serves as the foundation for multiple commercial products.

Home Page:https://invoke-ai.github.io/InvokeAI/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[enhancement]: simple BAT file to start Invokeai-web directly

tetsuoo-online opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Contact Details

No response

What should this feature add?

First of all I did try to search that idea beforehand but there was like 25 pages to look into... if you know what I mean.

So, I'm not interested in anything than the webUI (option 1) so I see no reason to go through the selection every time I want to use InvokeAI. I might try the database maintenance later if I see bugs happening but for now I'd rather not touch anything.
I'm no programer but it wasn't too hard to just remove what seemed unnecessary for me in invoke.bat (I made a copy of course)

Alternatives

Here's what is left. Remember that I don't exactly know what I'm doing so if you have any advice about this, please you're welcome :

@echo off

PUSHD "%~dp0"
setlocal

call .venv\Scripts\activate.bat
set INVOKEAI_ROOT=.

echo To update, download and run the installer from https://github.com/invoke-ai/InvokeAI/releases/latest.

    python .venv\Scripts\invokeai-web.exe %*

endlocal
pause

:ending
exit /b

Note that I kept the download link because it's useful.

Additional Content

No response