Skip to content

Commit

Permalink
Merge pull request #15198 from zopieux/search-desc
Browse files Browse the repository at this point in the history
Add model description to searched terms
  • Loading branch information
AUTOMATIC1111 authored Mar 10, 2024
2 parents 8076100 + 0085e71 commit 2e93bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/extraNetworks.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function setupExtraNetworksForTab(tabname) {
var searchTerm = search.value.toLowerCase();
gradioApp().querySelectorAll('#' + tabname + '_extra_tabs div.card').forEach(function(elem) {
var searchOnly = elem.querySelector('.search_only');
var text = Array.prototype.map.call(elem.querySelectorAll('.search_terms'), function(t) {
var text = Array.prototype.map.call(elem.querySelectorAll('.search_terms, .description'), function(t) {
return t.textContent.toLowerCase();
}).join(" ");

Expand Down

0 comments on commit 2e93bdc

Please sign in to comment.