Mattthew commited on
Commit
bb43957
β€’
1 Parent(s): a860200
Files changed (3) hide show
  1. index.css +1 -0
  2. index.html +197 -196
  3. index.js +15 -1
index.css CHANGED
@@ -531,6 +531,7 @@ h4 {
531
  #info_search_output label {
532
  opacity: 0.8;
533
  padding: 5px;
 
534
  }
535
 
536
  #info_search_output label:hover {
 
531
  #info_search_output label {
532
  opacity: 0.8;
533
  padding: 5px;
534
+ cursor: pointer;
535
  }
536
 
537
  #info_search_output label:hover {
index.html CHANGED
@@ -13,199 +13,6 @@
13
  <body>
14
  <div id="layout">
15
  <div id="rows">
16
- <div id="information">
17
- <div id="info_switcher">
18
- <h2 id="info_actions" class="selected">πŸ”&nbsp;&nbsp;&nbsp;actions</h2>
19
- <h2 id="info_help">πŸ““&nbsp;&nbsp;&nbsp;manual</h2>
20
- <h2 id="info_tips">πŸ“Έ&nbsp;&nbsp;&nbsp;tips</h2>
21
- <h2 id="info_about">πŸ’«&nbsp;&nbsp;&nbsp;about</h2>
22
- <h2 id="info_export">πŸ“€&nbsp;&nbsp;&nbsp;export</h2>
23
- <h2 id="info_closer">ESC</h2>
24
- </div>
25
- <div id="information_actions" class="information_section selected">
26
- <div class="buttons">
27
- <div id="copy-all-names">copy visible artist names</div>
28
- <div id="random-tags">see some random tags</div>
29
- </div>
30
- <input type="text" id="info_search_input" name="info_search_input" value="" data-match="" placeholder="search for tags" autocomplete="off">
31
- <div id="info_search_output"></div>
32
- </div>
33
- <div id="information_help" class="information_section">
34
- <div>
35
- <h3>Click an artist's...</h3>
36
- <ul>
37
- <li><strong>name</strong> to copy them to clipboard</li>
38
- <li><strong>tags</strong> to copy them to clipboard</li>
39
- <li><strong>⭐️</strong> to toggle them as favorited</li>
40
- <li><strong>✍️</strong> enters offline tag-editing mode, see below</li>
41
- </ul>
42
- <h3>Permissive filter</h3>
43
- <ul>
44
- <li><strong>checked:</strong> artists matching <strong>any</strong> checked tags</li>
45
- <li><strong>unchecked:</strong> artists matching <strong>all</strong> checked tags</li>
46
- <li>useful for filtering your favorites</li>
47
- </ul>
48
- <h3>Hide low-use tags</h3>
49
- <ul>
50
- <li><strong>checked:</strong> hides tags that match less than 4 artists, ~50% of all tags</li>
51
- <li>you can access hidden tags via search, or if they're marked as important</li>
52
- </ul>
53
- <h3>Hide unknown to SDXL</h3>
54
- <ul>
55
- <li>I've hand verified that SDXL doesn't know these artists' styles</li>
56
- <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>
57
- <li>They're included in the database for the record of what SDXL doesn't know</li>
58
- </ul>
59
- <h3>Important tags</h3>
60
- <ul>
61
- <li>Click <strong>edit</strong> under the important category to add or remove tags</li>
62
- </ul>
63
- <h3>✍️ Offline tag-editing</h3>
64
- <ul>
65
- <li>If you are viewing this from Hugging Face, your tag edits won't be applied. They'll be saved and applied if you've downloaded the repository and are viewing your local file. 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>
66
- </ul>
67
- </div>
68
- </div>
69
- <div id="information_tips" class="information_section">
70
- <div>
71
- <h3>Prompting artist styles with SDXL</h3>
72
- <ul>
73
- <li>I recommend this 3-section prompt (auto1111 syntax):
74
- <ul>
75
- <li><b>(</b><i>style stuff</i><b>:1.5)</b>, <b>(</b>an image<b>:0.5)</b>, <b>(</b><i>content stuff</i><b>:1.0)</b></li>
76
- </ul>
77
- </li>
78
- <li>For example:
79
- <ul>
80
- <li>safest bet, needed for photographers:</li>
81
- <li><b>(</b>by <i>artist full name</i><b>:1.5)</b>, <b>(</b>an image<b>:0.5)</b>, <b>(</b>a landscape, water under a bridge<b>:1.0)</b></li>
82
- <li>stronger style, not for photographers:</li>
83
- <li><b>(</b>artwork in the style of <i>artist full name</i><b>:1.5)</b>, <b>(</b>an image<b>:0.5)</b>, <b>(</b>a landscape, water under a bridge<b>:1.0)</b></li>
84
- </ul>
85
- </li>
86
- </ul>
87
- <h3>Explanation of the 3-section prompt</h3>
88
- <ul>
89
- <li>The reason for this 3-section prompt is that it's very easy for common words to erase the style. For example, for some artists that never made portraits, using the word "portrait" in your prompt can erase their style, making the image style generic.</li>
90
- <li>To overcome this, we add weight to the <i>style stuff</i> and to remove weight from the <i>content stuff</i>. I recommend starting with 1.5 and 1.0 respectively, which gives slightly more weight to the style. As you edit the <i>content stuff</i>, if the style disappears, try other weights, e.g 2.0 and 0.5.</li>
91
- <li>The part in the middle "<b>(</b>an image<b>:0.5)</b>" doesn't change the output, but it's sometimes needed when the <i>content stuff</i> weight is less than 1.0. You can try removing it, and if your output looks garbled, try putting it back in.</li>
92
- </ul>
93
- <h3>An artist's style includes much more than their medium</h3>
94
- <ul>
95
- <li>Using an artists name influences the output in several ways beyond the medium, e.g. "painting style". It includes typical subject matter, colors palette, clothing and hairstyles of the artist's time, composition and layout, even specific faces of people, and other aesthetic choices.</li>
96
- <li>It can be hard to get just the aesthetic style and not the other stuff, e.g. a renaissance painting style with modern clothing.</li>
97
- <li>Sometimes you can strengthen just the artist's style by putting their medium in the prompt like this:
98
- <ul>
99
- <li><b>(</b><strong>watercolor</strong> in the style of <i>artist full name</i><b>:1.5)</b>, <b>(</b>an image<b>:0.5)</b>, <b>(</b><i>content stuff</i><b>:1.0)</b></li>
100
- </ul>
101
- </li>
102
- <li>This helps especially when the artist is famous for multiple mediums. But sometimes it reduces the artist's specific style and more matches the generic style of the medium.</li>
103
- <li>Also try adding the <strong>opposite</strong> medium/style to the <strong>negative</strong> prompt. For example, if the artist you want is a photographer, try "painting, illustration" in the negative prompt.</li>
104
- </ul>
105
- <h3>Combining the styles of multiple artists</h3>
106
- <ul>
107
- <li>I recommend either of these patterns (auto1111 syntax):
108
- <ul>
109
- <li><b>(</b>by <i>artist A</i>, by <i>artist B</i><b>:2.0)</b>, <i>the rest of the prompt</i></li>
110
- <li><b>(</b>by <b>[</b><i>artist A</i><b>|</b><i>artist B</i><b>]</b><b>:2.0)</b>, <i>the rest of the prompt</i></li>
111
- <li>Which is best depends on the artists. Try both!</li>
112
- </ul>
113
- </li>
114
- <li>To make one of the artists styles more dominant, make it first in the prompt. If it's still not strong enough repeat the artist's name. For example:<br>
115
- <b>[</b><i>artist A</i><b>|</b><i>artist A</i><b>|</b><i>artist B</i><b>]</b></li>
116
- <li>I've found that adding weight to one of the artists doesn't work, but your mileage may vary.
117
- </ul>
118
- <h3>Making non-photographic mediums look more photographic</h3>
119
- <ul>
120
- <li>It's worth trying "photograph by <i>illustration artist</i>" along with "illustration" in the negative prompt. But that often won't work.
121
- <li>It's also worth trying "<b>[</b><i>by artist A</i><b>:</b><i>style of photograph</i><b>:0.5]</b>". This will start with the artist style and switch to photograph style after 50% of the steps. Adjust the decimal as needed.</li>
122
- <li>I've had best results by sending the output to img2img, then replacing the artist's name in the prompt with "photograph", and setting the de-noise very low. Then feed the result back to img2img, and slowly nudge it towards photographic. That will at least maintain the composition.</li>
123
- <li>If Reference Controlnet for SDXL has been released, that should work well.</li>
124
- </ul>
125
- <h3>Why does the 🎨 prompt sometimes match the πŸ§‘ or 🏞️ prompt?</h3>
126
- <ul>
127
- <li>
128
- The prompt used for the 🎨 images is the intentionally generic, "an image". If that results in a portrait, that's useful to know. It indicates that, for that artist, SDXL is more strongly trained to output portraits. Anything in your prompt that's not related to a person will harder to prompt for in that artist's style.
129
- </li>
130
- </ul>
131
- </div>
132
- </div>
133
- <div id="information_about" class="information_section">
134
- <div>
135
- <h3>SDXL Artist Style Explorer</h3>
136
- <ul>
137
- <li>Code and tagging by <a href="https://huggingface.co/mattthew" target="_blank">Mattthew</a></li>
138
- </ul>
139
- <h3>How to support this project</h3>
140
- <ul>
141
- <li>Please tell a friends or share on your socials</li>
142
- <li>Suggest artists I should add or remove</li>
143
- <li>Suggest features and report bugs</li>
144
- <li>Leave all feedback on <a href="https://huggingface.co/spaces/mattthew/SDXL-artists-browser/discussions" target="_blank">Huggingface</a></li>
145
- </ul>
146
- <h3>Workflow for these style images</h3>
147
- <ul>
148
- <li>
149
- <strong>All:</strong><br>
150
- Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 5, Seed: 47, Size: 1024x1024, Model hash: 31e35c80fc, Model: sd_xl_base_1.0, Version: v1.5.1, <strong>(refiner not used)</strong>
151
- </li>
152
- <li>
153
- <strong>🎨 prompt:</strong><br>
154
- <b>(</b>artwork in the style of<i>artist full name</i><b>:1.5)</b>, <b>(</b>an image<b>:1.5)</b></li>
155
- <strong>negative:</strong><br>
156
- edges, borders
157
- </li>
158
- <li>
159
- <strong>πŸ§‘ prompt:</strong><br>
160
- <b>(</b>artwork in the style of<i>artist full name</i><b>:1.5)</b>, <b>(</b>an image<b>:0.5)</b>, <b>(</b>landscape, outdoor natural scenery, water, bridge<b>:1.0)</b></li>
161
- <strong>negative:</strong><br>
162
- edges, borders, inside, people, person
163
- </li>
164
- <li>
165
- <strong>🏞️ prompt:</strong><br>
166
- <b>(</b>artwork in the style of<i>artist full name</i><b>:1.5)</b>, <b>(</b>an image<b>:0.5)</b>, <b>(</b>portrait of a person, inside a place<b>:1.0)</b></li>
167
- <strong>negative:</strong><br>
168
- edges, borders, outside, about, the artist, themselves
169
- </li>
170
- <li>
171
- <strong>exceptions:</strong><br>
172
- For most photographers, "artwork in the style of <i>name</i>" was replaced with "by <i>name</i>". Rarely, seed 48 was used.</li>
173
- </ul>
174
- <h3>Disclaimers</h3>
175
- <ul>
176
- <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>
177
- <li>Remember, SDXL is only a crude imitation of these artists. Check out these artists' actual artwork for more inspiration!</li>
178
- <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>
179
- <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>
180
- <li>Open source. Creatives Commons license. Download for free.</li>
181
- <li>I don't get nor do I want compensation for this. Getting thanks feels great!</li>
182
- <li>I'm not affiliated with Stability AI</li>
183
- <li>Use at your own risk. Contains mild nudity 🧟</li>
184
- </ul>
185
- </div>
186
- </div>
187
- <div id="information_export" class="information_section">
188
- <div>
189
- <h3>Export/Import favorited artists</h3>
190
- <textarea id="export_favorites_list" value="" placeholder="You haven't favorited any artists yet." autocomplete="off"></textarea>
191
- <div class="buttons">
192
- <div id="export_favorites_button">copy to clipboard</div>
193
- <div id="import_favorites_button">import</div>
194
- </div>
195
- <h3>Export tag-edits to send to author</h3>
196
- <textarea id="export_edits_list" value="" placeholder="You haven't edited any tags yet." autocomplete="off" disabled="true"></textarea>
197
- <div class="buttons">
198
- <div id="export_edits_button">copy to clipboard</div>
199
- <div id="delete_edits_button">restore official database</div>
200
- </div>
201
- <h3>Export database</h3>
202
- <textarea id="export_artists_list" value="" placeholder="If this is visible, there's a bug" autocomplete="off" disabled="true"></textarea>
203
- <div class="buttons">
204
- <div id="export_artists_button">copy to clipboard</div>
205
- </div>
206
- </div>
207
- </div>
208
- </div>
209
  <div id="toggles">
210
  <div id="options_info">
211
  <span class="count">press the <i>/</i> key</span>
@@ -290,7 +97,201 @@
290
  -->
291
  </div>
292
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
293
  </div>
294
- <div id="alert"></div>
295
- </body>
296
- </html>
 
 
13
  <body>
14
  <div id="layout">
15
  <div id="rows">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  <div id="toggles">
17
  <div id="options_info">
18
  <span class="count">press the <i>/</i> key</span>
 
97
  -->
98
  </div>
99
  </div>
100
+ </div>
101
+ <div id="information">
102
+ <div id="info_switcher">
103
+ <h2 id="info_actions" class="selected">πŸ”&nbsp;&nbsp;&nbsp;actions</h2>
104
+ <h2 id="info_help">πŸ““&nbsp;&nbsp;&nbsp;manual</h2>
105
+ <h2 id="info_tips">πŸ“Έ&nbsp;&nbsp;&nbsp;tips</h2>
106
+ <h2 id="info_about">πŸ’«&nbsp;&nbsp;&nbsp;about</h2>
107
+ <h2 id="info_export">πŸ“€&nbsp;&nbsp;&nbsp;export</h2>
108
+ <h2 id="info_closer">ESC</h2>
109
+ </div>
110
+ <div id="information_actions" class="information_section selected">
111
+ <div class="buttons">
112
+ <div id="info-toggle-all">toggle all tags</div>
113
+ <div id="random-tags">see some random tags</div>
114
+ <div id="copy-all-names">copy visible artist names</div>
115
+ </div>
116
+ <input type="text" id="info_search_input" name="info_search_input" value="" data-match="" placeholder="search for tags" autocomplete="off">
117
+ <div id="info_search_output"></div>
118
+ </div>
119
+ <div id="information_help" class="information_section">
120
+ <div>
121
+ <h3>Click an artist's...</h3>
122
+ <ul>
123
+ <li><strong>name</strong> to copy them to clipboard</li>
124
+ <li><strong>tags</strong> to copy them to clipboard</li>
125
+ <li><strong>⭐️</strong> to toggle them as favorited</li>
126
+ <li><strong>✍️</strong> enters offline tag-editing mode, see below</li>
127
+ </ul>
128
+ <h3>Permissive filter</h3>
129
+ <ul>
130
+ <li><strong>checked:</strong> artists matching <strong>any</strong> checked tags</li>
131
+ <li><strong>unchecked:</strong> artists matching <strong>all</strong> checked tags</li>
132
+ <li>useful for filtering your favorites</li>
133
+ </ul>
134
+ <h3>Hide low-use tags</h3>
135
+ <ul>
136
+ <li><strong>checked:</strong> hides tags that match less than 4 artists, ~50% of all tags</li>
137
+ <li>you can access hidden tags via search, or if they're marked as important</li>
138
+ </ul>
139
+ <h3>Hide unknown to SDXL</h3>
140
+ <ul>
141
+ <li>I've hand verified that SDXL doesn't know these artists' styles</li>
142
+ <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>
143
+ <li>They're included in the database for the record of what SDXL doesn't know</li>
144
+ </ul>
145
+ <h3>Important tags</h3>
146
+ <ul>
147
+ <li>Click <strong>edit</strong> under the important category to add or remove tags</li>
148
+ </ul>
149
+ <h3>✍️ Offline tag-editing</h3>
150
+ <ul>
151
+ <li>If you are viewing this from Hugging Face, your tag edits won't be applied. They'll be saved and applied if you've downloaded the repository and are viewing your local file. 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>
152
+ </ul>
153
+ </div>
154
+ </div>
155
+ <div id="information_tips" class="information_section">
156
+ <div>
157
+ <h3>Prompting artist styles with SDXL</h3>
158
+ <ul>
159
+ <li>I recommend this 3-section prompt (auto1111 syntax):
160
+ <ul>
161
+ <li><b>(</b><i>style stuff</i><b>:1.5)</b>, <b>(</b>an image<b>:0.5)</b>, <b>(</b><i>content stuff</i><b>:1.0)</b></li>
162
+ </ul>
163
+ </li>
164
+ <li>For example:
165
+ <ul>
166
+ <li>safest bet, needed for photographers:</li>
167
+ <li><b>(</b>by <i>artist full name</i><b>:1.5)</b>, <b>(</b>an image<b>:0.5)</b>, <b>(</b>a landscape, water under a bridge<b>:1.0)</b></li>
168
+ <li>stronger style, not for photographers:</li>
169
+ <li><b>(</b>artwork in the style of <i>artist full name</i><b>:1.5)</b>, <b>(</b>an image<b>:0.5)</b>, <b>(</b>a landscape, water under a bridge<b>:1.0)</b></li>
170
+ </ul>
171
+ </li>
172
+ </ul>
173
+ <h3>Explanation of the 3-section prompt</h3>
174
+ <ul>
175
+ <li>The reason for this 3-section prompt is that it's very easy for common words to erase the style. For example, for some artists that never made portraits, using the word "portrait" in your prompt can erase their style, making the image style generic.</li>
176
+ <li>To overcome this, we add weight to the <i>style stuff</i> and to remove weight from the <i>content stuff</i>. I recommend starting with 1.5 and 1.0 respectively, which gives slightly more weight to the style. As you edit the <i>content stuff</i>, if the style disappears, try other weights, e.g 2.0 and 0.5.</li>
177
+ <li>The part in the middle "<b>(</b>an image<b>:0.5)</b>" doesn't change the output, but it's sometimes needed when the <i>content stuff</i> weight is less than 1.0. You can try removing it, and if your output looks garbled, try putting it back in.</li>
178
+ </ul>
179
+ <h3>An artist's style includes much more than their medium</h3>
180
+ <ul>
181
+ <li>Using an artists name influences the output in several ways beyond the medium, e.g. "painting style". It includes typical subject matter, colors palette, clothing and hairstyles of the artist's time, composition and layout, even specific faces of people, and other aesthetic choices.</li>
182
+ <li>It can be hard to get just the aesthetic style and not the other stuff, e.g. a renaissance painting style with modern clothing.</li>
183
+ <li>Sometimes you can strengthen just the artist's style by putting their medium in the prompt like this:
184
+ <ul>
185
+ <li><b>(</b><strong>watercolor</strong> in the style of <i>artist full name</i><b>:1.5)</b>, <b>(</b>an image<b>:0.5)</b>, <b>(</b><i>content stuff</i><b>:1.0)</b></li>
186
+ </ul>
187
+ </li>
188
+ <li>This helps especially when the artist is famous for multiple mediums. But sometimes it reduces the artist's specific style and more matches the generic style of the medium.</li>
189
+ <li>Also try adding the <strong>opposite</strong> medium/style to the <strong>negative</strong> prompt. For example, if the artist you want is a photographer, try "painting, illustration" in the negative prompt.</li>
190
+ </ul>
191
+ <h3>Combining the styles of multiple artists</h3>
192
+ <ul>
193
+ <li>I recommend either of these patterns (auto1111 syntax):
194
+ <ul>
195
+ <li><b>(</b>by <i>artist A</i>, by <i>artist B</i><b>:2.0)</b>, <i>the rest of the prompt</i></li>
196
+ <li><b>(</b>by <b>[</b><i>artist A</i><b>|</b><i>artist B</i><b>]</b><b>:2.0)</b>, <i>the rest of the prompt</i></li>
197
+ <li>Which is best depends on the artists. Try both!</li>
198
+ </ul>
199
+ </li>
200
+ <li>To make one of the artists styles more dominant, make it first in the prompt. If it's still not strong enough repeat the artist's name. For example:<br>
201
+ <b>[</b><i>artist A</i><b>|</b><i>artist A</i><b>|</b><i>artist B</i><b>]</b></li>
202
+ <li>I've found that adding weight to one of the artists doesn't work, but your mileage may vary.
203
+ </ul>
204
+ <h3>Making non-photographic mediums look more photographic</h3>
205
+ <ul>
206
+ <li>It's worth trying "photograph by <i>illustration artist</i>" along with "illustration" in the negative prompt. But that often won't work.
207
+ <li>It's also worth trying "<b>[</b><i>by artist A</i><b>:</b><i>style of photograph</i><b>:0.5]</b>". This will start with the artist style and switch to photograph style after 50% of the steps. Adjust the decimal as needed.</li>
208
+ <li>I've had best results by sending the output to img2img, then replacing the artist's name in the prompt with "photograph", and setting the de-noise very low. Then feed the result back to img2img, and slowly nudge it towards photographic. That will at least maintain the composition.</li>
209
+ <li>If Reference Controlnet for SDXL has been released, that should work well.</li>
210
+ </ul>
211
+ <h3>Why does the 🎨 prompt sometimes match the πŸ§‘ or 🏞️ prompt?</h3>
212
+ <ul>
213
+ <li>
214
+ The prompt used for the 🎨 images is the intentionally generic, "an image". If that results in a portrait, that's useful to know. It indicates that, for that artist, SDXL is more strongly trained to output portraits. Anything in your prompt that's not related to a person will harder to prompt for in that artist's style.
215
+ </li>
216
+ </ul>
217
+ </div>
218
+ </div>
219
+ <div id="information_about" class="information_section">
220
+ <div>
221
+ <h3>SDXL Artist Style Explorer</h3>
222
+ <ul>
223
+ <li>Code and tagging by <a href="https://huggingface.co/mattthew" target="_blank">Mattthew</a></li>
224
+ </ul>
225
+ <h3>How to support this project</h3>
226
+ <ul>
227
+ <li>Please tell a friends or share on your socials</li>
228
+ <li>Suggest artists I should add or remove</li>
229
+ <li>Suggest features and report bugs</li>
230
+ <li>Leave all feedback on <a href="https://huggingface.co/spaces/mattthew/SDXL-artists-browser/discussions" target="_blank">Huggingface</a></li>
231
+ </ul>
232
+ <h3>Workflow for these style images</h3>
233
+ <ul>
234
+ <li>
235
+ <strong>All:</strong><br>
236
+ Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 5, Seed: 47, Size: 1024x1024, Model hash: 31e35c80fc, Model: sd_xl_base_1.0, Version: v1.5.1, <strong>(refiner not used)</strong>
237
+ </li>
238
+ <li>
239
+ <strong>🎨 prompt:</strong><br>
240
+ <b>(</b>artwork in the style of<i>artist full name</i><b>:1.5)</b>, <b>(</b>an image<b>:1.5)</b></li>
241
+ <strong>negative:</strong><br>
242
+ edges, borders
243
+ </li>
244
+ <li>
245
+ <strong>πŸ§‘ prompt:</strong><br>
246
+ <b>(</b>artwork in the style of<i>artist full name</i><b>:1.5)</b>, <b>(</b>an image<b>:0.5)</b>, <b>(</b>landscape, outdoor natural scenery, water, bridge<b>:1.0)</b></li>
247
+ <strong>negative:</strong><br>
248
+ edges, borders, inside, people, person
249
+ </li>
250
+ <li>
251
+ <strong>🏞️ prompt:</strong><br>
252
+ <b>(</b>artwork in the style of<i>artist full name</i><b>:1.5)</b>, <b>(</b>an image<b>:0.5)</b>, <b>(</b>portrait of a person, inside a place<b>:1.0)</b></li>
253
+ <strong>negative:</strong><br>
254
+ edges, borders, outside, about, the artist, themselves
255
+ </li>
256
+ <li>
257
+ <strong>exceptions:</strong><br>
258
+ For most photographers, "artwork in the style of <i>name</i>" was replaced with "by <i>name</i>". Rarely, seed 48 was used.</li>
259
+ </ul>
260
+ <h3>Disclaimers</h3>
261
+ <ul>
262
+ <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>
263
+ <li>Remember, SDXL is only a crude imitation of these artists. Check out these artists' actual artwork for more inspiration!</li>
264
+ <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>
265
+ <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>
266
+ <li>Open source. Creatives Commons license. Download for free.</li>
267
+ <li>I don't get nor do I want compensation for this. Getting thanks feels great!</li>
268
+ <li>I'm not affiliated with Stability AI</li>
269
+ <li>Use at your own risk. Contains mild nudity 🧟</li>
270
+ </ul>
271
+ </div>
272
+ </div>
273
+ <div id="information_export" class="information_section">
274
+ <div>
275
+ <h3>Export/Import favorited artists</h3>
276
+ <textarea id="export_favorites_list" value="" placeholder="You haven't favorited any artists yet." autocomplete="off"></textarea>
277
+ <div class="buttons">
278
+ <div id="export_favorites_button">copy to clipboard</div>
279
+ <div id="import_favorites_button">import</div>
280
+ </div>
281
+ <h3>Export tag-edits to send to author</h3>
282
+ <textarea id="export_edits_list" value="" placeholder="You haven't edited any tags yet." autocomplete="off" disabled="true"></textarea>
283
+ <div class="buttons">
284
+ <div id="export_edits_button">copy to clipboard</div>
285
+ <div id="delete_edits_button">restore official database</div>
286
+ </div>
287
+ <h3>Export database</h3>
288
+ <textarea id="export_artists_list" value="" placeholder="If this is visible, there's a bug" autocomplete="off" disabled="true"></textarea>
289
+ <div class="buttons">
290
+ <div id="export_artists_button">copy to clipboard</div>
291
+ </div>
292
+ </div>
293
  </div>
294
+ </div>
295
+ <div id="alert"></div>
296
+ </body>
297
+ </html>
index.js CHANGED
@@ -2133,7 +2133,7 @@ function addAllListeners() {
2133
  showInformation('actions');
2134
  }
2135
  });
2136
- document.querySelector('body').addEventListener('click', function(e) {
2137
  if(informationMode) {
2138
  e.preventDefault();
2139
  if(!e.target.closest('#information')) {
@@ -2223,6 +2223,20 @@ function addAllListeners() {
2223
  info_search.addEventListener('keyup', function(e) {
2224
  searchForTagsInfo(e);
2225
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2226
  var copyAllNames = document.getElementById('copy-all-names');
2227
  copyAllNames.addEventListener('click', function(e) {
2228
  copyStuffToClipboard(this, 'copyAllNames')
 
2133
  showInformation('actions');
2134
  }
2135
  });
2136
+ document.querySelector('#layout').addEventListener('click', function(e) {
2137
  if(informationMode) {
2138
  e.preventDefault();
2139
  if(!e.target.closest('#information')) {
 
2223
  info_search.addEventListener('keyup', function(e) {
2224
  searchForTagsInfo(e);
2225
  });
2226
+ var infoToggleAll = document.getElementById('info-toggle-all');
2227
+ infoToggleAll.addEventListener('click', function(e) {
2228
+ let checkAll = document.querySelector('input[name="check-all"]');
2229
+ if(checkAll.checked) {
2230
+ checkAll.checked = false;
2231
+ } else {
2232
+ checkAll.checked = true;
2233
+ }
2234
+ checkOrUncheckAll(checkAll.checked);
2235
+ storeCheckboxStateAll(checkAll.checked);
2236
+ hideAllArtists();
2237
+ unhideBasedOnPermissiveSetting();
2238
+ updateArtistsCountPerTag('click');
2239
+ });
2240
  var copyAllNames = document.getElementById('copy-all-names');
2241
  copyAllNames.addEventListener('click', function(e) {
2242
  copyStuffToClipboard(this, 'copyAllNames')