Skip to content

Commit b89e40d

Browse files
committed
All changes are current up to eee46a5 extensions-builtin/Lora/ui_extra_networks_lora.py Rollback to d4945f4 html/extra-networks-card.html Rollback to 699108b javascript/extraNetworks.js Rollback to a2f23f9 modules/shared_options.py Remove options: - "extra_networks_tree_view_default_enabled" - "extra_networks_tree_view_default_width" - "extra_networks_card_description_is_html" modules/ui_extra_networks.py Rollback to 320a217 Apply 321b2db modules/ui_extra_networks_checkpoints.py Rollback to 337bc4a modules/ui_extra_networks_hypernets.py Rollback to 74b80e7 modules/ui_extra_networks_textual_inversion.py Rollback to 74b80e7 modules/ui_extra_networks_user_metadata.py Rollback to 5d7d182 style.css Rollback to 2f98a35 Apply 9f3ba38..1466dae
1 parent eee46a5 commit b89e40d

15 files changed

+349
-1406
lines changed

extensions-builtin/Lora/ui_extra_networks_lora.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,13 @@ def create_item(self, name, index=None, enable_filter=True):
2424

2525
alias = lora_on_disk.get_alias()
2626

27-
search_terms = [self.search_terms_from_path(lora_on_disk.filename)]
28-
if lora_on_disk.hash:
29-
search_terms.append(lora_on_disk.hash)
3027
item = {
3128
"name": name,
3229
"filename": lora_on_disk.filename,
3330
"shorthash": lora_on_disk.shorthash,
3431
"preview": self.find_preview(path),
3532
"description": self.find_description(path),
36-
"search_terms": search_terms,
33+
"search_term": self.search_terms_from_path(lora_on_disk.filename) + " " + (lora_on_disk.hash or ""),
3734
"local_preview": f"{path}.{shared.opts.samples_format}",
3835
"metadata": lora_on_disk.metadata,
3936
"sort_keys": {'default': index, **self.get_sort_keys(lora_on_disk.filename)},

html/extra-networks-card.html

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
<div class="card" style="{style}" onclick="{card_clicked}" data-name="{name}" {sort_keys}>
1+
<div class='card' style={style} onclick={card_clicked} data-name="{name}" {sort_keys}>
22
{background_image}
3-
<div class="button-row">{copy_path_button}{metadata_button}{edit_button}</div>
4-
<div class="actions">
5-
<div class="additional">{search_terms}</div>
6-
<span class="name">{name}</span>
7-
<span class="description">{description}</span>
3+
<div class="button-row">
4+
{metadata_button}
5+
{edit_button}
86
</div>
9-
</div>
7+
<div class='actions'>
8+
<div class='additional'>
9+
<span style="display:none" class='search_term{search_only}'>{search_term}</span>
10+
</div>
11+
<span class='name'>{name}</span>
12+
<span class='description'>{description}</span>
13+
</div>
14+
</div>

html/extra-networks-copy-path-button.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

html/extra-networks-edit-item-button.html

Lines changed: 0 additions & 4 deletions
This file was deleted.

html/extra-networks-metadata-button.html

Lines changed: 0 additions & 4 deletions
This file was deleted.

html/extra-networks-pane.html

Lines changed: 0 additions & 55 deletions
This file was deleted.

html/extra-networks-tree-button.html

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)