add user lora tags

This commit is contained in:
Vladimir Mandic
2023-11-04 13:14:35 -04:00
parent 6e05fa865a
commit 9f5cabe95f
4 changed files with 21 additions and 10 deletions
@@ -51,7 +51,7 @@ class ExtraNetworksPageTextualInversion(ui_extra_networks.ExtraNetworksPage):
"filename": embedding.filename,
"preview": self.find_preview(path),
"search_term": self.search_terms_from_path(name),
"prompt": json.dumps(os.path.splitext(embedding.name)[0]),
"prompt": json.dumps(f" {os.path.splitext(embedding.name)[0]}"),
"local_preview": f"{path}.{shared.opts.samples_format}",
"tags": tags,
"mtime": os.path.getmtime(embedding.filename),