File size: 74,631 Bytes
9e28a0b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 |
<!DOCTYPE html>
<html class="dark">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no"
/>
<meta name="description" content="We’re on a journey to advance and democratize artificial intelligence through open source and open science." />
<meta property="fb:app_id" content="1321688464574422" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@huggingface" />
<meta property="og:title" content="README.md · GeneralAwareness/Mirrormask at main" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://huggingface.co/GeneralAwareness/Mirrormask/blob/main/README.md" />
<meta property="og:image" content="https://huggingface.co/front/thumbnails/v2-2.png" />
<link rel="stylesheet" href="/front/build/style.d9e088c1e.css" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600;700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css"
/>
<style data-svelte="svelte-np4f0n">.blob-line-num::before {
content: attr(line-num);
}
</style>
<title>README.md · GeneralAwareness/Mirrormask at main</title>
</head>
<body
class="flex flex-col min-h-screen bg-white dark:bg-gray-950 text-black ViewerBlobPage"
>
<div class="flex flex-col min-h-screen "><div class="SVELTE_HYDRATER contents" data-props="{"avatarUrl":"/avatars/1a6f219f761324a9eee653cbc52151ec.svg","hfCloudName":"private","isAuth":true,"isHfCloud":false,"isWide":false,"user":"GeneralAwareness","unreadNotifications":0,"csrf":"eyJkYXRhIjp7ImV4cGlyYXRpb24iOjE2NjkyNzk2NTM3NDUsInVzZXJJZCI6IjYzMWI4ODMyNGFhNDdkNmFmYmUwNGRhNiJ9LCJzaWduYXR1cmUiOiIwZjA3YWJhY2I5N2Q1ZDJhYzM4MGRlNmRjYzNmODk4Nzk2MDMyNjQ2MzBhYTAwYTZkYzkwMWYyMTcxZmE0OWNlIn0="}" data-target="MainHeader"><header class="border-b border-gray-100"><div class="w-full px-4 lg:px-6 xl:container flex items-center h-16"><div class="flex flex-1 items-center"><a class="flex flex-none items-center mr-5 lg:mr-6" href="/"><img alt="Hugging Face's logo" class="md:mr-2 w-7" src="/front/assets/huggingface_logo-noborder.svg">
<span class="hidden text-lg font-bold whitespace-nowrap md:block">Hugging Face</span></a>
<div class="relative flex-1 lg:max-w-sm mr-2 sm:mr-4 lg:mr-6"><input autocomplete="off" class="w-full dark:bg-gray-950 pl-8
form-input-alt h-9 pr-3 focus:shadow-xl" name="" placeholder="Search models, datasets, users..." spellcheck="false" type="text">
<svg class="absolute left-2.5 text-gray-400 top-1/2 transform -translate-y-1/2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M30 28.59L22.45 21A11 11 0 1 0 21 22.45L28.59 30zM5 14a9 9 0 1 1 9 9a9 9 0 0 1-9-9z" fill="currentColor"></path></svg>
</div>
<button class="lg:hidden relative flex-none place-self-stretch flex items-center justify-center w-8" type="button"><svg class="text-xl" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M4 24h24v2H4z"></path><path d="M4 12h24v2H4z"></path><path d="M4 18h24v2H4z"></path><path d="M4 6h24v2H4z"></path></svg>
</button>
</div>
<nav aria-label="Main" class="ml-auto hidden lg:block"><ul class="flex items-center space-x-2"><li><a class="flex items-center group px-2 py-0.5 dark:hover:text-gray-400 hover:text-indigo-700" href="/models"><svg class="mr-1.5 text-gray-400 group-hover:text-indigo-500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-quaternary" d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z" opacity=".25" fill="currentColor"></path><path class="uim-tertiary" d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z" fill="currentColor"></path></svg>
Models</a>
</li><li><a class="flex items-center group px-2 py-0.5 dark:hover:text-gray-400 hover:text-red-700" href="/datasets"><svg class="mr-1.5 text-gray-400 group-hover:text-red-500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg>
Datasets</a>
</li><li><a class="flex items-center group px-2 py-0.5 dark:hover:text-gray-400 hover:text-blue-700" href="/spaces"><svg class="mr-1.5 text-gray-400 group-hover:text-blue-500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 25 25"><path opacity=".5" d="M6.016 14.674v4.31h4.31v-4.31h-4.31ZM14.674 14.674v4.31h4.31v-4.31h-4.31ZM6.016 6.016v4.31h4.31v-4.31h-4.31Z" fill="currentColor"></path><path opacity=".75" fill-rule="evenodd" clip-rule="evenodd" d="M3 4.914C3 3.857 3.857 3 4.914 3h6.514c.884 0 1.628.6 1.848 1.414a5.171 5.171 0 0 1 7.31 7.31c.815.22 1.414.964 1.414 1.848v6.514A1.914 1.914 0 0 1 20.086 22H4.914A1.914 1.914 0 0 1 3 20.086V4.914Zm3.016 1.102v4.31h4.31v-4.31h-4.31Zm0 12.968v-4.31h4.31v4.31h-4.31Zm8.658 0v-4.31h4.31v4.31h-4.31Zm0-10.813a2.155 2.155 0 1 1 4.31 0 2.155 2.155 0 0 1-4.31 0Z" fill="currentColor"></path><path opacity=".25" d="M16.829 6.016a2.155 2.155 0 1 0 0 4.31 2.155 2.155 0 0 0 0-4.31Z" fill="currentColor"></path></svg>
Spaces</a>
</li><li><a class="flex items-center group px-2 py-0.5 dark:hover:text-gray-400 hover:text-yellow-700" href="/docs"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="mr-1.5 text-gray-400 group-hover:text-yellow-500" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path opacity="0.5" d="M20.9022 5.10334L10.8012 10.8791L7.76318 9.11193C8.07741 8.56791 8.5256 8.11332 9.06512 7.7914L15.9336 3.73907C17.0868 3.08811 18.5002 3.26422 19.6534 3.91519L19.3859 3.73911C19.9253 4.06087 20.5879 4.56025 20.9022 5.10334Z" fill="currentColor"></path><path d="M10.7999 10.8792V28.5483C10.2136 28.5475 9.63494 28.4139 9.10745 28.1578C8.5429 27.8312 8.074 27.3621 7.74761 26.7975C7.42122 26.2327 7.24878 25.5923 7.24756 24.9402V10.9908C7.25062 10.3319 7.42358 9.68487 7.74973 9.1123L10.7999 10.8792Z" fill="currentColor" fill-opacity="0.75"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M21.3368 10.8499V6.918C21.3331 6.25959 21.16 5.61234 20.8346 5.03949L10.7971 10.8727L10.8046 10.874L21.3368 10.8499Z" fill="currentColor"></path><path opacity="0.5" d="M21.7937 10.8488L10.7825 10.8741V28.5486L21.7937 28.5234C23.3344 28.5234 24.5835 27.2743 24.5835 25.7335V13.6387C24.5835 12.0979 23.4365 11.1233 21.7937 10.8488Z" fill="currentColor"></path></svg>
Docs</a>
</li>
<li><div class="relative ">
<button class="px-2 py-0.5 group hover:text-green-700 dark:hover:text-gray-400 flex items-center
" type="button">
<svg class="mr-1.5 text-gray-400 group-hover:text-green-500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-tertiary" d="M19 6H5a3 3 0 0 0-3 3v2.72L8.837 14h6.326L22 11.72V9a3 3 0 0 0-3-3z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M10 6V5h4v1h2V5a2.002 2.002 0 0 0-2-2h-4a2.002 2.002 0 0 0-2 2v1h2zm-1.163 8L2 11.72V18a3.003 3.003 0 0 0 3 3h14a3.003 3.003 0 0 0 3-3v-6.28L15.163 14H8.837z" fill="currentColor"></path></svg>
Solutions
</button>
</div></li>
<li><a class="flex items-center group px-2 py-0.5 hover:text-gray-500 dark:hover:text-gray-400" href="/pricing" data-ga-category="header-menu" data-ga-action="clicked pricing" data-ga-label="pricing">Pricing
</a></li>
<li><div class="relative group">
<button class="px-2 py-0.5 hover:text-gray-500 dark:hover:text-gray-600 flex items-center
" type="button">
<svg class="mr-1.5 text-gray-500 w-5 group-hover:text-gray-400 dark:text-gray-300 dark:group-hover:text-gray-400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 18" preserveAspectRatio="xMidYMid meet"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.4504 3.30221C14.4504 2.836 14.8284 2.45807 15.2946 2.45807H28.4933C28.9595 2.45807 29.3374 2.836 29.3374 3.30221C29.3374 3.76842 28.9595 4.14635 28.4933 4.14635H15.2946C14.8284 4.14635 14.4504 3.76842 14.4504 3.30221Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M14.4504 9.00002C14.4504 8.53382 14.8284 8.15588 15.2946 8.15588H28.4933C28.9595 8.15588 29.3374 8.53382 29.3374 9.00002C29.3374 9.46623 28.9595 9.84417 28.4933 9.84417H15.2946C14.8284 9.84417 14.4504 9.46623 14.4504 9.00002Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M14.4504 14.6978C14.4504 14.2316 14.8284 13.8537 15.2946 13.8537H28.4933C28.9595 13.8537 29.3374 14.2316 29.3374 14.6978C29.3374 15.164 28.9595 15.542 28.4933 15.542H15.2946C14.8284 15.542 14.4504 15.164 14.4504 14.6978Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M1.94549 6.87377C2.27514 6.54411 2.80962 6.54411 3.13928 6.87377L6.23458 9.96907L9.32988 6.87377C9.65954 6.54411 10.194 6.54411 10.5237 6.87377C10.8533 7.20343 10.8533 7.73791 10.5237 8.06756L6.23458 12.3567L1.94549 8.06756C1.61583 7.73791 1.61583 7.20343 1.94549 6.87377Z" fill="currentColor"></path></svg>
</button>
</div></li>
<li><hr class="w-0.5 h-5 border-none bg-gray-100 dark:bg-gray-800"></li>
<form action="/logout" method="POST"><input type="hidden" name="csrf" value="eyJkYXRhIjp7ImV4cGlyYXRpb24iOjE2NjkyNzk2NTM3NDUsInVzZXJJZCI6IjYzMWI4ODMyNGFhNDdkNmFmYmUwNGRhNiJ9LCJzaWduYXR1cmUiOiIwZjA3YWJhY2I5N2Q1ZDJhYzM4MGRlNmRjYzNmODk4Nzk2MDMyNjQ2MzBhYTAwYTZkYzkwMWYyMTcxZmE0OWNlIn0="></form>
<li><div class="relative ml-2 w-[1.38rem] h-[1.38rem]">
<button class="ml-auto rounded-full ring-2 group ring-indigo-400 focus:ring-blue-500 hover:ring-offset-1 focus:ring-offset-1 focus:outline-none outline-none dark:ring-offset-gray-950
" type="button">
<div class="relative"><img alt="" class="w-[1.38rem] h-[1.38rem] rounded-full overflow-hidden" src="/avatars/1a6f219f761324a9eee653cbc52151ec.svg">
</div>
</button>
</div></li></ul></nav></div></header></div>
<main class="flex flex-col flex-1 "><header class="bg-gradient-to-t from-gray-50-to-white via-white dark:via-gray-950
pt-10"><div class="container relative"><h1 class="flex items-center flex-wrap text-lg leading-tight
mb-2 md:text-xl ">
<div class="flex items-center mb-1 group"><div class="flex items-center mr-1.5 relative">
<img alt="" class="w-4 h-4 rounded-full " src="/avatars/1a6f219f761324a9eee653cbc52151ec.svg"></div>
<a href="/GeneralAwareness" class="font-sans text-gray-400 hover:text-blue-600">GeneralAwareness</a>
<div class="text-gray-300 mx-0.5">/</div></div>
<div class="max-w-full mb-1"><a class="font-mono font-semibold break-words" href="/GeneralAwareness/Mirrormask">Mirrormask</a>
<div class="SVELTE_HYDRATER contents" data-props="{"classNames":"mr-4","title":"Copy model name to clipboard","value":"GeneralAwareness/Mirrormask"}" data-target="CopyButton"><button class="inline-flex items-center relative bg-white text-sm focus:text-green-500 cursor-pointer focus:outline-none
mr-4
mx-0.5
text-gray-600
" title="Copy model name to clipboard" type="button"><svg class="" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg>
<div class="
absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow
left-1/2 top-full transform -translate-x-1/2 translate-y-2
opacity-0
"><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style="
border-left-color: transparent;
border-right-color: transparent;
"></div>
Copied</div></button></div></div>
<div class="inline-flex items-center h-5 px-1.5 leading-none text-xs text-gray-500 border border-gray-200 rounded mr-3 mb-1">private
</div>
</h1>
<div class="SVELTE_HYDRATER contents" data-props="{"tagObjs":[{"id":"text-to-image","label":"Text-to-Image","subType":"multimodal","type":"pipeline_tag"},{"id":"diffusers","label":"Diffusers","type":"library"},{"id":"en","label":"en","type":"language"},{"id":"stable-diffusion","label":"stable-diffusion","type":"other"},{"id":"image-to-image","label":"image-to-image","type":"other"},{"id":"license:cc-by-nc-sa-4.0","label":"cc-by-nc-sa-4.0","type":"license"}]}" data-target="ModelHeaderTags"><div class="flex flex-wrap mb-3 md:mb-4"><a class="tag
tag-white" href="/models?pipeline_tag=text-to-image"><div class="tag-ico tag-ico-yellow"><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M29.537 13.76l-3.297-3.297a1.586 1.586 0 0 0-2.24 0L10 24.467V30h5.533l14.004-14a1.586 1.586 0 0 0 0-2.24zM14.704 28H12v-2.704l9.44-9.441l2.705 2.704zM25.56 17.145l-2.704-2.704l2.267-2.267l2.704 2.704z" fill="currentColor"></path><path d="M11 17h2v-7h3V8H8v2h3v7z" fill="currentColor"></path><path d="M8 20H4V4h16v4h2V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4z" fill="currentColor"></path></svg></div>
<span>Text-to-Image</span>
</a><a class="tag
tag-white" href="/models?library=diffusers"><svg class="text-black inline-block ml-2 text-sm" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" width="1em" height="1em"><circle fill="#FFE8B6" cx="29" cy="4" r="4"></circle><circle fill="#FFD983" cx="29" cy="4" r="3"></circle><path fill="#FFCC4D" d="m32.5.5-4.207 2.793 1.414 1.414zm-7 7 2.793-4.207 1.414 1.414z"></path><path fill="#FFCC4D" d="m32.5 7.5-2.793-4.207-1.414 1.414z"></path><path fill="#FFCC4D" d="m25.5.5 4.207 2.793-1.414 1.414z"></path><path fill="#C1694F" d="M23 13.5a.502.502 0 0 1-.321-.885c5.709-4.757 5.82-8.581 5.82-8.619.003-.275.209-.534.503-.496a.501.501 0 0 1 .498.5c0 .173-.07 4.293-6.18 9.384a.497.497 0 0 1-.32.116z"></path><path fill="#DD2E44" d="M4.826 35.417.583 31.174a2.005 2.005 0 0 1 0-2.828L19.675 9.254a2.005 2.005 0 0 1 2.828 0l4.243 4.243a2.005 2.005 0 0 1 0 2.828L7.654 35.417a2.007 2.007 0 0 1-2.828 0z"></path><path fill="#FFCC4D" d="m18.261 10.668 7.071 7.07-2.121 2.122-7.071-7.071zM4.12 24.81l7.07 7.07-2.12 2.122-7.072-7.07z"></path><path fill="#EA596E" d="m22.504 9.254 1.414 1.414-2.828 2.828-1.415-1.414zM3.412 28.346l1.414 1.414-2.828 2.828-1.414-1.414zm14.142-14.142 1.414 1.414-12.02 12.02-1.415-1.414z"></path><path fill="#FFD983" d="m19.675 12.082 1.415 1.414-2.122 2.122-1.414-1.415zM5.534 26.224l1.414 1.415-2.122 2.12-1.414-1.413z"></path></svg>
<span>Diffusers</span>
</a><a class="tag
tag-green" href="/models?language=en"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="ml-2 text-green-600/80" preserveAspectRatio="xMidYMid meet" width="1em" height="1em" viewBox="0 0 10 10"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.625 5C0.625 6.16032 1.08594 7.27312 1.90641 8.09359C2.72688 8.91406 3.83968 9.375 5 9.375C6.16032 9.375 7.27312 8.91406 8.09359 8.09359C8.91406 7.27312 9.375 6.16032 9.375 5C9.375 3.83968 8.91406 2.72688 8.09359 1.90641C7.27312 1.08594 6.16032 0.625 5 0.625C3.83968 0.625 2.72688 1.08594 1.90641 1.90641C1.08594 2.72688 0.625 3.83968 0.625 5ZM7.64365 7.48027C7.61734 7.50832 7.59054 7.53598 7.56326 7.56326C7.13828 7.98824 6.61864 8.2968 6.0539 8.46842C6.29802 8.11949 6.49498 7.64804 6.63475 7.09483C7.00845 7.18834 7.35014 7.3187 7.64365 7.48027ZM8.10076 6.87776C8.37677 6.42196 8.55005 5.90894 8.60556 5.37499H6.86808C6.85542 5.71597 6.82551 6.04557 6.77971 6.35841C7.25309 6.47355 7.68808 6.6414 8.062 6.85549C8.07497 6.86283 8.08789 6.87025 8.10076 6.87776ZM6.03795 6.22536C6.07708 5.95737 6.1044 5.67232 6.11705 5.37499H3.88295C3.89666 5.69742 3.92764 6.00542 3.9722 6.29287C4.37075 6.21726 4.79213 6.17749 5.224 6.17749C5.50054 6.17749 5.77294 6.19376 6.03795 6.22536ZM4.1261 7.02673C4.34894 7.84835 4.68681 8.375 5 8.375C5.32122 8.375 5.66839 7.82101 5.8908 6.963C5.67389 6.93928 5.45082 6.92699 5.224 6.92699C4.84316 6.92699 4.47332 6.96176 4.1261 7.02673ZM3.39783 7.21853C3.53498 7.71842 3.72038 8.14579 3.9461 8.46842C3.42141 8.30898 2.93566 8.03132 2.52857 7.65192C2.77253 7.48017 3.06711 7.33382 3.39783 7.21853ZM3.23916 6.48077C3.18263 6.13193 3.14625 5.76074 3.13192 5.37499H1.39444C1.4585 5.99112 1.67936 6.57938 2.03393 7.08403C2.3706 6.83531 2.78055 6.63162 3.23916 6.48077ZM1.39444 4.62499H3.13192C3.14615 4.24204 3.18211 3.87344 3.23794 3.52681C2.77814 3.37545 2.36731 3.17096 2.03024 2.92123C1.67783 3.42469 1.45828 4.011 1.39444 4.62499ZM2.5237 2.35262C2.76812 2.52552 3.06373 2.67281 3.39584 2.78875C3.53318 2.28573 3.71928 1.85578 3.9461 1.53158C3.41932 1.69166 2.93178 1.97089 2.5237 2.35262ZM3.97101 3.71489C3.92709 4.00012 3.89654 4.30547 3.88295 4.62499H6.11705C6.10453 4.33057 6.07761 4.04818 6.03909 3.78248C5.77372 3.81417 5.50093 3.83049 5.224 3.83049C4.79169 3.83049 4.3699 3.79065 3.97101 3.71489ZM5.8928 3.04476C5.67527 3.06863 5.45151 3.08099 5.224 3.08099C4.84241 3.08099 4.47186 3.04609 4.12405 2.98086C4.34686 2.1549 4.68584 1.625 5 1.625C5.32218 1.625 5.67048 2.18233 5.8928 3.04476ZM6.78083 3.6493C6.826 3.95984 6.85552 4.28682 6.86808 4.62499H8.60556C8.55029 4.09337 8.37827 3.58251 8.10436 3.1282C8.0903 3.1364 8.07618 3.14449 8.062 3.15249C7.68838 3.36641 7.25378 3.53417 6.78083 3.6493ZM7.64858 2.52499C7.35446 2.68754 7.0117 2.81868 6.63664 2.91268C6.49676 2.35623 6.29913 1.88209 6.0539 1.53158C6.61864 1.7032 7.13828 2.01176 7.56326 2.43674C7.59224 2.46572 7.62068 2.49514 7.64858 2.52499Z" fill="currentColor"></path></svg>
<span>English</span>
</a><a class="tag
tag-purple" href="/models?other=stable-diffusion">
<span>stable-diffusion</span>
</a><a class="tag
tag-purple" href="/models?other=image-to-image">
<span>image-to-image</span>
</a><a class="tag
tag-white rounded-full" href="/models?license=license:cc-by-nc-sa-4.0"><svg class="ml-2 text-xs text-gray-900" width="1em" height="1em" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.46009 5.0945V6.88125C1.46009 7.25201 1.75937 7.55129 2.13012 7.55129C2.50087 7.55129 2.80016 7.25201 2.80016 6.88125V5.0945C2.80016 4.72375 2.50087 4.42446 2.13012 4.42446C1.75937 4.42446 1.46009 4.72375 1.46009 5.0945ZM4.14022 5.0945V6.88125C4.14022 7.25201 4.4395 7.55129 4.81026 7.55129C5.18101 7.55129 5.48029 7.25201 5.48029 6.88125V5.0945C5.48029 4.72375 5.18101 4.42446 4.81026 4.42446C4.4395 4.42446 4.14022 4.72375 4.14022 5.0945ZM1.23674 9.78473H8.38377C8.75452 9.78473 9.0538 9.48545 9.0538 9.1147C9.0538 8.74395 8.75452 8.44466 8.38377 8.44466H1.23674C0.865993 8.44466 0.566711 8.74395 0.566711 9.1147C0.566711 9.48545 0.865993 9.78473 1.23674 9.78473ZM6.82036 5.0945V6.88125C6.82036 7.25201 7.11964 7.55129 7.49039 7.55129C7.86114 7.55129 8.16042 7.25201 8.16042 6.88125V5.0945C8.16042 4.72375 7.86114 4.42446 7.49039 4.42446C7.11964 4.42446 6.82036 4.72375 6.82036 5.0945ZM4.39484 0.623142L0.865993 2.48137C0.682851 2.57517 0.566711 2.76725 0.566711 2.97273C0.566711 3.28094 0.816857 3.53109 1.12507 3.53109H8.49991C8.80365 3.53109 9.0538 3.28094 9.0538 2.97273C9.0538 2.76725 8.93766 2.57517 8.75452 2.48137L5.22568 0.623142C4.9666 0.484669 4.65391 0.484669 4.39484 0.623142V0.623142Z" fill="currentColor"></path></svg>
<span class="text-gray-400 !pr-0 -mr-1">License: </span>
<span>cc-by-nc-sa-4.0</span>
</a></div></div>
<div class="border-b border-gray-100"><div class="flex flex-col-reverse lg:flex-row lg:items-center lg:justify-between"><div class="flex items-center h-12 -mb-px overflow-x-auto overflow-y-hidden"><a class="tab-alternate " href="/GeneralAwareness/Mirrormask"><svg class="mr-1.5 text-gray-400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-quaternary" d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z" opacity=".25" fill="currentColor"></path><path class="uim-tertiary" d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z" fill="currentColor"></path></svg>
Model card
</a><a class="tab-alternate active" href="/GeneralAwareness/Mirrormask/tree/main"><svg class="mr-1.5 text-gray-400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-tertiary" d="M21 19h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0-4h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0-8h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0 4h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M9 19a1 1 0 0 1-1-1V6a1 1 0 0 1 2 0v12a1 1 0 0 1-1 1zm-6-4.333a1 1 0 0 1-.64-1.769L3.438 12l-1.078-.898a1 1 0 0 1 1.28-1.538l2 1.667a1 1 0 0 1 0 1.538l-2 1.667a.999.999 0 0 1-.64.231z" fill="currentColor"></path></svg>
<span class="xl:hidden">Files</span>
<span class="hidden xl:inline">Files and versions</span>
</a><a class="tab-alternate " href="/GeneralAwareness/Mirrormask/discussions"><svg class="mr-1.5 text-gray-400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M20.6081 3C21.7684 3 22.8053 3.49196 23.5284 4.38415C23.9756 4.93678 24.4428 5.82749 24.4808 7.16133C24.9674 7.01707 25.4353 6.93643 25.8725 6.93643C26.9833 6.93643 27.9865 7.37587 28.696 8.17411C29.6075 9.19872 30.0124 10.4579 29.8361 11.7177C29.7523 12.3177 29.5581 12.8555 29.2678 13.3534C29.8798 13.8646 30.3306 14.5763 30.5485 15.4322C30.719 16.1032 30.8939 17.5006 29.9808 18.9403C30.0389 19.0342 30.0934 19.1319 30.1442 19.2318C30.6932 20.3074 30.7283 21.5229 30.2439 22.6548C29.5093 24.3704 27.6841 25.7219 24.1397 27.1727C21.9347 28.0753 19.9174 28.6523 19.8994 28.6575C16.9842 29.4379 14.3477 29.8345 12.0653 29.8345C7.87017 29.8345 4.8668 28.508 3.13831 25.8921C0.356375 21.6797 0.754104 17.8269 4.35369 14.1131C6.34591 12.058 7.67023 9.02782 7.94613 8.36275C8.50224 6.39343 9.97271 4.20438 12.4172 4.20438H12.4179C12.6236 4.20438 12.8314 4.2214 13.0364 4.25468C14.107 4.42854 15.0428 5.06476 15.7115 6.02205C16.4331 5.09583 17.134 4.359 17.7682 3.94323C18.7242 3.31737 19.6794 3 20.6081 3ZM20.6081 5.95917C20.2427 5.95917 19.7963 6.1197 19.3039 6.44225C17.7754 7.44319 14.8258 12.6772 13.7458 14.7131C13.3839 15.3952 12.7655 15.6837 12.2086 15.6837C11.1036 15.6837 10.2408 14.5497 12.1076 13.1085C14.9146 10.9402 13.9299 7.39584 12.5898 7.1776C12.5311 7.16799 12.4731 7.16355 12.4172 7.16355C11.1989 7.16355 10.6615 9.33114 10.6615 9.33114C10.6615 9.33114 9.0863 13.4148 6.38031 16.206C3.67434 18.998 3.5346 21.2388 5.50675 24.2246C6.85185 26.2606 9.42666 26.8753 12.0653 26.8753C14.8021 26.8753 17.6077 26.2139 19.1799 25.793C19.2574 25.7723 28.8193 22.984 27.6081 20.6107C27.4046 20.212 27.0693 20.0522 26.6471 20.0522C24.9416 20.0522 21.8393 22.6726 20.5057 22.6726C20.2076 22.6726 19.9976 22.5416 19.9116 22.222C19.3433 20.1173 28.552 19.2325 27.7758 16.1839C27.639 15.6445 27.2677 15.4256 26.746 15.4263C24.4923 15.4263 19.4358 19.5181 18.3759 19.5181C18.2949 19.5181 18.2368 19.4937 18.2053 19.4419C17.6743 18.557 17.9653 17.9394 21.7082 15.6009C25.4511 13.2617 28.0783 11.8545 26.5841 10.1752C26.4121 9.98141 26.1684 9.8956 25.8725 9.8956C23.6001 9.89634 18.2311 14.9403 18.2311 14.9403C18.2311 14.9403 16.7821 16.496 15.9057 16.496C15.7043 16.496 15.533 16.4139 15.4169 16.2112C14.7956 15.1296 21.1879 10.1286 21.5484 8.06535C21.7928 6.66715 21.3771 5.95917 20.6081 5.95917Z" fill="#FF9D00"></path><path d="M5.50686 24.2246C3.53472 21.2387 3.67446 18.9979 6.38043 16.206C9.08641 13.4147 10.6615 9.33111 10.6615 9.33111C10.6615 9.33111 11.2499 6.95933 12.59 7.17757C13.93 7.39581 14.9139 10.9401 12.1069 13.1084C9.29997 15.276 12.6659 16.7489 13.7459 14.713C14.8258 12.6772 17.7747 7.44316 19.304 6.44221C20.8326 5.44128 21.9089 6.00204 21.5484 8.06532C21.188 10.1286 14.795 15.1295 15.4171 16.2118C16.0391 17.2934 18.2312 14.9402 18.2312 14.9402C18.2312 14.9402 25.0907 8.49588 26.5842 10.1752C28.0776 11.8545 25.4512 13.2616 21.7082 15.6008C17.9646 17.9393 17.6744 18.557 18.2054 19.4418C18.7372 20.3266 26.9998 13.1351 27.7759 16.1838C28.5513 19.2324 19.3434 20.1173 19.9117 22.2219C20.48 24.3274 26.3979 18.2382 27.6082 20.6107C28.8193 22.9839 19.2574 25.7722 19.18 25.7929C16.0914 26.62 8.24723 28.3726 5.50686 24.2246Z" fill="#FFD21E"></path></svg>
Community
</a><a class="tab-alternate " href="/GeneralAwareness/Mirrormask/settings"><svg class="opacity-50 dark:opacity-70 mr-1.5 text-gray-400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25" fill="currentColor"><path d="M13.0101 3C13.7157 3.0078 14.4184 3.09062 15.1077 3.24652C15.2543 3.2797 15.3871 3.35848 15.4874 3.47186C15.5877 3.58523 15.6506 3.72754 15.6672 3.8789L15.8306 5.36678C15.8537 5.57655 15.925 5.77791 16.0389 5.95464C16.1527 6.13137 16.3059 6.27854 16.4861 6.38432C16.6663 6.4901 16.8685 6.55153 17.0764 6.56367C17.2843 6.57581 17.4921 6.53831 17.6831 6.4542L19.0299 5.85495C19.1667 5.79391 19.3187 5.77743 19.4651 5.8078C19.6115 5.83818 19.745 5.9139 19.847 6.02449C20.8199 7.07789 21.5443 8.3412 21.9658 9.71937C22.01 9.8642 22.0087 10.0194 21.962 10.1634C21.9153 10.3074 21.8256 10.4332 21.7053 10.5232L20.5113 11.4158C20.3434 11.5408 20.2069 11.7041 20.1128 11.8925C20.0187 12.0809 19.9697 12.2891 19.9697 12.5003C19.9697 12.7114 20.0187 12.9196 20.1128 13.108C20.2069 13.2964 20.3434 13.4597 20.5113 13.5848L21.7062 14.4763C21.8269 14.5663 21.917 14.6922 21.9638 14.8364C22.0107 14.9806 22.0121 15.1361 21.9677 15.2812C21.546 16.6593 20.8216 17.9225 19.849 18.976C19.7471 19.0864 19.6141 19.162 19.4681 19.1926C19.3221 19.2231 19.1704 19.207 19.0338 19.1466L17.6812 18.5454C17.4904 18.4606 17.2827 18.4225 17.0748 18.4343C16.8668 18.446 16.6645 18.5072 16.4842 18.6129C16.3039 18.7185 16.1508 18.8658 16.037 19.0426C15.9233 19.2195 15.8523 19.421 15.8297 19.6308L15.6672 21.1177C15.6508 21.2674 15.5892 21.4084 15.4908 21.5212C15.3923 21.6341 15.2619 21.7133 15.1173 21.7482C13.7249 22.0839 12.2742 22.0839 10.8817 21.7482C10.7371 21.7133 10.6067 21.6341 10.5083 21.5212C10.4098 21.4084 10.3482 21.2674 10.3318 21.1177L10.1703 19.6328C10.1468 19.4235 10.0751 19.2227 9.96107 19.0465C9.84703 18.8704 9.69381 18.7238 9.51373 18.6186C9.33364 18.5134 9.13172 18.4525 8.92419 18.4408C8.71666 18.4291 8.50931 18.4669 8.31882 18.5512L6.9672 19.1514C6.83048 19.2121 6.67854 19.2283 6.53235 19.1978C6.38616 19.1672 6.25292 19.0915 6.15103 18.9809C5.17789 17.9263 4.45346 16.6616 4.03227 15.2821C3.98795 15.1371 3.98931 14.9816 4.03617 14.8374C4.08304 14.6931 4.17306 14.5673 4.29375 14.4773L5.48868 13.5848C5.65676 13.4599 5.79345 13.2966 5.88768 13.1082C5.9819 12.9198 6.031 12.7115 6.031 12.5003C6.031 12.289 5.9819 12.0808 5.88768 11.8923C5.79345 11.7039 5.65676 11.5407 5.48868 11.4158L4.29375 10.5252C4.17324 10.4351 4.0834 10.3092 4.03671 10.1649C3.99003 10.0207 3.98881 9.8653 4.03323 9.72034C4.45479 8.34219 5.17922 7.07889 6.15199 6.02547C6.25407 5.91487 6.38753 5.83915 6.53391 5.80878C6.6803 5.77841 6.83238 5.79488 6.96912 5.85593L8.31498 6.45517C8.5063 6.53923 8.71441 6.57664 8.92258 6.56439C9.13075 6.55214 9.33319 6.49057 9.51363 6.38462C9.69406 6.27868 9.84747 6.13132 9.96152 5.95438C10.0756 5.77744 10.1471 5.57585 10.1703 5.36581L10.3338 3.8789C10.3503 3.72724 10.4132 3.58462 10.5137 3.47103C10.6142 3.35745 10.7473 3.2786 10.8942 3.24555C11.5835 3.09062 12.2881 3.00877 13.0101 3ZM12.9986 9.57711C12.2337 9.57711 11.5001 9.88508 10.9593 10.4333C10.4184 10.9815 10.1146 11.725 10.1146 12.5003C10.1146 13.2755 10.4184 14.0191 10.9593 14.5672C11.5001 15.1154 12.2337 15.4234 12.9986 15.4234C13.7634 15.4234 14.497 15.1154 15.0378 14.5672C15.5787 14.0191 15.8825 13.2755 15.8825 12.5003C15.8825 11.725 15.5787 10.9815 15.0378 10.4333C14.497 9.88508 13.7634 9.57711 12.9986 9.57711Z"></path></svg>
Settings
</a>
</div>
<div class="SVELTE_HYDRATER contents" data-props="{"authLight":{"isHf":false,"u":{"accessTokens":[{"_id":"632f6a8304b24dbdb9eecb71","token":"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","displayName":"Automatic1111","role":"write","createdAt":"2022-09-24T20:37:23.870Z"},{"_id":"634cf1454fdf2751a7309e56","token":"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","displayName":"Dreambooth","role":"write","createdAt":"2022-10-17T06:08:05.678Z"},{"_id":"63632d852691058b19e0fc2d","token":"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","displayName":"InvokeAI","role":"write","createdAt":"2022-11-03T02:55:01.558Z"}],"isPro":false,"orgs":[],"user":"GeneralAwareness"}},"model":{"author":"GeneralAwareness","cardData":{"license":"cc-by-nc-sa-4.0","language":["en"],"thumbnail":"https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mm1.png","tags":["stable-diffusion","text-to-image","image-to-image","diffusers"]},"cardExists":true,"discussionsDisabled":false,"id":"GeneralAwareness/Mirrormask","isLikedByUser":false,"lastModified":"2022-11-23T08:44:27.000Z","likes":0,"pipeline_tag":"text-to-image","library_name":"diffusers","model-index":null,"private":true,"gated":false,"pwcLink":{"error":"Unknown error, can't generate link to Papers With Code."},"tags":["en","diffusers","stable-diffusion","text-to-image","image-to-image","license:cc-by-nc-sa-4.0"],"tag_objs":[{"id":"text-to-image","label":"Text-to-Image","subType":"multimodal","type":"pipeline_tag"},{"id":"diffusers","label":"Diffusers","type":"library"},{"id":"en","label":"en","type":"language"},{"id":"stable-diffusion","label":"stable-diffusion","type":"other"},{"id":"image-to-image","label":"image-to-image","type":"other"},{"id":"license:cc-by-nc-sa-4.0","label":"cc-by-nc-sa-4.0","type":"license"}],"hasHandlerPy":false},"canWrite":true,"csrf":"eyJkYXRhIjp7ImV4cGlyYXRpb24iOjE2NjkyNzk2NTM3NDUsInVzZXJJZCI6IjYzMWI4ODMyNGFhNDdkNmFmYmUwNGRhNiJ9LCJzaWduYXR1cmUiOiIwZjA3YWJhY2I5N2Q1ZDJhYzM4MGRlNmRjYzNmODk4Nzk2MDMyNjQ2MzBhYTAwYTZkYzkwMWYyMTcxZmE0OWNlIn0="}" data-target="ModelHeaderActions">
<div class="relative mb-1.5 flex flex-wrap sm:flex-nowrap lg:mb-0 gap-1.5"><div class="order-last sm:order-first"><div class="relative ">
<button class="btn px-1.5 py-1.5
" type="button">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="p-0.5" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><circle cx="16" cy="7" r="3" fill="currentColor"></circle><circle cx="16" cy="16" r="3" fill="currentColor"></circle><circle cx="16" cy="25" r="3" fill="currentColor"></circle></svg>
</button>
</div>
</div>
<div class=" flex-auto sm:flex-none"><button class="cursor-pointer w-full
btn
text-sm" type="button" ><svg class="mr-1.5 " xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" style="transform: rotate(360deg);"><path d="M31 16l-7 7l-1.41-1.41L28.17 16l-5.58-5.59L24 9l7 7z" fill="currentColor"></path><path d="M1 16l7-7l1.41 1.41L3.83 16l5.58 5.59L8 23l-7-7z" fill="currentColor"></path><path d="M12.419 25.484L17.639 6l1.932.518L14.35 26z" fill="currentColor"></path></svg>
Use in Diffusers</button>
</div></div></div>
</div></div></div></header>
<div class="container relative flex flex-col md:grid md:space-y-0 w-full
md:grid-cols-12
space-y-4
md:gap-6
mb-16
"><section class="pt-8 border-gray-100 col-span-full"><header class="pb-2 flex items-center flex-wrap lg:flex-nowrap justify-start md:justify-end"><div class="flex flex-wrap items-center md:flex-grow mr-4 lg:flex-nowrap min-w-0 basis-auto md:basis-full lg:basis-auto"><div class="SVELTE_HYDRATER contents" data-props="{"path":"README.md","repoName":"GeneralAwareness/Mirrormask","repoType":"model","rev":"main","refs":{"branches":["main"],"tags":[],"converts":[]},"view":"blob"}" data-target="BranchSelector"><div class="relative mr-4 mb-2">
<button class="text-sm md:text-base
cursor-pointer w-full btn text-sm" type="button">
<svg class="mr-1.5 text-gray-700 dark:text-gray-400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24" style="transform: rotate(360deg);"><path d="M13 14c-3.36 0-4.46 1.35-4.82 2.24C9.25 16.7 10 17.76 10 19a3 3 0 0 1-3 3a3 3 0 0 1-3-3c0-1.31.83-2.42 2-2.83V7.83A2.99 2.99 0 0 1 4 5a3 3 0 0 1 3-3a3 3 0 0 1 3 3c0 1.31-.83 2.42-2 2.83v5.29c.88-.65 2.16-1.12 4-1.12c2.67 0 3.56-1.34 3.85-2.23A3.006 3.006 0 0 1 14 7a3 3 0 0 1 3-3a3 3 0 0 1 3 3c0 1.34-.88 2.5-2.09 2.86C17.65 11.29 16.68 14 13 14m-6 4a1 1 0 0 0-1 1a1 1 0 0 0 1 1a1 1 0 0 0 1-1a1 1 0 0 0-1-1M7 4a1 1 0 0 0-1 1a1 1 0 0 0 1 1a1 1 0 0 0 1-1a1 1 0 0 0-1-1m10 2a1 1 0 0 0-1 1a1 1 0 0 0 1 1a1 1 0 0 0 1-1a1 1 0 0 0-1-1z" fill="currentColor"></path></svg>
main
<svg class="-mr-1 text-gray-500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24" style="transform: rotate(360deg);"><path d="M7 10l5 5l5-5z" fill="currentColor"></path></svg></button>
</div></div>
<div class="flex items-center overflow-hidden mb-2"><a class="hover:underline text-gray-800 truncate" href="/GeneralAwareness/Mirrormask/tree/main">Mirrormask</a>
<span class="text-gray-300 mx-1">/</span>
<span class="dark:text-gray-300">README.md</span></div></div>
</header>
<div class="SVELTE_HYDRATER contents" data-props="{"commitLast":{"date":"2022-11-23T08:44:27.000Z","subject":"Update README.md","authors":[{"_id":"631b88324aa47d6afbe04da6","avatar":"/avatars/1a6f219f761324a9eee653cbc52151ec.svg","isHf":false,"user":"GeneralAwareness"}],"commit":{"id":"d9ce613d8bcdf871929cc1867a8e4b88f5fb69a6","parentIds":["f738481f6b922a6b06da4500f4faf28c4f7a0826"]},"title":"Update README.md"},"repo":{"name":"GeneralAwareness/Mirrormask","type":"model"}}" data-target="LastCommit"><div class="border border-b-0 dark:border-gray-800 px-3 py-2 flex items-baseline rounded-t-lg bg-gradient-to-t from-gray-100-to-white"><img class="w-4 h-4 rounded-full mt-0.5 mr-2.5 self-center" alt="GeneralAwareness's picture" src="/avatars/1a6f219f761324a9eee653cbc52151ec.svg">
<div class="mr-5 truncate flex items-center flex-none"><a class="hover:underline" href="/GeneralAwareness">GeneralAwareness
</a>
</div>
<div class="mr-4 font-mono text-sm text-gray-500 truncate hover:prose-a:underline">Update README.md</div>
<a class="text-sm border dark:border-gray-800 px-1.5 rounded bg-gray-50 dark:bg-gray-900 hover:underline" href="/GeneralAwareness/Mirrormask/commit/d9ce613d8bcdf871929cc1867a8e4b88f5fb69a6">d9ce613</a>
<time class="ml-auto hidden lg:block text-gray-500 dark:text-gray-400 truncate flex-none pl-2" datetime="2022-11-23T08:44:27" title="Wed, 23 Nov 2022 08:44:27 GMT">3 minutes ago</time></div></div>
<div class="flex flex-wrap items-center justify-between px-3 py-1.5 border dark:border-gray-800 text-sm text-gray-800 dark:bg-gray-900"><div class="flex flex-wrap items-center"><a class="flex items-center hover:underline my-1 mr-4 " href="/GeneralAwareness/Mirrormask/raw/main/README.md"><svg class="mr-1.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" style="transform: rotate(360deg);"><path d="M31 16l-7 7l-1.41-1.41L28.17 16l-5.58-5.59L24 9l7 7z" fill="currentColor"></path><path d="M1 16l7-7l1.41 1.41L3.83 16l5.58 5.59L8 23l-7-7z" fill="currentColor"></path><path d="M12.419 25.484L17.639 6l1.932.518L14.35 26z" fill="currentColor"></path></svg>
raw
</a><a class="flex items-center hover:underline my-1 mr-4 " href="/GeneralAwareness/Mirrormask/commits/main/README.md"><svg class="mr-1.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" style="transform: rotate(360deg);"><path d="M16 4C9.383 4 4 9.383 4 16s5.383 12 12 12s12-5.383 12-12S22.617 4 16 4zm0 2c5.535 0 10 4.465 10 10s-4.465 10-10 10S6 21.535 6 16S10.465 6 16 6zm-1 2v9h7v-2h-5V8z" fill="currentColor"></path></svg>
history
</a><a class="flex items-center hover:underline my-1 mr-4 " href="/GeneralAwareness/Mirrormask/blame/main/README.md"><svg class="mr-1.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" style="transform: rotate(360deg);"><path d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2zm0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12z" fill="currentColor"></path><path d="M11.5 11a2.5 2.5 0 1 0 2.5 2.5a2.48 2.48 0 0 0-2.5-2.5z" fill="currentColor"></path><path d="M20.5 11a2.5 2.5 0 1 0 2.5 2.5a2.48 2.48 0 0 0-2.5-2.5z" fill="currentColor"></path></svg>
blame
</a><a class="flex items-center hover:underline my-1 mr-4 " href="/GeneralAwareness/Mirrormask/edit/main/README.md"><svg class="mr-1.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M2 26h28v2H2z" fill="currentColor"></path><path d="M25.4 9c.8-.8.8-2 0-2.8l-3.6-3.6c-.8-.8-2-.8-2.8 0l-15 15V24h6.4l15-15zm-5-5L24 7.6l-3 3L17.4 7l3-3zM6 22v-3.6l10-10l3.6 3.6l-10 10H6z" fill="currentColor"></path></svg>
edit
</a><a class="flex items-center hover:underline my-1 mr-4 " href="/GeneralAwareness/Mirrormask/delete/main/README.md"><svg class="mr-1.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M12 12h2v12h-2z" fill="currentColor"></path><path d="M18 12h2v12h-2z" fill="currentColor"></path><path d="M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20z" fill="currentColor"></path><path d="M12 2h8v2h-8z" fill="currentColor"></path></svg>
delete
</a>
</div>
<div class="dark:text-gray-300">3.3 kB</div></div>
<div class="border border-t-0 rounded-b-lg dark:bg-gray-925 dark:border-gray-800 leading-tight"><div class="py-3"><div class="SVELTE_HYDRATER contents" data-props="{"lines":["---","license: cc-by-nc-sa-4.0","","language: ","<span class=\\"hljs-bullet\\"> -</span> en","","thumbnail: &quot;https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mm1.png&quot;","","tags:","<span class=\\"hljs-bullet\\">-</span> stable-diffusion","<span class=\\"hljs-bullet\\">-</span> text-to-image","<span class=\\"hljs-bullet\\">-</span> image-to-image","<span class=\\"hljs-section\\">- diffusers</span>","<span class=\\"hljs-section\\">---</span>","","<span class=\\"hljs-section\\">### Mirror Mask</span>","","Welcome to Mirror Mask - This is a fine-tuned Stable Diffusion model trained from the 2005 dark fantasy film MirrorMask.","","Use the token mirrormask in your prompts for the style to show. Examples down below:","","","","![<span class=\\"hljs-string\\">Single Samples</span>](<span class=\\"hljs-link\\">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mm1.png</span>)![<span class=\\"hljs-string\\">Single Samples</span>](<span class=\\"hljs-link\\">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mm2.png</span>)![<span class=\\"hljs-string\\">Single Samples</span>](<span class=\\"hljs-link\\">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mm3.png</span>)","","","<span class=\\"hljs-section\\">#### Prompt</span>","","An example of calling mirrormask before the prompt (mirrormask a woman)","![<span class=\\"hljs-string\\">Single Samples</span>](<span class=\\"hljs-link\\">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mm.png</span>)","","An example of calling mirrormask with a comma before the prompt (mirrormask, a woman)","![<span class=\\"hljs-string\\">Single Samples</span>](<span class=\\"hljs-link\\">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mmcomma.png</span>)","","An example of calling mirrormask with the additional word of &quot;by&quot; before the prompt (mirrormask by a woman)","![<span class=\\"hljs-string\\">Single Samples</span>](<span class=\\"hljs-link\\">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mmby.png</span>)","","An example of calling mirrormask with the additional word of &quot;in&quot; before the prompt (mirrormask in a woman)","![<span class=\\"hljs-string\\">Single Samples</span>](<span class=\\"hljs-link\\">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mmin.png</span>)","","An example of calling the prompt then mirrormask (a woman mirrormask)","![<span class=\\"hljs-string\\">Single Samples</span>](<span class=\\"hljs-link\\">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/_mm.png</span>)","","An example of calling the prompt then adding a comma before mirrormask (a woman, mirrormask)","![<span class=\\"hljs-string\\">Single Samples</span>](<span class=\\"hljs-link\\">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/commamm.png</span>)","","An example of calling the prompt then adding the word &quot;in&quot; before mirrormask (a woman in mirrormask)","![<span class=\\"hljs-string\\">Single Samples</span>](<span class=\\"hljs-link\\">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/inmm.png</span>)","","An example of calling the prompt then adding the word &quot;by&quot; before mirrormask (a woman by mirrormask)","![<span class=\\"hljs-string\\">Single Samples</span>](<span class=\\"hljs-link\\">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/bymm.png</span>)","","For more variety try adding the word &quot;style&quot; after the token word mirrormask (no examples given to save space).","","<span class=\\"hljs-section\\">### 🧨 Diffusers</span>","","This model can be used just as you would any other Stable Diffusion style model. For more information,","please have a look at the [<span class=\\"hljs-string\\">Stable Diffusion</span>](<span class=\\"hljs-link\\">https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion</span>).","","You can also export the model to [<span class=\\"hljs-string\\">ONNX</span>](<span class=\\"hljs-link\\">https://huggingface.co/docs/diffusers/optimization/onnx</span>), [<span class=\\"hljs-string\\">MPS</span>](<span class=\\"hljs-link\\">https://huggingface.co/docs/diffusers/optimization/mps</span>) and/or [<span class=\\"hljs-string\\">FLAX/JAX</span>](<span class=\\"hljs-link\\"></span>).","","<span class=\\"hljs-code\\">```python</span>","<span class=\\"hljs-code\\">from diffusers import StableDiffusionPipeline</span>","<span class=\\"hljs-code\\">import torch</span>","<span class=\\"hljs-code\\">model_id = &quot;GeneralAwareness/Mirrormask&quot;</span>","<span class=\\"hljs-code\\">pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)</span>","<span class=\\"hljs-code\\">pipe = pipe.to(&quot;cuda&quot;)</span>","<span class=\\"hljs-code\\">prompt = &quot;a woman by mirrormask&quot;</span>","<span class=\\"hljs-code\\">image = pipe(prompt).images[0]</span>","<span class=\\"hljs-code\\">image.save(&quot;./awoman.png&quot;)</span>","<span class=\\"hljs-code\\">```</span>","","<span class=\\"hljs-section\\">## License</span>","","This model is under a creative commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).","","To see what rights you have under this licence follow this link - https://creativecommons.org/licenses/by-nc-sa/4.0/"]}" data-target="BlobContent">
<div class="relative text-sm"><div class="overflow-x-auto"><table class="border-collapse font-mono"><tbody><tr class="" id="L1">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="1"></td>
<td class="px-3 overflow-visible whitespace-pre">---</td>
</tr><tr class="" id="L2">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="2"></td>
<td class="px-3 overflow-visible whitespace-pre">license: cc-by-nc-sa-4.0</td>
</tr><tr class="" id="L3">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="3"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L4">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="4"></td>
<td class="px-3 overflow-visible whitespace-pre">language: </td>
</tr><tr class="" id="L5">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="5"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-bullet"> -</span> en</td>
</tr><tr class="" id="L6">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="6"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L7">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="7"></td>
<td class="px-3 overflow-visible whitespace-pre">thumbnail: "https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mm1.png"</td>
</tr><tr class="" id="L8">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="8"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L9">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="9"></td>
<td class="px-3 overflow-visible whitespace-pre">tags:</td>
</tr><tr class="" id="L10">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="10"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-bullet">-</span> stable-diffusion</td>
</tr><tr class="" id="L11">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="11"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-bullet">-</span> text-to-image</td>
</tr><tr class="" id="L12">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="12"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-bullet">-</span> image-to-image</td>
</tr><tr class="" id="L13">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="13"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-section">- diffusers</span></td>
</tr><tr class="" id="L14">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="14"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-section">---</span></td>
</tr><tr class="" id="L15">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="15"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L16">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="16"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-section">### Mirror Mask</span></td>
</tr><tr class="" id="L17">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="17"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L18">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="18"></td>
<td class="px-3 overflow-visible whitespace-pre">Welcome to Mirror Mask - This is a fine-tuned Stable Diffusion model trained from the 2005 dark fantasy film MirrorMask.</td>
</tr><tr class="" id="L19">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="19"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L20">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="20"></td>
<td class="px-3 overflow-visible whitespace-pre">Use the token mirrormask in your prompts for the style to show. Examples down below:</td>
</tr><tr class="" id="L21">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="21"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L22">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="22"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L23">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="23"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L24">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="24"></td>
<td class="px-3 overflow-visible whitespace-pre">![<span class="hljs-string">Single Samples</span>](<span class="hljs-link">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mm1.png</span>)![<span class="hljs-string">Single Samples</span>](<span class="hljs-link">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mm2.png</span>)![<span class="hljs-string">Single Samples</span>](<span class="hljs-link">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mm3.png</span>)</td>
</tr><tr class="" id="L25">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="25"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L26">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="26"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L27">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="27"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-section">#### Prompt</span></td>
</tr><tr class="" id="L28">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="28"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L29">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="29"></td>
<td class="px-3 overflow-visible whitespace-pre">An example of calling mirrormask before the prompt (mirrormask a woman)</td>
</tr><tr class="" id="L30">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="30"></td>
<td class="px-3 overflow-visible whitespace-pre">![<span class="hljs-string">Single Samples</span>](<span class="hljs-link">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mm.png</span>)</td>
</tr><tr class="" id="L31">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="31"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L32">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="32"></td>
<td class="px-3 overflow-visible whitespace-pre">An example of calling mirrormask with a comma before the prompt (mirrormask, a woman)</td>
</tr><tr class="" id="L33">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="33"></td>
<td class="px-3 overflow-visible whitespace-pre">![<span class="hljs-string">Single Samples</span>](<span class="hljs-link">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mmcomma.png</span>)</td>
</tr><tr class="" id="L34">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="34"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L35">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="35"></td>
<td class="px-3 overflow-visible whitespace-pre">An example of calling mirrormask with the additional word of "by" before the prompt (mirrormask by a woman)</td>
</tr><tr class="" id="L36">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="36"></td>
<td class="px-3 overflow-visible whitespace-pre">![<span class="hljs-string">Single Samples</span>](<span class="hljs-link">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mmby.png</span>)</td>
</tr><tr class="" id="L37">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="37"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L38">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="38"></td>
<td class="px-3 overflow-visible whitespace-pre">An example of calling mirrormask with the additional word of "in" before the prompt (mirrormask in a woman)</td>
</tr><tr class="" id="L39">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="39"></td>
<td class="px-3 overflow-visible whitespace-pre">![<span class="hljs-string">Single Samples</span>](<span class="hljs-link">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/mmin.png</span>)</td>
</tr><tr class="" id="L40">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="40"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L41">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="41"></td>
<td class="px-3 overflow-visible whitespace-pre">An example of calling the prompt then mirrormask (a woman mirrormask)</td>
</tr><tr class="" id="L42">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="42"></td>
<td class="px-3 overflow-visible whitespace-pre">![<span class="hljs-string">Single Samples</span>](<span class="hljs-link">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/_mm.png</span>)</td>
</tr><tr class="" id="L43">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="43"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L44">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="44"></td>
<td class="px-3 overflow-visible whitespace-pre">An example of calling the prompt then adding a comma before mirrormask (a woman, mirrormask)</td>
</tr><tr class="" id="L45">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="45"></td>
<td class="px-3 overflow-visible whitespace-pre">![<span class="hljs-string">Single Samples</span>](<span class="hljs-link">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/commamm.png</span>)</td>
</tr><tr class="" id="L46">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="46"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L47">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="47"></td>
<td class="px-3 overflow-visible whitespace-pre">An example of calling the prompt then adding the word "in" before mirrormask (a woman in mirrormask)</td>
</tr><tr class="" id="L48">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="48"></td>
<td class="px-3 overflow-visible whitespace-pre">![<span class="hljs-string">Single Samples</span>](<span class="hljs-link">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/inmm.png</span>)</td>
</tr><tr class="" id="L49">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="49"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L50">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="50"></td>
<td class="px-3 overflow-visible whitespace-pre">An example of calling the prompt then adding the word "by" before mirrormask (a woman by mirrormask)</td>
</tr><tr class="" id="L51">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="51"></td>
<td class="px-3 overflow-visible whitespace-pre">![<span class="hljs-string">Single Samples</span>](<span class="hljs-link">https://huggingface.co/GeneralAwareness/Mirrormask/resolve/main/bymm.png</span>)</td>
</tr><tr class="" id="L52">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="52"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L53">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="53"></td>
<td class="px-3 overflow-visible whitespace-pre">For more variety try adding the word "style" after the token word mirrormask (no examples given to save space).</td>
</tr><tr class="" id="L54">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="54"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L55">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="55"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-section">### 🧨 Diffusers</span></td>
</tr><tr class="" id="L56">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="56"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L57">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="57"></td>
<td class="px-3 overflow-visible whitespace-pre">This model can be used just as you would any other Stable Diffusion style model. For more information,</td>
</tr><tr class="" id="L58">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="58"></td>
<td class="px-3 overflow-visible whitespace-pre">please have a look at the [<span class="hljs-string">Stable Diffusion</span>](<span class="hljs-link">https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion</span>).</td>
</tr><tr class="" id="L59">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="59"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L60">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="60"></td>
<td class="px-3 overflow-visible whitespace-pre">You can also export the model to [<span class="hljs-string">ONNX</span>](<span class="hljs-link">https://huggingface.co/docs/diffusers/optimization/onnx</span>), [<span class="hljs-string">MPS</span>](<span class="hljs-link">https://huggingface.co/docs/diffusers/optimization/mps</span>) and/or [<span class="hljs-string">FLAX/JAX</span>](<span class="hljs-link"></span>).</td>
</tr><tr class="" id="L61">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="61"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L62">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="62"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-code">```python</span></td>
</tr><tr class="" id="L63">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="63"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-code">from diffusers import StableDiffusionPipeline</span></td>
</tr><tr class="" id="L64">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="64"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-code">import torch</span></td>
</tr><tr class="" id="L65">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="65"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-code">model_id = "GeneralAwareness/Mirrormask"</span></td>
</tr><tr class="" id="L66">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="66"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-code">pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)</span></td>
</tr><tr class="" id="L67">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="67"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-code">pipe = pipe.to("cuda")</span></td>
</tr><tr class="" id="L68">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="68"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-code">prompt = "a woman by mirrormask"</span></td>
</tr><tr class="" id="L69">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="69"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-code">image = pipe(prompt).images[0]</span></td>
</tr><tr class="" id="L70">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="70"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-code">image.save("./awoman.png")</span></td>
</tr><tr class="" id="L71">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="71"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-code">```</span></td>
</tr><tr class="" id="L72">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="72"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L73">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="73"></td>
<td class="px-3 overflow-visible whitespace-pre"><span class="hljs-section">## License</span></td>
</tr><tr class="" id="L74">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="74"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L75">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="75"></td>
<td class="px-3 overflow-visible whitespace-pre">This model is under a creative commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).</td>
</tr><tr class="" id="L76">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="76"></td>
<td class="px-3 overflow-visible whitespace-pre">
</td>
</tr><tr class="" id="L77">
<td class="text-right select-none pl-5 pr-3 cursor-pointer text-gray-300 hover:text-black blob-line-num" line-num="77"></td>
<td class="px-3 overflow-visible whitespace-pre">To see what rights you have under this licence follow this link - https://creativecommons.org/licenses/by-nc-sa/4.0/</td>
</tr></tbody></table></div>
</div></div></div></div></section></div></main>
</div>
<script>
import("/front/build/index.d9e088c1e.js");
window.moonSha = ".d9e088c1e";
</script>
<script>
if (
!(
["localhost", "huggingface.test"].includes(
window.location.hostname
) || window.location.hostname.includes("ngrok.io")
)
) {
(function (i, s, o, g, r, a, m) {
i["GoogleAnalyticsObject"] = r;
(i[r] =
i[r] ||
function () {
(i[r].q = i[r].q || []).push(arguments);
}),
(i[r].l = 1 * new Date());
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m);
})(
window,
document,
"script",
"https://www.google-analytics.com/analytics.js",
"ganalytics"
);
ganalytics("create", "UA-83738774-2", "auto");
ganalytics("send", "pageview");
}
</script>
</body>
</html>
|