Buckets:
| import{s as Re,n as Xe,o as He}from"../chunks/scheduler.8c3d61f6.js";import{S as Ne,i as Ee,g as n,s,r,A as Be,h as p,f as i,c as l,j as Ie,u as f,x as o,k as Me,y as Le,a,v as d,d as u,t as m,w as c}from"../chunks/index.da70eac4.js";import{C as B}from"../chunks/CodeBlock.00a903b3.js";import{H as L,E as Pe}from"../chunks/EditOnGithub.1e64e623.js";function Qe(Ze){let g,P,N,Q,b,Y,y,Se='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.',A,w,ve="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.",z,x,Ue='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.',q,M,$e='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>, <a href="https://huggingface.co/runwayml" rel="nofollow">Runway</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!',K,Z,Je="The table below summarizes the available Stable Diffusion pipelines, their supported tasks, and an interactive demo:",O,h,Ge='<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/runwayml/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>',ee,S,te,v,Te="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.",ie,U,ae,$,Ce='<a href="/docs/diffusers/main/en/api/pipelines/stable_diffusion/text2img#diffusers.StableDiffusionPipeline">StableDiffusionPipeline</a> uses the <a href="/docs/diffusers/main/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/main/en/api/schedulers/euler#diffusers.EulerDiscreteScheduler">EulerDiscreteScheduler</a> instead of the default:',se,J,le,G,ne,T,We="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.",pe,C,oe,W,re,V,Ve='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:',fe,j,de,k,je='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:',ue,D,me,F,ke="which opens an intuitive drag-and-drop interface in your browser:",ce,_,De='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/gradio-panda.png"/>',ge,I,Fe="Similarly, you could create a demo for an image-to-image pipeline with:",he,R,be,X,_e=`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.`,ye,H,we,E,xe;return b=new L({props:{title:"Stable Diffusion pipelines",local:"stable-diffusion-pipelines",headingTag:"h1"}}),S=new L({props:{title:"Tips",local:"tips",headingTag:"h2"}}),U=new L({props:{title:"Explore tradeoff between speed and quality",local:"explore-tradeoff-between-speed-and-quality",headingTag:"h3"}}),J=new B({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}}),G=new L({props:{title:"Reuse pipeline components to save memory",local:"reuse-pipeline-components-to-save-memory",headingTag:"h3"}}),C=new B({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}}),W=new L({props:{title:"Create web demos using gradio",local:"create-web-demos-using-gradio",headingTag:"h3"}}),j=new B({props:{code:"cGlwJTIwaW5zdGFsbCUyMC1VJTIwZ3JhZGlv",highlighted:"pip install -U gradio",wrap:!1}}),D=new B({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}}),R=new B({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMFN0YWJsZURpZmZ1c2lvbkltZzJJbWdQaXBlbGluZSUwQWltcG9ydCUyMGdyYWRpbyUyMGFzJTIwZ3IlMEElMEElMEFwaXBlJTIwJTNEJTIwU3RhYmxlRGlmZnVzaW9uSW1nMkltZ1BpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMjJydW53YXltbCUyRnN0YWJsZS1kaWZmdXNpb24tdjEtNSUyMiklMEElMEFnci5JbnRlcmZhY2UuZnJvbV9waXBlbGluZShwaXBlKS5sYXVuY2goKQ==",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">"runwayml/stable-diffusion-v1-5"</span>) | |
| gr.Interface.from_pipeline(pipe).launch()`,wrap:!1}}),H=new Pe({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/pipelines/stable_diffusion/overview.md"}}),{c(){g=n("meta"),P=s(),N=n("p"),Q=s(),r(b.$$.fragment),Y=s(),y=n("p"),y.innerHTML=Se,A=s(),w=n("p"),w.textContent=ve,z=s(),x=n("p"),x.innerHTML=Ue,q=s(),M=n("p"),M.innerHTML=$e,K=s(),Z=n("p"),Z.textContent=Je,O=s(),h=n("div"),h.innerHTML=Ge,ee=s(),r(S.$$.fragment),te=s(),v=n("p"),v.textContent=Te,ie=s(),r(U.$$.fragment),ae=s(),$=n("p"),$.innerHTML=Ce,se=s(),r(J.$$.fragment),le=s(),r(G.$$.fragment),ne=s(),T=n("p"),T.innerHTML=We,pe=s(),r(C.$$.fragment),oe=s(),r(W.$$.fragment),re=s(),V=n("p"),V.innerHTML=Ve,fe=s(),r(j.$$.fragment),de=s(),k=n("p"),k.innerHTML=je,ue=s(),r(D.$$.fragment),me=s(),F=n("p"),F.textContent=ke,ce=s(),_=n("p"),_.innerHTML=De,ge=s(),I=n("p"),I.textContent=Fe,he=s(),r(R.$$.fragment),be=s(),X=n("p"),X.innerHTML=_e,ye=s(),r(H.$$.fragment),we=s(),E=n("p"),this.h()},l(e){const t=Be("svelte-u9bgzb",document.head);g=p(t,"META",{name:!0,content:!0}),t.forEach(i),P=l(e),N=p(e,"P",{}),Ie(N).forEach(i),Q=l(e),f(b.$$.fragment,e),Y=l(e),y=p(e,"P",{"data-svelte-h":!0}),o(y)!=="svelte-s9e3v0"&&(y.innerHTML=Se),A=l(e),w=p(e,"P",{"data-svelte-h":!0}),o(w)!=="svelte-1uvrn1d"&&(w.textContent=ve),z=l(e),x=p(e,"P",{"data-svelte-h":!0}),o(x)!=="svelte-xod3ql"&&(x.innerHTML=Ue),q=l(e),M=p(e,"P",{"data-svelte-h":!0}),o(M)!=="svelte-1nl1je7"&&(M.innerHTML=$e),K=l(e),Z=p(e,"P",{"data-svelte-h":!0}),o(Z)!=="svelte-1j9k8x2"&&(Z.textContent=Je),O=l(e),h=p(e,"DIV",{class:!0,"data-svelte-h":!0}),o(h)!=="svelte-eyw1cv"&&(h.innerHTML=Ge),ee=l(e),f(S.$$.fragment,e),te=l(e),v=p(e,"P",{"data-svelte-h":!0}),o(v)!=="svelte-1u5hutj"&&(v.textContent=Te),ie=l(e),f(U.$$.fragment,e),ae=l(e),$=p(e,"P",{"data-svelte-h":!0}),o($)!=="svelte-14c0gel"&&($.innerHTML=Ce),se=l(e),f(J.$$.fragment,e),le=l(e),f(G.$$.fragment,e),ne=l(e),T=p(e,"P",{"data-svelte-h":!0}),o(T)!=="svelte-l7kf3o"&&(T.innerHTML=We),pe=l(e),f(C.$$.fragment,e),oe=l(e),f(W.$$.fragment,e),re=l(e),V=p(e,"P",{"data-svelte-h":!0}),o(V)!=="svelte-c3cqz8"&&(V.innerHTML=Ve),fe=l(e),f(j.$$.fragment,e),de=l(e),k=p(e,"P",{"data-svelte-h":!0}),o(k)!=="svelte-mzbhyf"&&(k.innerHTML=je),ue=l(e),f(D.$$.fragment,e),me=l(e),F=p(e,"P",{"data-svelte-h":!0}),o(F)!=="svelte-1gwh6b"&&(F.textContent=ke),ce=l(e),_=p(e,"P",{"data-svelte-h":!0}),o(_)!=="svelte-1rp65hi"&&(_.innerHTML=De),ge=l(e),I=p(e,"P",{"data-svelte-h":!0}),o(I)!=="svelte-gdbtuv"&&(I.textContent=Fe),he=l(e),f(R.$$.fragment,e),be=l(e),X=p(e,"P",{"data-svelte-h":!0}),o(X)!=="svelte-f3wwo2"&&(X.innerHTML=_e),ye=l(e),f(H.$$.fragment,e),we=l(e),E=p(e,"P",{}),Ie(E).forEach(i),this.h()},h(){Me(g,"name","hf:doc:metadata"),Me(g,"content",Ye),Me(h,"class","flex justify-center")},m(e,t){Le(document.head,g),a(e,P,t),a(e,N,t),a(e,Q,t),d(b,e,t),a(e,Y,t),a(e,y,t),a(e,A,t),a(e,w,t),a(e,z,t),a(e,x,t),a(e,q,t),a(e,M,t),a(e,K,t),a(e,Z,t),a(e,O,t),a(e,h,t),a(e,ee,t),d(S,e,t),a(e,te,t),a(e,v,t),a(e,ie,t),d(U,e,t),a(e,ae,t),a(e,$,t),a(e,se,t),d(J,e,t),a(e,le,t),d(G,e,t),a(e,ne,t),a(e,T,t),a(e,pe,t),d(C,e,t),a(e,oe,t),d(W,e,t),a(e,re,t),a(e,V,t),a(e,fe,t),d(j,e,t),a(e,de,t),a(e,k,t),a(e,ue,t),d(D,e,t),a(e,me,t),a(e,F,t),a(e,ce,t),a(e,_,t),a(e,ge,t),a(e,I,t),a(e,he,t),d(R,e,t),a(e,be,t),a(e,X,t),a(e,ye,t),d(H,e,t),a(e,we,t),a(e,E,t),xe=!0},p:Xe,i(e){xe||(u(b.$$.fragment,e),u(S.$$.fragment,e),u(U.$$.fragment,e),u(J.$$.fragment,e),u(G.$$.fragment,e),u(C.$$.fragment,e),u(W.$$.fragment,e),u(j.$$.fragment,e),u(D.$$.fragment,e),u(R.$$.fragment,e),u(H.$$.fragment,e),xe=!0)},o(e){m(b.$$.fragment,e),m(S.$$.fragment,e),m(U.$$.fragment,e),m(J.$$.fragment,e),m(G.$$.fragment,e),m(C.$$.fragment,e),m(W.$$.fragment,e),m(j.$$.fragment,e),m(D.$$.fragment,e),m(R.$$.fragment,e),m(H.$$.fragment,e),xe=!1},d(e){e&&(i(P),i(N),i(Q),i(Y),i(y),i(A),i(w),i(z),i(x),i(q),i(M),i(K),i(Z),i(O),i(h),i(ee),i(te),i(v),i(ie),i(ae),i($),i(se),i(le),i(ne),i(T),i(pe),i(oe),i(re),i(V),i(fe),i(de),i(k),i(ue),i(me),i(F),i(ce),i(_),i(ge),i(I),i(he),i(be),i(X),i(ye),i(we),i(E)),i(g),c(b,e),c(S,e),c(U,e),c(J,e),c(G,e),c(C,e),c(W,e),c(j,e),c(D,e),c(R,e),c(H,e)}}}const Ye='{"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 Ae(Ze){return He(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class et extends Ne{constructor(g){super(),Ee(this,g,Ae,Qe,Re,{})}}export{et as component}; | |
Xet Storage Details
- Size:
- 19.2 kB
- Xet hash:
- ef482af55966ebda75c90c87a924640310b191ed4a024851a206fd584fb05ea6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.