Spaces:
Runtime error
Runtime error
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <link rel="icon" href="/static/favicon.png" /> | |
| <meta name="viewport" content="width=device-width" /> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script> | |
| <meta http-equiv="content-security-policy" content=""> | |
| <link href="/static/_app/immutable/assets/_layout-e397cbf6.css" rel="stylesheet"> | |
| <link href="/static/_app/immutable/assets/_page-fd1176fc.css" rel="stylesheet"> | |
| <link rel="modulepreload" href="/static/_app/immutable/start-20d8ad7e.js"> | |
| <link rel="modulepreload" href="/static/_app/immutable/chunks/index-5559954d.js"> | |
| <link rel="modulepreload" href="/static/_app/immutable/chunks/singletons-e4c31a41.js"> | |
| <link rel="modulepreload" href="/static/_app/immutable/chunks/index-3bda1050.js"> | |
| <link rel="modulepreload" href="/static/_app/immutable/components/pages/_layout.svelte-55da5a4f.js"> | |
| <link rel="modulepreload" href="/static/_app/immutable/modules/pages/_layout.ts-b8ee4d7c.js"> | |
| <link rel="modulepreload" href="/static/_app/immutable/chunks/_layout-1daba58d.js"> | |
| <link rel="modulepreload" href="/static/_app/immutable/components/pages/_page.svelte-3643b29c.js"> | |
| </head> | |
| <body class="dark:bg-[rgb(11,15,25)] bg-white dark:text-white text-black"> | |
| <div> | |
| <div class="max-w-screen-md mx-auto px-3 py-8 relative z-0"><h1 class="text-3xl font-bold leading-normal">Palette generation with Stable Diffusion</h1> | |
| <p class="text-sm">Original ideas: | |
| <a class="link svelte-zbscw1" target="_blank" rel="nofollow noopener" href="https://twitter.com/mattdesl/status/1569457653298139136">Matt DesLauriers | |
| </a>, | |
| <a class="link svelte-zbscw1" href="https://drib.net/homage">dribnet </a></p> | |
| <div class="relative top-0 z-50 bg-white dark:bg-black py-3"><form class="grid grid-cols-6"><input class="input svelte-zbscw1" placeholder="A photo of a beautiful sunset in San Francisco" title="Input prompt to generate image and obtain palette" type="text" name="prompt" > | |
| <button class="button svelte-zbscw1" title="Generate Palette">Create Palette | |
| </button></form> | |
| </div> | |
| <div class="flex items-center gap-4 my-10"><div class="font-bold text-sm">Loading...</div> | |
| <div class="grow border-b border-gray-200"></div></div> | |
| <div></div> | |
| <nav role="navigation"><ul class="items-center sm:justify-center space-x-2 select-none w-full flex justify-center mt-6 mb-4"><li></li> | |
| <li><a class="px-2.5 py-1 hover:bg-gray-50 dark:hover:bg-gray-800 flex items-center rounded-lg" href="#"><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="M10 16L20 6l1.4 1.4l-8.6 8.6l8.6 8.6L20 26z" fill="currentColor"></path></svg> Previous | |
| </a></li> | |
| <li class="text-sm"><span class="inline-block min-w-[3ch] text-right">1 </span>/<span class="inline-block min-w-[3ch]">0</span></li> | |
| <li><a class="px-2.5 py-1 hover:bg-gray-50 dark:hover:bg-gray-800 flex items-center rounded-lg" href="#">Next <svg class="ml-1.5 transform rotate-180" 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="M10 16L20 6l1.4 1.4l-8.6 8.6l8.6 8.6L20 26z" fill="currentColor"></path></svg></a></li></ul></nav> | |
| </div> | |
| <script type="module" data-sveltekit-hydrate="9rn8b6"> | |
| import { start } from "/static/_app/immutable/start-20d8ad7e.js"; | |
| start({ | |
| env: {"PUBLIC_DEV_MODE":"PROD","PUBLIC_WS_ENDPOINT":"wss://spaces.huggingface.tech/stabilityai/stable-diffusion-1/queue/join","PUBLIC_API":""}, | |
| hydrate: { | |
| status: 200, | |
| error: null, | |
| node_ids: [0, 2], | |
| params: {}, | |
| routeId: "", | |
| data: (function(a){return [a,a]}(null)), | |
| form: null | |
| }, | |
| paths: {"base":"/static","assets":"/static"}, | |
| target: document.querySelector('[data-sveltekit-hydrate="9rn8b6"]').parentNode, | |
| trailing_slash: "never" | |
| }); | |
| </script> | |
| </div> | |
| </body> | |
| </html> | |