Repository: stable-diffusion-webui
Issue: [Bug]: colab notebook updated to version 1.6 can't generate pictures 
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

I updated to version 1.6 and used a new folder, but I can't generate pictures at all, there is no response at all when pressing the generate button

### Steps to reproduce the problem

I used colab notebook，
https://github.com/TheLastBen/fast-stable-diffusion/
No response at all when pressing the generate button, or ctrl+enter either
And in extension, checkbox for individual extensions doesn't work.
Also the prompt word counter doesn't work at all. 
The messages below each have appeared more than once, can’t figure out what happened.

""The future belongs to a different loop than the one specified as the loop argument
The future belongs to a different loop than the one specified as the loop argument
The future belongs to a different loop than the one specified as the loop argument
The future belongs to a different loop than the one specified as the loop argument
The future belongs to a different loop than the one specified as the loop argument
The future belongs to a different loop than the one specified as the loop argument
The future belongs to a different loop than the one specified as the loop argument"

"
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1435, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1107, in call_function
prediction = await anyio.to_thread.run_sync(
File "/usr/local/lib/python3.10/dist-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "/content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/modules/ui_extra_networks.py", line 392, in pages_html
return refresh()
File "/content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/modules/ui_extra_networks.py", line 400, in refresh
ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pages]
File "/content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/modules/ui_extra_networks.py", line 400, in
ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pages]
File "/content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/modules/ui_extra_networks.py", line 162, in create_html
self.items = {x["name"]: x for x in self.list_items()}
File "/content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/modules/ui_extra_networks.py", line 162, in
self.items = {x["name"]: x for x in self.list_items()}
File "/content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/extensions-builtin/Lora/ui_extra_networks_lora.py", line 69, in list_items
for index, name in enumerate(networks.available_networks):
RuntimeError: dictionary changed size during iteration"

### What should have happened?

 It should generate pictures

### Sysinfo

[sysinfo-2023-09-01-05-14.txt](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/12494587/sysinfo-2023-09-01-05-14.txt)


### What browsers do you use to access the UI ?

Google Chrome

### Console logs

```Shell
Loading weights [6b4469c328] from /content/gdrive/MyDrive/model/SOGMA6_IN0.25.safetensors
Creating model from config: /content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/configs/v1-inference.yaml
Running on public URL: https://936f6b0d7b21708ea3.gradio.live
✔ Connected
Startup time: 176.5s (launcher: 0.9s, import torch: 12.4s, import gradio: 1.8s, setup paths: 21.6s, import ldm: 0.3s, initialize shared: 8.5s, other imports: 37.9s, setup codeformer: 7.8s, setup gfpgan: 0.5s, list SD models: 19.3s, load scripts: 22.3s, load upscalers: 1.4s, reload hypernetworks: 0.4s, initialize extra networks: 5.7s, create ui: 10.4s, gradio launch: 24.7s, add APIs: 0.5s).
Loading VAE weights specified in settings: /content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/models/VAE/VAE/vae-ft-mse-840000-ema-pruned.safetensors
Applying attention optimization: xformers... done.
Model loaded in 67.4s (load weights from disk: 40.8s, create model: 4.3s, apply weights to model: 12.9s, load VAE: 5.9s, calculate empty prompt: 3.3s).
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1435, in process_api
    result = await self.call_function(
  File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1107, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "/usr/local/lib/python3.10/dist-packages/anyio/to_thread.py", line 31, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "/content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/modules/ui_extra_networks.py", line 392, in pages_html
    return refresh()
  File "/content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/modules/ui_extra_networks.py", line 400, in refresh
    ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pages]
  File "/content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/modules/ui_extra_networks.py", line 400, in <listcomp>
    ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pages]
  File "/content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/modules/ui_extra_networks.py", line 162, in create_html
    self.items = {x["name"]: x for x in self.list_items()}
  File "/content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/modules/ui_extra_networks.py", line 162, in <dictcomp>
    self.items = {x["name"]: x for x in self.list_items()}
  File "/content/gdrive/.shortcut-targets-by-id/1sa0Ccm-QmVPOCQUjZKiCm_L2qzbNTnQ5/sd/stable-diffusion-webui/extensions-builtin/Lora/ui_extra_networks_lora.py", line 69, in list_items
    for index, name in enumerate(networks.available_networks):
RuntimeError: dictionary changed size during iteration
```


### Additional information

_No response_