update networks list

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-08-25 11:08:16 -04:00
parent ffd1daac00
commit 1ef07340ec
3 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -13,7 +13,8 @@
- **UI**
- improved image scaling in img2img and control interfaces
- add base model type to networks display, thanks @Artheriax
- add additional hints to ui
- additional hints to ui, thanks @Artheriax
- additional artwork for reference models in networks, thanks @liutyi
- **Fixes**
- normalize path hanlding when deleting images
- fix hidden model tags in networks display
+5 -1
View File
@@ -276,7 +276,11 @@ class ExtraNetworksPage:
if len(subdir) == 0:
continue
style = 'color: var(--color-accent)' if subdir in ['All', 'Local', 'Diffusers', 'Reference'] else ''
subdirs_html += f'<button class="lg secondary gradio-button custom-button" onclick="extraNetworksSearchButton(event)" style="{style}">{html.escape(subdir)}</button><br>'
if subdir in ['All', 'Local', 'Diffusers', 'Reference']:
style = 'network-reference'
else:
style = 'network-folder'
subdirs_html += f'<button class="lg secondary gradio-button custom-button {style}" onclick="extraNetworksSearchButton(event)">{html.escape(subdir)}</button><br>'
self.html = ''
self.create_items(tabname)
self.create_xyz_grid()