Overriding default launch arguments - NUROISEA/anime-webui-colab GitHub Wiki
This option is only visible for the "Provide your own" notebook, but you can still do this manually on any notebooks.
By default, all of the colab notebooks launches the web UI with the following arguments:
--opt-sdp-attention
--lowram
--no-hashing
--enable-insecure-extension-access
--no-half-vae
--disable-safe-unpickle
--gradio-queue
But if you wish to not use any of those or want to have greater control to the web UI you can enter your own arguments of choice. Do note that there are some arguments you cannot remove/change to not break the colab (I blame myself), these are the ff:
--ckpt <model path>
--vae-path <vae path>
-
--share
or--ngrok <token>
or--remotemoe
or--localhostrun
or--cloudflared
-
--ngrok_region <region>
(if you have ngrok enabled)
Leaving this blank will launch the web UI with my predefined arguments.
Go to the web UI's wiki about "Command line arguments" to see what available arguments you can use.
The rest of the notebooks do not have a textbox to easily change the arguments, you have to embrace your coding spirit to do so. Here are the steps to do so:
- Click on "Show code"
Show code location
- Locate
arg_list = utility.arguments
(line numbers might be different)
Code location
- Enter a new line and enter the following snippet of code:
default_override="",
Your code should look like this
Remember to match the indentation!!
- Enter your chosen arguments, and then run the cell