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