Mattthew commited on
Commit
5fc2029
1 Parent(s): f561d4d

minor text changes

Browse files
Files changed (2) hide show
  1. index.html +30 -23
  2. index.js +7 -1
index.html CHANGED
@@ -50,7 +50,7 @@
50
  </div>
51
  <div class="divider"></div>
52
  <label class="top_control">
53
- <input type="checkbox" checked="checked" name="mode" value="mode" autocomplete="off"><span>permissive</span><span class="count"></span>
54
  </label>
55
  <label class="top_control">
56
  <input type="checkbox" checked="checked" name="use_categories" value="use_categories" autocomplete="off"><span>use categories</span><span class="count"></span>
@@ -62,7 +62,7 @@
62
  <input type="checkbox" checked="checked" name="deprecated" value="deprecated" autocomplete="off"><span>hide unknown to SDXL</span><span class="count"></span>
63
  </label>
64
  <label class="top_control">
65
- <input type="checkbox" checked="checked" name="nudity" value="nudity" autocomplete="off"><span>allow risqué</span><span class="count"></span>
66
  </label>
67
  <div class="divider"></div>
68
  <span id="edit_most_used" class="hidden">edit these</span>
@@ -167,8 +167,8 @@
167
  </div>
168
  <div id="information">
169
  <div id="info_switcher">
170
- <h2 id="info_actions" class="selected">🔍&nbsp;&nbsp;&nbsp;actions</h2>
171
- <h2 id="info_help">📓&nbsp;&nbsp;&nbsp;manual</h2>
172
  <h2 id="info_tips">📸&nbsp;&nbsp;&nbsp;prompts</h2>
173
  <h2 id="info_about">💫&nbsp;&nbsp;&nbsp;about</h2>
174
  <h2 id="info_export">📤&nbsp;&nbsp;&nbsp;export</h2>
@@ -212,7 +212,7 @@
212
  <ul>
213
  <li>Adds detail and removes artifacts while while strongly preserving artist style.</li>
214
  <li>Preserves styles even for landscapes and even for messy/grungy artists.</li>
215
- <li>Makes faces more aesthetic, improves anatomy, and leans towards realism.<li>
216
  </ul>
217
  </li>
218
  </ul>
@@ -233,13 +233,24 @@
233
  <li>If you prompt with their names, the result will be unlike their actual style and generic, and you can achieve similar results by prompting "a painting", etc.</li>
234
  <li>They're included in the database for the record of what SDXL doesn't know</li>
235
  </ul>
236
- <h3>Allow risqué</h3>
237
  <ul>
238
- <li>Unchecking blurs all images that don't meet extremely conservative, G-rated, 100% SFW criteria. Note that the most risqué this site gets is boobies. Even when allow risqué is checked, I've censored all below-the-waist nudity as liability protection.</li>
239
  </ul>
240
  <h3>Important tags</h3>
241
  <ul>
242
- <li>Tap <strong>edit</strong> under the important category to add or remove tags</li>
 
 
 
 
 
 
 
 
 
 
 
243
  </ul>
244
  <h3>Why does the 🎨 prompt sometimes match the 🧑 or 🏞️ prompt?</h3>
245
  <ul>
@@ -249,11 +260,7 @@
249
  </ul>
250
  <h3>✍️ Offline tag-editing mode</h3>
251
  <ul>
252
- <li>This features is only for editing tags offline. If you are viewing this from Hugging Face, any tag edits won't be applied, but they'll be saved. If you've downloaded the repository and are viewing your local file, tag edits are applied. In both cases, your edits will be available for export 📥 as text. If you want to suggest tag improvements for everyone's benefit, edit tags, copy the text from 📥, and post it as a comment to Hugging Face. I will incorporate accurate edits ASAP. Thank you for contributing!</li>
253
- </ul>
254
- <h3>Build a prompt</h3>
255
- <ul>
256
- <li>See 📸 prompts</li>
257
  </ul>
258
  </div>
259
  </div>
@@ -324,7 +331,7 @@
324
  <li>Suggest features and report bugs</li>
325
  <li>Leave all feedback on <a href="https://huggingface.co/spaces/mattthew/SDXL-artists-browser/discussions" target="_blank">Huggingface</a></li>
326
  </ul>
327
- <h3>Workflow for these style images</h3>
328
  <ul>
329
  <li>
330
  <strong>All:</strong><br>
@@ -350,18 +357,18 @@
350
  </li>
351
  <li>
352
  <strong>exceptions:</strong><br>
353
- For most photographers, "artwork in the style of <i>name</i>" was replaced with "by <i>name</i>". Rarely, seed 48 was used.</li>
354
  </ul>
355
  <h3>Disclaimers</h3>
356
  <ul>
357
- <li>This tools is just for fun. This information may NOT be correct! The tags are mostly from manual input with a mix of other sources, some AI generated.</li>
358
- <li>Remember, SDXL is only a crude imitation of these artists. Check out these artists' actual artwork for more inspiration!</li>
359
- <li>This database has more straight white male artists than in the actual population. That's because they've been favored by art-collectors, past and present. Please suggest artists I should add.</li>
360
- <li>My code doesn't use cookies and sends nothing to any server. But it's hosted on Huggingface, and I can't control if they cookie you</li>
361
- <li>Open source. Creatives Commons license. Download for free.</li>
362
- <li>I don't get nor do I want compensation for this. Getting thanks feels great!</li>
363
- <li>I'm not affiliated with Stability AI</li>
364
- <li>Use at your own risk. You're responsible for your own actions.</li>
365
  </ul>
366
  </div>
367
  </div>
 
50
  </div>
51
  <div class="divider"></div>
52
  <label class="top_control">
53
+ <input type="checkbox" checked="checked" name="mode" value="mode" autocomplete="off"><span>permissive filter</span><span class="count"></span>
54
  </label>
55
  <label class="top_control">
56
  <input type="checkbox" checked="checked" name="use_categories" value="use_categories" autocomplete="off"><span>use categories</span><span class="count"></span>
 
62
  <input type="checkbox" checked="checked" name="deprecated" value="deprecated" autocomplete="off"><span>hide unknown to SDXL</span><span class="count"></span>
63
  </label>
64
  <label class="top_control">
65
+ <input type="checkbox" checked="checked" name="nudity" value="nudity" autocomplete="off"><span>don't blur risqué</span><span class="count"></span>
66
  </label>
67
  <div class="divider"></div>
68
  <span id="edit_most_used" class="hidden">edit these</span>
 
167
  </div>
168
  <div id="information">
169
  <div id="info_switcher">
170
+ <h2 id="info_actions" class="selected">🔍&nbsp;&nbsp;&nbsp;search</h2>
171
+ <h2 id="info_help">📓&nbsp;&nbsp;&nbsp;features</h2>
172
  <h2 id="info_tips">📸&nbsp;&nbsp;&nbsp;prompts</h2>
173
  <h2 id="info_about">💫&nbsp;&nbsp;&nbsp;about</h2>
174
  <h2 id="info_export">📤&nbsp;&nbsp;&nbsp;export</h2>
 
212
  <ul>
213
  <li>Adds detail and removes artifacts while while strongly preserving artist style.</li>
214
  <li>Preserves styles even for landscapes and even for messy/grungy artists.</li>
215
+ <li>Makes faces more aesthetic, improves anatomy, and leans towards realism.</li>
216
  </ul>
217
  </li>
218
  </ul>
 
233
  <li>If you prompt with their names, the result will be unlike their actual style and generic, and you can achieve similar results by prompting "a painting", etc.</li>
234
  <li>They're included in the database for the record of what SDXL doesn't know</li>
235
  </ul>
236
+ <h3>Don't blur risqué</h3>
237
  <ul>
238
+ <li>Risqué means any image that isn't G-rated and 100% SFW by extremely conservative standards. But the most risqué this site gets is images with boobies.</li>
239
  </ul>
240
  <h3>Important tags</h3>
241
  <ul>
242
+ <li>Tap <strong>edit</strong> under the important category to add or remove tags to that category. This lets you save your "favorite" tags for easier access.</li>
243
+ </ul>
244
+ <h3>Build a prompt</h3>
245
+ <ul>
246
+ <li>See 📸 prompts</li>
247
+ </ul>
248
+ <h3>But wait, there's more...</h3>
249
+ <ul>
250
+ <li>Quickly toggle any tag by typing the / key, then typing the first few letters of the tag</li>
251
+ <li>Need inspo? Try the "see some random tags" button from the search tab. Does what it says on the tin</li>
252
+ <li>"Copy visible artist names" from the search tab lets you export all artists that match you filters as plain text</li>
253
+ <il>The export tab lets you copy data from one device to another</il>
254
  </ul>
255
  <h3>Why does the 🎨 prompt sometimes match the 🧑 or 🏞️ prompt?</h3>
256
  <ul>
 
260
  </ul>
261
  <h3>✍️ Offline tag-editing mode</h3>
262
  <ul>
263
+ <li>This feature is only for editing tags offline. If you are viewing this from Hugging Face, any tag edits won't be applied, but they'll be saved. If you've downloaded the repository and are viewing your local file, tag edits are applied. In both cases, your edits will be available for export 📥 as text. If you want to suggest tag improvements for everyone's benefit, edit tags, copy the text from 📥, and post it as a comment to Hugging Face. I will incorporate accurate edits ASAP. Thank you for contributing!</li>
 
 
 
 
264
  </ul>
265
  </div>
266
  </div>
 
331
  <li>Suggest features and report bugs</li>
332
  <li>Leave all feedback on <a href="https://huggingface.co/spaces/mattthew/SDXL-artists-browser/discussions" target="_blank">Huggingface</a></li>
333
  </ul>
334
+ <h3>Workflow for almost all of these images</h3>
335
  <ul>
336
  <li>
337
  <strong>All:</strong><br>
 
357
  </li>
358
  <li>
359
  <strong>exceptions:</strong><br>
360
+ For most photographers, "artwork in the style of <i>name</i>" was replaced with "by <i>name</i>". Rarely, seed 48 was used. For Dynavision I used negative prompt keywords to reduce NSFW.</li>
361
  </ul>
362
  <h3>Disclaimers</h3>
363
  <ul>
364
+ <li>The tags are mostly my manual input, with a mix of other sources including AI. They may be incorrect!</li>
365
+ <li>SDXL is only a crude imitation of these artists. Check out these artists' actual artwork for more inspiration!</li>
366
+ <li>This database has more straight white male artists than in the actual population. That's because they've been favored by art-collectors, past and present. Please suggest non white male artists that I should add.</li>
367
+ <li>My code doesn't use cookies, and it sends nothing to any server. But it's hosted on Hugging Face, and I can't control if they cookie you.</li>
368
+ <li>This tool is open source and Creatives Commons license. Download for free, use offline, modify as you wish.</li>
369
+ <li>I don't get, nor do I want, any compensation for this. Getting thanked feels great though!</li>
370
+ <li>I'm not affiliated with Stability AI or any model makers.</li>
371
+ <li>This tools is only for fun. Use at your own risk. You're responsible for your own actions. Void where prohibited.</li>
372
  </ul>
373
  </div>
374
  </div>
index.js CHANGED
@@ -709,7 +709,11 @@ async function loadCheckboxesState() {
709
  checkbox.checked = state[name];
710
  styleLabelToCheckbox(checkbox);
711
  }
712
- if(name != 'mode' && name != 'use_categories') {
 
 
 
 
713
  if(!state[name]) {
714
  allChecked = false;
715
  }
@@ -1118,11 +1122,13 @@ function checkAllInCategory(theCheckbox) {
1118
  function blurUnblurNudity() {
1119
  let nudity = document.querySelector('input[name="nudity"]');
1120
  if(nudity.checked) {
 
1121
  let images = document.querySelectorAll('.img');
1122
  images.forEach(function(img){
1123
  img.classList.remove('censored');
1124
  });
1125
  } else {
 
1126
  for (let i=0, il=artistsData.length; i<il; i++) {
1127
  let artist = artistsData[i];
1128
  for(j=0,jl=artist[4].length; j<jl; j++) {
 
709
  checkbox.checked = state[name];
710
  styleLabelToCheckbox(checkbox);
711
  }
712
+ if(name != 'mode'
713
+ && name != 'use_categories'
714
+ && name != 'low_count'
715
+ && name != 'deprecated'
716
+ && name != 'nudity') {
717
  if(!state[name]) {
718
  allChecked = false;
719
  }
 
1122
  function blurUnblurNudity() {
1123
  let nudity = document.querySelector('input[name="nudity"]');
1124
  if(nudity.checked) {
1125
+ nudity.parentNode.classList.remove('warning');
1126
  let images = document.querySelectorAll('.img');
1127
  images.forEach(function(img){
1128
  img.classList.remove('censored');
1129
  });
1130
  } else {
1131
+ nudity.parentNode.classList.add('warning');
1132
  for (let i=0, il=artistsData.length; i<il; i++) {
1133
  let artist = artistsData[i];
1134
  for(j=0,jl=artist[4].length; j<jl; j++) {