mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
re-add cleanup self.html
This commit is contained in:
@@ -277,6 +277,7 @@ class ExtraNetworksPage:
|
||||
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>'
|
||||
self.html = ''
|
||||
self.create_items(tabname)
|
||||
versions = sorted({item.get("version", "Unknown") for item in self.items if item.get("version")})
|
||||
versions_html = ''
|
||||
|
||||
Reference in New Issue
Block a user