mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-25 16:59:18 +00:00
Gradio 4 + WebUI 1.10
This commit is contained in:
@@ -240,6 +240,9 @@ class Options:
|
||||
|
||||
item_categories = {}
|
||||
for item in self.data_labels.values():
|
||||
if item.section[0] is None:
|
||||
continue
|
||||
|
||||
category = categories.mapping.get(item.category_id)
|
||||
category = "Uncategorized" if category is None else category.label
|
||||
if category not in item_categories:
|
||||
|
||||
Reference in New Issue
Block a user