aboutsummaryrefslogtreecommitdiff
path: root/modules/ui_extra_networks_textual_inversion.py
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2023-03-06 21:14:06 +0200
committerAarni Koskela <akx@iki.fi>2023-03-06 21:15:33 +0200
commit06f167da37cd00ea8241bd2a6a3c12d8c5fb9eaf (patch)
tree725c73d1437be27703bcd04e9e0e86a067877290 /modules/ui_extra_networks_textual_inversion.py
parent49b1dc5e07825e76c85ac4ac078fd63aa835e8bd (diff)
Extra networks: support .txt description sidecar file
Diffstat (limited to 'modules/ui_extra_networks_textual_inversion.py')
-rw-r--r--modules/ui_extra_networks_textual_inversion.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/ui_extra_networks_textual_inversion.py b/modules/ui_extra_networks_textual_inversion.py
index f7057390..f3bae666 100644
--- a/modules/ui_extra_networks_textual_inversion.py
+++ b/modules/ui_extra_networks_textual_inversion.py
@@ -19,6 +19,7 @@ class ExtraNetworksPageTextualInversion(ui_extra_networks.ExtraNetworksPage):
"name": embedding.name,
"filename": embedding.filename,
"preview": self._find_preview(path),
+ "description": self._find_description(path),
"search_term": self.search_terms_from_path(embedding.filename),
"prompt": json.dumps(embedding.name),
"local_preview": path + ".preview.png",