Skip to content

Commit

Permalink
hide en with no entries
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmandic committed Feb 23, 2024
1 parent 1bbcf2e commit 92c3c26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
9 changes: 4 additions & 5 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ Main ToDo list can be found at [GitHub projects](https://github.com/users/vladma

## Candidates for next release

- stable cascade
- defork
- stable cascade: <https://github.com/vladmandic/automatic/wiki/Stable-Cascade>
- ipadapter masking: <https://github.com/huggingface/diffusers/pull/6847>
- init latents: variations, tiling, img2img
- x-adapter: <https://github.com/showlab/X-Adapter>
- diffusers public callbacks
Expand All @@ -13,15 +15,12 @@ Main ToDo list can be found at [GitHub projects](https://github.com/users/vladma
- async lowvram: <https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/14855>
- remove builtin: controlnet
- remove builtin: image-browser
- defork
- remove training: ti
- remove training: hypernetwork
- extra network hide page with no entries
- ipadapter masking: <https://github.com/huggingface/diffusers/pull/6847>
- theme/cozynest: <https://github.com/Nevysha/Cozy-Nest>

## Control missing features

- second pass: <https://github.com/vladmandic/automatic/issues/2783>
- control api
- masking api
- preprocess api
File renamed without changes
2 changes: 2 additions & 0 deletions modules/ui_extra_networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,8 @@ def ui_tab_change(page):
executor.submit(page.create_items, ui.tabname)
for page in get_pages():
page.create_page(ui.tabname, skip_indexing)
if len(page.items) == 0:
continue
with gr.Tab(page.title, id=page.title.lower().replace(" ", "_"), elem_classes="extra-networks-tab") as tab:
page_html = gr.HTML(page.html, elem_id=f'{tabname}{page.name}_extra_page', elem_classes="extra-networks-page")
ui.pages.append(page_html)
Expand Down

0 comments on commit 92c3c26

Please sign in to comment.