fast-stable-diffusion icon indicating copy to clipboard operation
fast-stable-diffusion copied to clipboard

automatic1111 extensions

Open hundkillen opened this issue 3 years ago • 2 comments

is there a way to use auto1111 extensions when using colab? im just getting "AssertionError: extension access disabed because of commandline flags" when trying to install a extension

hundkillen avatar Nov 27 '22 22:11 hundkillen

all extensions ?

TheLastBen avatar Nov 28 '22 09:11 TheLastBen

everything i tried at least. 10 first in the list

hundkillen avatar Nov 28 '22 10:11 hundkillen

Just to add here, I'm getting the same when trying to add pretty much any of the extensions now. Before the 2.0 update I was using a few extensions, but since the update I can't. To be exact, this is the traceback in the collab:

Error completing request Arguments: ('https://github.com/yfszzx/stable-diffusion-webui-images-browser', ['ads', 'localization']) {} Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/call_queue.py", line 45, in f res = list(func(*args, **kwargs)) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/ui_extensions.py", line 147, in install_extension_from_index ext_table, message = install_extension_from_url(None, url) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/ui_extensions.py", line 111, in install_extension_from_url check_access() File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/ui_extensions.py", line 20, in check_access assert not shared.cmd_opts.disable_extension_access, "extension access disabed because of commandline flags" AssertionError: extension access disabed because of commandline flags

Also, I tried manually adding in an extension (image browser), and it showed up and worked fine, so it appears to be something with the gui extension installer.

adder-gntl avatar Nov 28 '22 19:11 adder-gntl

are you using the gradio_server or the tunnel ?

TheLastBen avatar Nov 28 '22 19:11 TheLastBen

are you using the gradio_server or the tunnel ?

I'm using gradio because of earlier issues getting the webui to show images after generating while on tunnel.

adder-gntl avatar Nov 28 '22 19:11 adder-gntl

when you use gradio_server, it prevents installing the extensions, use the tunnel, install the extensions, then go back to gradio server

TheLastBen avatar Nov 28 '22 19:11 TheLastBen

when you use gradio_server, it prevents installing the extensions, use the tunnel, install the extensions, then go back to gradio server

Ah, that worked. To the OP @hundkillen, try the above.

Thanks @TheLastBen!

adder-gntl avatar Nov 28 '22 20:11 adder-gntl

@adder-gntl i have no idea what "use the tunnel" means :)

hundkillen avatar Nov 28 '22 21:11 hundkillen

@adder-gntl i have no idea what "use the tunnel" means :)

On the final step, do you have "Use_Gradio_Server:" checked? If you don't, that goes through local tunnel.

adder-gntl avatar Nov 28 '22 22:11 adder-gntl

@adder-gntl i have no idea what "use the tunnel" means :)

not checking the box "use_gradio_server" will automatically use the tunnel (proxy)

TheLastBen avatar Nov 28 '22 22:11 TheLastBen