Spaces:
Runtime error
Runtime error
wip
Browse filesFiles changed (3)
13 unmodified lines1415161718192013 unmodified lines</script><divclass="frame absolute top-0 left-0 ring-8 ring-black w-[512px] h-[512px] flex items-center justify-center bg-black/60"style={`transform: translateX(${coord.x}px) translateY(${coord.y}px) scale(${transform.k}); transform-origin: 0 0;`}><div class="pointer-events-none touch-none">13 unmodified lines1415161718192013 unmodified lines</script><divclass="frame absolute top-0 left-0 border-8 border-dashed border-black w-[512px] h-[512px] flex items-center justify-center bg-black/60"style={`transform: translateX(${coord.x}px) translateY(${coord.y}px) scale(${transform.k}); transform-origin: 0 0;`}><div class="pointer-events-none touch-none">
199 unmodified lines2002012022032042052066 unmodified lines21321421521621721821922022122222318 unmodified lines242243244245246247248249250251252253254199 unmodified lines<LoadingIcon classList={'absolute inset-0 m-auto animate-spin text-6xl text-black'} />{/if}{#if $myPresence?.status !== 'masking'}<div class="absolute inset-0 bg-gradient-to-t from-blue-500/60 to-blue-500/10" />{/if}<canvas class={dragEnabled ? '' : 'bg-white'} bind:this={$maskEl} width="512" height="512" /><div class="pointer-events-none touch-none">6 unmodified lines{/if}</div><divclass="absolute top-full"style={`transform: scale(${Math.max(2.5 - transform.k, 1)}); transform-origin: 0 0;`}><divclass="px-3 py-1 bg-blue-700 text-white text-lg xl:text-2xl rounded-b-xl font-semibold">{#if $loadingState !== ''}<div class="">18 unmodified lines<div class="mx-4 flex flex-col gap-2"><buttonon:click={() => dispatch('prompt')}class="w-10 h-10 bg-blue-600 shadow-2xl shadow-blue-500 rounded-lg flex items-center justify-center text-3xl">🖍</button><buttonon:click={toggleDrawMask}class="w-10 h-10 bg-blue-600 shadow-2xl shadow-blue-500 rounded-lg flex items-center justify-center text-3xl"><svg class="text-white" width="1em" height="1em" viewBox="0 0 100 100"><path199 unmodified lines2002012022032042052062072082092106 unmodified lines21721821922022122222322422522622718 unmodified lines246247248249250251252253254255256257258199 unmodified lines<LoadingIcon classList={'absolute inset-0 m-auto animate-spin text-6xl text-black'} />{/if}{#if $myPresence?.status !== 'masking'}<divclass="absolute inset-0 bg-gradient-to-t {isDragging? 'from-blue-700/40': 'from-blue-700/90'} to-blue-500/10"/>{/if}<canvas class={dragEnabled ? '' : 'bg-white'} bind:this={$maskEl} width="512" height="512" /><div class="pointer-events-none touch-none">6 unmodified lines{/if}</div><divclass="absolute bottom-0 origin-bottom-left"style={`transform: scale(${Math.max(2.5 - transform.k, 1)});`}><divclass="pl-3 pr-5 py-1 bg-blue-700/90 text-white text-lg xl:text-2xl rounded-tr-xl font-medium tracking-wide">{#if $loadingState !== ''}<div class="">18 unmodified lines<div class="mx-4 flex flex-col gap-2"><buttonon:click={() => dispatch('prompt')}class="w-10 h-10 bg-blue-600 hover:saturate-150 shadow-2xl shadow-blue-500 rounded-lg flex items-center justify-center text-3xl">🖍</button><buttonon:click={toggleDrawMask}class="w-10 h-10 bg-blue-600 hover:saturate-150 shadow-2xl shadow-blue-500 rounded-lg flex items-center justify-center text-3xl"><svg class="text-white" width="1em" height="1em" viewBox="0 0 100 100"><path
frontend/src/lib/Frame.svelte+1-1
frontend/src/lib/PaintFrame.svelte+10-6
stablediffusion-infinity/rooms.db