Automatically open webui in browser when running "locally"#12254
Automatically open webui in browser when running "locally"#12254AUTOMATIC1111 merged 2 commits intodevfrom
Conversation
|
Make disabling it a UI setting rather than commandline arg ("Automatically open browser if running locally", on by default). The condition is crowded. Maybe: before launch()? |
|
ok, I will add the setting to the UI but similar to logic to like use we might constantly relaunching webui and it sometimes becomes a nuisance so it is more convenient than this behavior is controllable by a areg as opposed to switching between two configs I didn't put it in UI because I didn't want to duplicate the setting |
|
I forgot about |
0c43cf1 to
b645381
Compare
|
if a user wish to disable auto launch regardless of option they can set on the other hand if they wish to trigger Auto launch even when reloading or restarting they can set |

Update
no
--disable-auto-autolaunchDescription
Automatically open webui in system browser when user is running "locally"
if (
--listenor--shareor--ngrok) and--disable-auto-autolaunchis NOT used, automatically open webui in browsernew arg
--disable-auto-autolaunchfor disabling this behaviora ease of use for new users that my mistakenly think thatwebui is not launched
example #12251
--autolaunchbehavior not changed, it will still launch in browser even ifauto autolaunchit's not triggeredI think the auto autolaunch logic covers most users use case
but ther might be a group of people that launch web UI in normal browser mode with API enabled
but don't want to open in browser as they interact with you are back and primarily through API
that might be annoyed by this, this group of people would need to use
--disable-auto-autolaunchI assume that this group of user is the minority and are advanced users
Checklist: