Buckets:
| import{s as Ne,n as Ee,o as Pe}from"../chunks/scheduler.53228c21.js";import{S as ze,i as Qe,e as n,s as a,c as f,h as Ae,a as p,d as i,b as l,f as Be,g as r,j as o,k as Ue,l as Ye,m as s,n as d,t as m,o as u,p as c}from"../chunks/index.100fac89.js";import{C as qe}from"../chunks/CopyLLMTxtMenu.969c168d.js";import{C as P}from"../chunks/CodeBlock.d30a6509.js";import{H as z,E as Ke}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.92f39b94.js";function Oe($e){let g,Q,N,A,y,Y,x,q,h,Ge='<img alt="LoRA" src="https://img.shields.io/badge/LoRA-d8b4fe?style=flat"/>',K,w,Te='Stable Diffusion is a text-to-image latent diffusion model created by the researchers and engineers from <a href="https://github.com/CompVis" rel="nofollow">CompVis</a>, <a href="https://stability.ai/" rel="nofollow">Stability AI</a> and <a href="https://laion.ai/" rel="nofollow">LAION</a>. Latent diffusion applies the diffusion process over a lower dimensional latent space to reduce memory and compute complexity. This specific type of diffusion model was proposed in <a href="https://huggingface.co/papers/2112.10752" rel="nofollow">High-Resolution Image Synthesis with Latent Diffusion Models</a> by Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, Björn Ommer.',O,Z,Je="Stable Diffusion is trained on 512x512 images from a subset of the LAION-5B dataset. This model uses a frozen CLIP ViT-L/14 text encoder to condition the model on text prompts. With its 860M UNet and 123M text encoder, the model is relatively lightweight and can run on consumer GPUs.",ee,M,Ce='For more details about how Stable Diffusion works and how it differs from the base latent diffusion model, take a look at the Stability AI <a href="https://stability.ai/blog/stable-diffusion-announcement" rel="nofollow">announcement</a> and our own <a href="https://huggingface.co/blog/stable_diffusion#how-does-stable-diffusion-work" rel="nofollow">blog post</a> for more technical details.',te,S,We='You can find the original codebase for Stable Diffusion v1.0 at <a href="https://github.com/CompVis/stable-diffusion" rel="nofollow">CompVis/stable-diffusion</a> and Stable Diffusion v2.0 at <a href="https://github.com/Stability-AI/stablediffusion" rel="nofollow">Stability-AI/stablediffusion</a> as well as their original scripts for various tasks. Additional official checkpoints for the different Stable Diffusion versions and tasks can be found on the <a href="https://huggingface.co/CompVis" rel="nofollow">CompVis</a> and <a href="https://huggingface.co/stabilityai" rel="nofollow">Stability AI</a> Hub organizations. Explore these organizations to find the best checkpoint for your use-case!',ie,v,Ve="The table below summarizes the available Stable Diffusion pipelines, their supported tasks, and an interactive demo:",se,b,ke='<div class="rounded-xl border border-gray-200"><table class="min-w-full divide-y-2 divide-gray-200 bg-white text-sm"><thead><tr><th class="px-4 py-2 font-medium text-gray-900 text-left">Pipeline</th> <th class="px-4 py-2 font-medium text-gray-900 text-left">Supported tasks</th> <th class="px-4 py-2 font-medium text-gray-900 text-left">🤗 Space</th></tr></thead> <tbody class="divide-y divide-gray-200"><tr><td class="px-4 py-2 text-gray-700"><a href="./text2img">StableDiffusion</a></td> <td class="px-4 py-2 text-gray-700">text-to-image</td> <td class="px-4 py-2"><a href="https://huggingface.co/spaces/stabilityai/stable-diffusion"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue"/></a></td></tr> <tr><td class="px-4 py-2 text-gray-700"><a href="./img2img">StableDiffusionImg2Img</a></td> <td class="px-4 py-2 text-gray-700">image-to-image</td> <td class="px-4 py-2"><a href="https://huggingface.co/spaces/huggingface/diffuse-the-rest"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue"/></a></td></tr> <tr><td class="px-4 py-2 text-gray-700"><a href="./inpaint">StableDiffusionInpaint</a></td> <td class="px-4 py-2 text-gray-700">inpainting</td> <td class="px-4 py-2"><a href="https://huggingface.co/spaces/stable-diffusion-v1-5/stable-diffusion-inpainting"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue"/></a></td></tr> <tr><td class="px-4 py-2 text-gray-700"><a href="./depth2img">StableDiffusionDepth2Img</a></td> <td class="px-4 py-2 text-gray-700">depth-to-image</td> <td class="px-4 py-2"><a href="https://huggingface.co/spaces/radames/stable-diffusion-depth2img"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue"/></a></td></tr> <tr><td class="px-4 py-2 text-gray-700"><a href="./image_variation">StableDiffusionImageVariation</a></td> <td class="px-4 py-2 text-gray-700">image variation</td> <td class="px-4 py-2"><a href="https://huggingface.co/spaces/lambdalabs/stable-diffusion-image-variations"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue"/></a></td></tr> <tr><td class="px-4 py-2 text-gray-700"><a href="./stable_diffusion_safe">StableDiffusionPipelineSafe</a></td> <td class="px-4 py-2 text-gray-700">filtered text-to-image</td> <td class="px-4 py-2"><a href="https://huggingface.co/spaces/AIML-TUDA/unsafe-vs-safe-stable-diffusion"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue"/></a></td></tr> <tr><td class="px-4 py-2 text-gray-700"><a href="./stable_diffusion_2">StableDiffusion2</a></td> <td class="px-4 py-2 text-gray-700">text-to-image, inpainting, depth-to-image, super-resolution</td> <td class="px-4 py-2"><a href="https://huggingface.co/spaces/stabilityai/stable-diffusion"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue"/></a></td></tr> <tr><td class="px-4 py-2 text-gray-700"><a href="./stable_diffusion_xl">StableDiffusionXL</a></td> <td class="px-4 py-2 text-gray-700">text-to-image, image-to-image</td> <td class="px-4 py-2"><a href="https://huggingface.co/spaces/RamAnanth1/stable-diffusion-xl"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue"/></a></td></tr> <tr><td class="px-4 py-2 text-gray-700"><a href="./latent_upscale">StableDiffusionLatentUpscale</a></td> <td class="px-4 py-2 text-gray-700">super-resolution</td> <td class="px-4 py-2"><a href="https://huggingface.co/spaces/huggingface-projects/stable-diffusion-latent-upscaler"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue"/></a></td></tr> <tr><td class="px-4 py-2 text-gray-700"><a href="./upscale">StableDiffusionUpscale</a></td> <td class="px-4 py-2 text-gray-700">super-resolution</td></tr> <tr><td class="px-4 py-2 text-gray-700"><a href="./ldm3d_diffusion">StableDiffusionLDM3D</a></td> <td class="px-4 py-2 text-gray-700">text-to-rgb, text-to-depth, text-to-pano</td> <td class="px-4 py-2"><a href="https://huggingface.co/spaces/r23/ldm3d-space"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue"/></a></td></tr> <tr><td class="px-4 py-2 text-gray-700"><a href="./ldm3d_diffusion">StableDiffusionUpscaleLDM3D</a></td> <td class="px-4 py-2 text-gray-700">ldm3d super-resolution</td></tr></tbody></table></div>',ae,U,le,$,De="To help you get the most out of the Stable Diffusion pipelines, here are a few tips for improving performance and usability. These tips are applicable to all Stable Diffusion pipelines.",ne,G,pe,T,je='<a href="/docs/diffusers/pr_12762/en/api/pipelines/stable_diffusion/text2img#diffusers.StableDiffusionPipeline">StableDiffusionPipeline</a> uses the <a href="/docs/diffusers/pr_12762/en/api/schedulers/pndm#diffusers.PNDMScheduler">PNDMScheduler</a> by default, but 🤗 Diffusers provides many other schedulers (some of which are faster or output better quality) that are compatible. For example, if you want to use the <a href="/docs/diffusers/pr_12762/en/api/schedulers/euler#diffusers.EulerDiscreteScheduler">EulerDiscreteScheduler</a> instead of the default:',oe,J,fe,C,re,W,Fe="To save memory and use the same components across multiple pipelines, use the <code>.components</code> method to avoid loading weights into RAM more than once.",de,V,me,k,ue,D,_e='The Stable Diffusion pipelines are automatically supported in <a href="https://github.com/gradio-app/gradio/" rel="nofollow">Gradio</a>, a library that makes creating beautiful and user-friendly machine learning apps on the web a breeze. First, make sure you have Gradio installed:',ce,j,ge,F,Ie='Then, create a web demo around any Stable Diffusion-based pipeline. For example, you can create an image generation pipeline in a single line of code with Gradio’s <a href="https://www.gradio.app/docs/interface#interface-from-pipeline" rel="nofollow"><code>Interface.from_pipeline</code></a> function:',he,_,be,I,Le="which opens an intuitive drag-and-drop interface in your browser:",ye,L,Re='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/gradio-panda.png"/>',xe,R,He="Similarly, you could create a demo for an image-to-image pipeline with:",we,H,Ze,X,Xe=`By default, the web demo runs on a local server. If you’d like to share it with others, you can generate a temporary public | |
| link by setting <code>share=True</code> in <code>launch()</code>. Or, you can host your demo on <a href="https://huggingface.co/spaces" rel="nofollow">Hugging Face Spaces</a><a href="https://huggingface.co/spaces" rel="nofollow">https://huggingface.co/spaces</a> for a permanent link.`,Me,B,Se,E,ve;return y=new qe({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),x=new z({props:{title:"Stable Diffusion pipelines",local:"stable-diffusion-pipelines",headingTag:"h1"}}),U=new z({props:{title:"Tips",local:"tips",headingTag:"h2"}}),G=new z({props:{title:"Explore tradeoff between speed and quality",local:"explore-tradeoff-between-speed-and-quality",headingTag:"h3"}}),J=new P({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMFN0YWJsZURpZmZ1c2lvblBpcGVsaW5lJTJDJTIwRXVsZXJEaXNjcmV0ZVNjaGVkdWxlciUwQSUwQXBpcGVsaW5lJTIwJTNEJTIwU3RhYmxlRGlmZnVzaW9uUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUyMkNvbXBWaXMlMkZzdGFibGUtZGlmZnVzaW9uLXYxLTQlMjIpJTBBcGlwZWxpbmUuc2NoZWR1bGVyJTIwJTNEJTIwRXVsZXJEaXNjcmV0ZVNjaGVkdWxlci5mcm9tX2NvbmZpZyhwaXBlbGluZS5zY2hlZHVsZXIuY29uZmlnKSUwQSUwQSUyMyUyMG9yJTBBZXVsZXJfc2NoZWR1bGVyJTIwJTNEJTIwRXVsZXJEaXNjcmV0ZVNjaGVkdWxlci5mcm9tX3ByZXRyYWluZWQoJTIyQ29tcFZpcyUyRnN0YWJsZS1kaWZmdXNpb24tdjEtNCUyMiUyQyUyMHN1YmZvbGRlciUzRCUyMnNjaGVkdWxlciUyMiklMEFwaXBlbGluZSUyMCUzRCUyMFN0YWJsZURpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMjJDb21wVmlzJTJGc3RhYmxlLWRpZmZ1c2lvbi12MS00JTIyJTJDJTIwc2NoZWR1bGVyJTNEZXVsZXJfc2NoZWR1bGVyKQ==",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> StableDiffusionPipeline, EulerDiscreteScheduler | |
| pipeline = StableDiffusionPipeline.from_pretrained(<span class="hljs-string">"CompVis/stable-diffusion-v1-4"</span>) | |
| pipeline.scheduler = EulerDiscreteScheduler.from_config(pipeline.scheduler.config) | |
| <span class="hljs-comment"># or</span> | |
| euler_scheduler = EulerDiscreteScheduler.from_pretrained(<span class="hljs-string">"CompVis/stable-diffusion-v1-4"</span>, subfolder=<span class="hljs-string">"scheduler"</span>) | |
| pipeline = StableDiffusionPipeline.from_pretrained(<span class="hljs-string">"CompVis/stable-diffusion-v1-4"</span>, scheduler=euler_scheduler)`,wrap:!1}}),C=new z({props:{title:"Reuse pipeline components to save memory",local:"reuse-pipeline-components-to-save-memory",headingTag:"h3"}}),V=new P({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMCglMEElMjAlMjAlMjAlMjBTdGFibGVEaWZmdXNpb25QaXBlbGluZSUyQyUwQSUyMCUyMCUyMCUyMFN0YWJsZURpZmZ1c2lvbkltZzJJbWdQaXBlbGluZSUyQyUwQSUyMCUyMCUyMCUyMFN0YWJsZURpZmZ1c2lvbklucGFpbnRQaXBlbGluZSUyQyUwQSklMEElMEF0ZXh0MmltZyUyMCUzRCUyMFN0YWJsZURpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMjJDb21wVmlzJTJGc3RhYmxlLWRpZmZ1c2lvbi12MS00JTIyKSUwQWltZzJpbWclMjAlM0QlMjBTdGFibGVEaWZmdXNpb25JbWcySW1nUGlwZWxpbmUoKip0ZXh0MmltZy5jb21wb25lbnRzKSUwQWlucGFpbnQlMjAlM0QlMjBTdGFibGVEaWZmdXNpb25JbnBhaW50UGlwZWxpbmUoKip0ZXh0MmltZy5jb21wb25lbnRzKSUwQSUwQSUyMyUyMG5vdyUyMHlvdSUyMGNhbiUyMHVzZSUyMHRleHQyaW1nKC4uLiklMkMlMjBpbWcyaW1nKC4uLiklMkMlMjBpbnBhaW50KC4uLiklMjBqdXN0JTIwbGlrZSUyMHRoZSUyMGNhbGwlMjBtZXRob2RzJTIwb2YlMjBlYWNoJTIwcmVzcGVjdGl2ZSUyMHBpcGVsaW5l",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> ( | |
| StableDiffusionPipeline, | |
| StableDiffusionImg2ImgPipeline, | |
| StableDiffusionInpaintPipeline, | |
| ) | |
| text2img = StableDiffusionPipeline.from_pretrained(<span class="hljs-string">"CompVis/stable-diffusion-v1-4"</span>) | |
| img2img = StableDiffusionImg2ImgPipeline(**text2img.components) | |
| inpaint = StableDiffusionInpaintPipeline(**text2img.components) | |
| <span class="hljs-comment"># now you can use text2img(...), img2img(...), inpaint(...) just like the call methods of each respective pipeline</span>`,wrap:!1}}),k=new z({props:{title:"Create web demos using gradio",local:"create-web-demos-using-gradio",headingTag:"h3"}}),j=new P({props:{code:"cGlwJTIwaW5zdGFsbCUyMC1VJTIwZ3JhZGlv",highlighted:"pip install -U gradio",wrap:!1}}),_=new P({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMFN0YWJsZURpZmZ1c2lvblBpcGVsaW5lJTBBaW1wb3J0JTIwZ3JhZGlvJTIwYXMlMjBnciUwQSUwQXBpcGUlMjAlM0QlMjBTdGFibGVEaWZmdXNpb25QaXBlbGluZS5mcm9tX3ByZXRyYWluZWQoJTIyQ29tcFZpcyUyRnN0YWJsZS1kaWZmdXNpb24tdjEtNCUyMiklMEElMEFnci5JbnRlcmZhY2UuZnJvbV9waXBlbGluZShwaXBlKS5sYXVuY2goKQ==",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> StableDiffusionPipeline | |
| <span class="hljs-keyword">import</span> gradio <span class="hljs-keyword">as</span> gr | |
| pipe = StableDiffusionPipeline.from_pretrained(<span class="hljs-string">"CompVis/stable-diffusion-v1-4"</span>) | |
| gr.Interface.from_pipeline(pipe).launch()`,wrap:!1}}),H=new P({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMFN0YWJsZURpZmZ1c2lvbkltZzJJbWdQaXBlbGluZSUwQWltcG9ydCUyMGdyYWRpbyUyMGFzJTIwZ3IlMEElMEElMEFwaXBlJTIwJTNEJTIwU3RhYmxlRGlmZnVzaW9uSW1nMkltZ1BpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMjJzdGFibGUtZGlmZnVzaW9uLXYxLTUlMkZzdGFibGUtZGlmZnVzaW9uLXYxLTUlMjIpJTBBJTBBZ3IuSW50ZXJmYWNlLmZyb21fcGlwZWxpbmUocGlwZSkubGF1bmNoKCk=",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> StableDiffusionImg2ImgPipeline | |
| <span class="hljs-keyword">import</span> gradio <span class="hljs-keyword">as</span> gr | |
| pipe = StableDiffusionImg2ImgPipeline.from_pretrained(<span class="hljs-string">"stable-diffusion-v1-5/stable-diffusion-v1-5"</span>) | |
| gr.Interface.from_pipeline(pipe).launch()`,wrap:!1}}),B=new Ke({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/pipelines/stable_diffusion/overview.md"}}),{c(){g=n("meta"),Q=a(),N=n("p"),A=a(),f(y.$$.fragment),Y=a(),f(x.$$.fragment),q=a(),h=n("div"),h.innerHTML=Ge,K=a(),w=n("p"),w.innerHTML=Te,O=a(),Z=n("p"),Z.textContent=Je,ee=a(),M=n("p"),M.innerHTML=Ce,te=a(),S=n("p"),S.innerHTML=We,ie=a(),v=n("p"),v.textContent=Ve,se=a(),b=n("div"),b.innerHTML=ke,ae=a(),f(U.$$.fragment),le=a(),$=n("p"),$.textContent=De,ne=a(),f(G.$$.fragment),pe=a(),T=n("p"),T.innerHTML=je,oe=a(),f(J.$$.fragment),fe=a(),f(C.$$.fragment),re=a(),W=n("p"),W.innerHTML=Fe,de=a(),f(V.$$.fragment),me=a(),f(k.$$.fragment),ue=a(),D=n("p"),D.innerHTML=_e,ce=a(),f(j.$$.fragment),ge=a(),F=n("p"),F.innerHTML=Ie,he=a(),f(_.$$.fragment),be=a(),I=n("p"),I.textContent=Le,ye=a(),L=n("p"),L.innerHTML=Re,xe=a(),R=n("p"),R.textContent=He,we=a(),f(H.$$.fragment),Ze=a(),X=n("p"),X.innerHTML=Xe,Me=a(),f(B.$$.fragment),Se=a(),E=n("p"),this.h()},l(e){const t=Ae("svelte-u9bgzb",document.head);g=p(t,"META",{name:!0,content:!0}),t.forEach(i),Q=l(e),N=p(e,"P",{}),Be(N).forEach(i),A=l(e),r(y.$$.fragment,e),Y=l(e),r(x.$$.fragment,e),q=l(e),h=p(e,"DIV",{class:!0,"data-svelte-h":!0}),o(h)!=="svelte-si9ct8"&&(h.innerHTML=Ge),K=l(e),w=p(e,"P",{"data-svelte-h":!0}),o(w)!=="svelte-s9e3v0"&&(w.innerHTML=Te),O=l(e),Z=p(e,"P",{"data-svelte-h":!0}),o(Z)!=="svelte-1uvrn1d"&&(Z.textContent=Je),ee=l(e),M=p(e,"P",{"data-svelte-h":!0}),o(M)!=="svelte-xod3ql"&&(M.innerHTML=Ce),te=l(e),S=p(e,"P",{"data-svelte-h":!0}),o(S)!=="svelte-17zmwsr"&&(S.innerHTML=We),ie=l(e),v=p(e,"P",{"data-svelte-h":!0}),o(v)!=="svelte-1j9k8x2"&&(v.textContent=Ve),se=l(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),o(b)!=="svelte-194ku6v"&&(b.innerHTML=ke),ae=l(e),r(U.$$.fragment,e),le=l(e),$=p(e,"P",{"data-svelte-h":!0}),o($)!=="svelte-1u5hutj"&&($.textContent=De),ne=l(e),r(G.$$.fragment,e),pe=l(e),T=p(e,"P",{"data-svelte-h":!0}),o(T)!=="svelte-19me4kp"&&(T.innerHTML=je),oe=l(e),r(J.$$.fragment,e),fe=l(e),r(C.$$.fragment,e),re=l(e),W=p(e,"P",{"data-svelte-h":!0}),o(W)!=="svelte-l7kf3o"&&(W.innerHTML=Fe),de=l(e),r(V.$$.fragment,e),me=l(e),r(k.$$.fragment,e),ue=l(e),D=p(e,"P",{"data-svelte-h":!0}),o(D)!=="svelte-c3cqz8"&&(D.innerHTML=_e),ce=l(e),r(j.$$.fragment,e),ge=l(e),F=p(e,"P",{"data-svelte-h":!0}),o(F)!=="svelte-mzbhyf"&&(F.innerHTML=Ie),he=l(e),r(_.$$.fragment,e),be=l(e),I=p(e,"P",{"data-svelte-h":!0}),o(I)!=="svelte-1gwh6b"&&(I.textContent=Le),ye=l(e),L=p(e,"P",{"data-svelte-h":!0}),o(L)!=="svelte-1rp65hi"&&(L.innerHTML=Re),xe=l(e),R=p(e,"P",{"data-svelte-h":!0}),o(R)!=="svelte-gdbtuv"&&(R.textContent=He),we=l(e),r(H.$$.fragment,e),Ze=l(e),X=p(e,"P",{"data-svelte-h":!0}),o(X)!=="svelte-f3wwo2"&&(X.innerHTML=Xe),Me=l(e),r(B.$$.fragment,e),Se=l(e),E=p(e,"P",{}),Be(E).forEach(i),this.h()},h(){Ue(g,"name","hf:doc:metadata"),Ue(g,"content",et),Ue(h,"class","flex flex-wrap space-x-1"),Ue(b,"class","flex justify-center")},m(e,t){Ye(document.head,g),s(e,Q,t),s(e,N,t),s(e,A,t),d(y,e,t),s(e,Y,t),d(x,e,t),s(e,q,t),s(e,h,t),s(e,K,t),s(e,w,t),s(e,O,t),s(e,Z,t),s(e,ee,t),s(e,M,t),s(e,te,t),s(e,S,t),s(e,ie,t),s(e,v,t),s(e,se,t),s(e,b,t),s(e,ae,t),d(U,e,t),s(e,le,t),s(e,$,t),s(e,ne,t),d(G,e,t),s(e,pe,t),s(e,T,t),s(e,oe,t),d(J,e,t),s(e,fe,t),d(C,e,t),s(e,re,t),s(e,W,t),s(e,de,t),d(V,e,t),s(e,me,t),d(k,e,t),s(e,ue,t),s(e,D,t),s(e,ce,t),d(j,e,t),s(e,ge,t),s(e,F,t),s(e,he,t),d(_,e,t),s(e,be,t),s(e,I,t),s(e,ye,t),s(e,L,t),s(e,xe,t),s(e,R,t),s(e,we,t),d(H,e,t),s(e,Ze,t),s(e,X,t),s(e,Me,t),d(B,e,t),s(e,Se,t),s(e,E,t),ve=!0},p:Ee,i(e){ve||(m(y.$$.fragment,e),m(x.$$.fragment,e),m(U.$$.fragment,e),m(G.$$.fragment,e),m(J.$$.fragment,e),m(C.$$.fragment,e),m(V.$$.fragment,e),m(k.$$.fragment,e),m(j.$$.fragment,e),m(_.$$.fragment,e),m(H.$$.fragment,e),m(B.$$.fragment,e),ve=!0)},o(e){u(y.$$.fragment,e),u(x.$$.fragment,e),u(U.$$.fragment,e),u(G.$$.fragment,e),u(J.$$.fragment,e),u(C.$$.fragment,e),u(V.$$.fragment,e),u(k.$$.fragment,e),u(j.$$.fragment,e),u(_.$$.fragment,e),u(H.$$.fragment,e),u(B.$$.fragment,e),ve=!1},d(e){e&&(i(Q),i(N),i(A),i(Y),i(q),i(h),i(K),i(w),i(O),i(Z),i(ee),i(M),i(te),i(S),i(ie),i(v),i(se),i(b),i(ae),i(le),i($),i(ne),i(pe),i(T),i(oe),i(fe),i(re),i(W),i(de),i(me),i(ue),i(D),i(ce),i(ge),i(F),i(he),i(be),i(I),i(ye),i(L),i(xe),i(R),i(we),i(Ze),i(X),i(Me),i(Se),i(E)),i(g),c(y,e),c(x,e),c(U,e),c(G,e),c(J,e),c(C,e),c(V,e),c(k,e),c(j,e),c(_,e),c(H,e),c(B,e)}}}const et='{"title":"Stable Diffusion pipelines","local":"stable-diffusion-pipelines","sections":[{"title":"Tips","local":"tips","sections":[{"title":"Explore tradeoff between speed and quality","local":"explore-tradeoff-between-speed-and-quality","sections":[],"depth":3},{"title":"Reuse pipeline components to save memory","local":"reuse-pipeline-components-to-save-memory","sections":[],"depth":3},{"title":"Create web demos using gradio","local":"create-web-demos-using-gradio","sections":[],"depth":3}],"depth":2}],"depth":1}';function tt($e){return Pe(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class pt extends ze{constructor(g){super(),Qe(this,g,tt,Oe,Ne,{})}}export{pt as component}; | |
Xet Storage Details
- Size:
- 19.8 kB
- Xet hash:
- a28fa39a9333fb582e363080a91a10490303b9dc1cbb83eb5a33643f52a59256
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.