import{s as Se,o as ke,n as ye}from"../chunks/scheduler.8c3d61f6.js";import{S as Ce,i as Ke,g as p,s as n,r as g,A as Te,h as l,f as o,c as i,j as V,x as c,u as _,k as X,y as a,a as r,v as h,d as b,t as v,w as D}from"../chunks/index.da70eac4.js";import{T as Ie}from"../chunks/Tip.6f698f24.js";import{D as re}from"../chunks/Docstring.367be9ed.js";import{H as _e,E as Me}from"../chunks/getInferenceSnippets.cb466318.js";function Ne(F){let d,w="This is an experimental pipeline and is likely to change in the future.";return{c(){d=p("p"),d.textContent=w},l(m){d=l(m,"P",{"data-svelte-h":!0}),c(d)!=="svelte-5fv3pw"&&(d.textContent=w)},m(m,A){r(m,d,A)},p:ye,d(m){m&&o(d)}}}function ze(F){let d,w,m,A,x,he="<p>This pipeline is deprecated but it can still be used. However, we won’t test the pipeline anymore and won’t accept any changes to it. If you run into any issues, reinstall the last Diffusers version that supported this model.</p>",W,S,B,k,be='<a href="https://github.com/crowsonkb/k-diffusion" rel="nofollow">k-diffusion</a> is a popular library created by <a href="https://github.com/crowsonkb/" rel="nofollow">Katherine Crowson</a>. We provide <code>StableDiffusionKDiffusionPipeline</code> and <code>StableDiffusionXLKDiffusionPipeline</code> that allow you to run Stable DIffusion with samplers from k-diffusion.',G,y,ve='Note that most the samplers from k-diffusion are implemented in Diffusers and we recommend using existing schedulers. You can find a mapping between k-diffusion samplers and schedulers in Diffusers <a href="https://huggingface.co/docs/diffusers/api/schedulers/overview" rel="nofollow">here</a>',Q,C,Y,s,K,ae,O,De="Pipeline for text-to-image generation using Stable Diffusion.",de,E,xe=`This model inherits from <a href="/docs/diffusers/main/en/api/pipelines/overview#diffusers.DiffusionPipeline">DiffusionPipeline</a>. Check the superclass documentation for the generic methods the
library implements for all the pipelines (such as downloading or saving, running on a particular device, etc.)`,fe,H,Pe="The pipeline also inherits the following loading methods:",pe,U,$e='<li><a href="/docs/diffusers/main/en/api/loaders/textual_inversion#diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion">load_textual_inversion()</a> for loading textual inversion embeddings</li> <li><a href="/docs/diffusers/main/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a> for loading LoRA weights</li> <li><a href="/docs/diffusers/main/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.save_lora_weights">save_lora_weights()</a> for saving LoRA weights</li>',le,P,me,$,T,ce,R,Le="Encodes the prompt into text encoder hidden states.",J,I,Z,u,M,ue,L,N,ge,q,we="Encodes the prompt into text encoder hidden states.",ee,z,te,j,oe;return S=new _e({props:{title:"K-Diffusion",local:"k-diffusion",headingTag:"h1"}}),C=new _e({props:{title:"StableDiffusionKDiffusionPipeline",local:"diffusers.StableDiffusionKDiffusionPipeline",headingTag:"h2"}}),K=new re({props:{name:"class diffusers.StableDiffusionKDiffusionPipeline",anchor:"diffusers.StableDiffusionKDiffusionPipeline",parameters:[{name:"vae",val:": AutoencoderKL"},{name:"text_encoder",val:": CLIPTextModel"},{name:"tokenizer",val:": typing.Union[transformers.models.clip.tokenization_clip.CLIPTokenizer, transformers.models.clip.tokenization_clip_fast.CLIPTokenizerFast]"},{name:"unet",val:": UNet2DConditionModel"},{name:"scheduler",val:": KarrasDiffusionSchedulers"},{name:"safety_checker",val:": StableDiffusionSafetyChecker"},{name:"feature_extractor",val:": CLIPImageProcessor"},{name:"requires_safety_checker",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.StableDiffusionKDiffusionPipeline.vae",description:`<strong>vae</strong> (<a href="/docs/diffusers/main/en/api/models/autoencoderkl#diffusers.AutoencoderKL">AutoencoderKL</a>) &#x2014;
Variational Auto-Encoder (VAE) Model to encode and decode images to and from latent representations.`,name:"vae"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.text_encoder",description:`<strong>text_encoder</strong> (<code>CLIPTextModel</code>) &#x2014;
Frozen text-encoder. Stable Diffusion uses the text portion of
<a href="https://huggingface.co/docs/transformers/model_doc/clip#transformers.CLIPTextModel" rel="nofollow">CLIP</a>, specifically
the <a href="https://huggingface.co/openai/clip-vit-large-patch14" rel="nofollow">clip-vit-large-patch14</a> variant.`,name:"text_encoder"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.tokenizer",description:`<strong>tokenizer</strong> (<code>CLIPTokenizer</code>) &#x2014;
Tokenizer of class
<a href="https://huggingface.co/docs/transformers/v4.21.0/en/model_doc/clip#transformers.CLIPTokenizer" rel="nofollow">CLIPTokenizer</a>.`,name:"tokenizer"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.unet",description:'<strong>unet</strong> (<a href="/docs/diffusers/main/en/api/models/unet2d-cond#diffusers.UNet2DConditionModel">UNet2DConditionModel</a>) &#x2014; Conditional U-Net architecture to denoise the encoded image latents.',name:"unet"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.scheduler",description:`<strong>scheduler</strong> (<a href="/docs/diffusers/main/en/api/schedulers/overview#diffusers.SchedulerMixin">SchedulerMixin</a>) &#x2014;
A scheduler to be used in combination with <code>unet</code> to denoise the encoded image latents. Can be one of
<a href="/docs/diffusers/main/en/api/schedulers/ddim#diffusers.DDIMScheduler">DDIMScheduler</a>, <a href="/docs/diffusers/main/en/api/schedulers/lms_discrete#diffusers.LMSDiscreteScheduler">LMSDiscreteScheduler</a>, or <a href="/docs/diffusers/main/en/api/schedulers/pndm#diffusers.PNDMScheduler">PNDMScheduler</a>.`,name:"scheduler"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.safety_checker",description:`<strong>safety_checker</strong> (<code>StableDiffusionSafetyChecker</code>) &#x2014;
Classification module that estimates whether generated images could be considered offensive or harmful.
Please, refer to the <a href="https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5" rel="nofollow">model card</a> for
details.`,name:"safety_checker"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.feature_extractor",description:`<strong>feature_extractor</strong> (<code>CLIPImageProcessor</code>) &#x2014;
Model that extracts features from generated images to be used as inputs for the <code>safety_checker</code>.`,name:"feature_extractor"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_k_diffusion.py#L66"}}),P=new Ie({props:{warning:!0,$$slots:{default:[Ne]},$$scope:{ctx:F}}}),T=new re({props:{name:"encode_prompt",anchor:"diffusers.StableDiffusionKDiffusionPipeline.encode_prompt",parameters:[{name:"prompt",val:""},{name:"device",val:""},{name:"num_images_per_prompt",val:""},{name:"do_classifier_free_guidance",val:""},{name:"negative_prompt",val:" = None"},{name:"prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"lora_scale",val:": typing.Optional[float] = None"},{name:"clip_skip",val:": typing.Optional[int] = None"}],parametersDescription:[{anchor:"diffusers.StableDiffusionKDiffusionPipeline.encode_prompt.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
prompt to be encoded`,name:"prompt"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.encode_prompt.device",description:`<strong>device</strong> &#x2014; (<code>torch.device</code>):
torch device`,name:"device"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.encode_prompt.num_images_per_prompt",description:`<strong>num_images_per_prompt</strong> (<code>int</code>) &#x2014;
number of images that should be generated per prompt`,name:"num_images_per_prompt"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.encode_prompt.do_classifier_free_guidance",description:`<strong>do_classifier_free_guidance</strong> (<code>bool</code>) &#x2014;
whether to use classifier free guidance or not`,name:"do_classifier_free_guidance"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.encode_prompt.negative_prompt",description:`<strong>negative_prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
The prompt or prompts not to guide the image generation. If not defined, one has to pass
<code>negative_prompt_embeds</code> instead. Ignored when not using guidance (i.e., ignored if <code>guidance_scale</code> is
less than <code>1</code>).`,name:"negative_prompt"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.encode_prompt.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated text embeddings. Can be used to easily tweak text inputs, <em>e.g.</em> prompt weighting. If not
provided, text embeddings will be generated from <code>prompt</code> input argument.`,name:"prompt_embeds"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.encode_prompt.negative_prompt_embeds",description:`<strong>negative_prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated negative text embeddings. Can be used to easily tweak text inputs, <em>e.g.</em> prompt
weighting. If not provided, negative_prompt_embeds will be generated from <code>negative_prompt</code> input
argument.`,name:"negative_prompt_embeds"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.encode_prompt.lora_scale",description:`<strong>lora_scale</strong> (<code>float</code>, <em>optional</em>) &#x2014;
A LoRA scale that will be applied to all LoRA layers of the text encoder if LoRA layers are loaded.`,name:"lora_scale"},{anchor:"diffusers.StableDiffusionKDiffusionPipeline.encode_prompt.clip_skip",description:`<strong>clip_skip</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of layers to be skipped from CLIP while computing the prompt embeddings. A value of 1 means that
the output of the pre-final layer will be used for computing the prompt embeddings.`,name:"clip_skip"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_k_diffusion.py#L206"}}),I=new _e({props:{title:"StableDiffusionXLKDiffusionPipeline",local:"diffusers.StableDiffusionXLKDiffusionPipeline",headingTag:"h2"}}),M=new re({props:{name:"class diffusers.StableDiffusionXLKDiffusionPipeline",anchor:"diffusers.StableDiffusionXLKDiffusionPipeline",parameters:[{name:"vae",val:": AutoencoderKL"},{name:"text_encoder",val:": CLIPTextModel"},{name:"text_encoder_2",val:": CLIPTextModelWithProjection"},{name:"tokenizer",val:": CLIPTokenizer"},{name:"tokenizer_2",val:": CLIPTokenizer"},{name:"unet",val:": UNet2DConditionModel"},{name:"scheduler",val:": KarrasDiffusionSchedulers"},{name:"force_zeros_for_empty_prompt",val:": bool = True"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_xl_k_diffusion.py#L90"}}),N=new re({props:{name:"encode_prompt",anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt",parameters:[{name:"prompt",val:": str"},{name:"prompt_2",val:": typing.Optional[str] = None"},{name:"device",val:": typing.Optional[torch.device] = None"},{name:"num_images_per_prompt",val:": int = 1"},{name:"do_classifier_free_guidance",val:": bool = True"},{name:"negative_prompt",val:": typing.Optional[str] = None"},{name:"negative_prompt_2",val:": typing.Optional[str] = None"},{name:"prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"pooled_prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_pooled_prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"lora_scale",val:": typing.Optional[float] = None"},{name:"clip_skip",val:": typing.Optional[int] = None"}],parametersDescription:[{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
prompt to be encoded`,name:"prompt"},{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.prompt_2",description:`<strong>prompt_2</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
The prompt or prompts to be sent to the <code>tokenizer_2</code> and <code>text_encoder_2</code>. If not defined, <code>prompt</code> is
used in both text-encoders`,name:"prompt_2"},{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.device",description:`<strong>device</strong> &#x2014; (<code>torch.device</code>):
torch device`,name:"device"},{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.num_images_per_prompt",description:`<strong>num_images_per_prompt</strong> (<code>int</code>) &#x2014;
number of images that should be generated per prompt`,name:"num_images_per_prompt"},{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.do_classifier_free_guidance",description:`<strong>do_classifier_free_guidance</strong> (<code>bool</code>) &#x2014;
whether to use classifier free guidance or not`,name:"do_classifier_free_guidance"},{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.negative_prompt",description:`<strong>negative_prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
The prompt or prompts not to guide the image generation. If not defined, one has to pass
<code>negative_prompt_embeds</code> instead. Ignored when not using guidance (i.e., ignored if <code>guidance_scale</code> is
less than <code>1</code>).`,name:"negative_prompt"},{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.negative_prompt_2",description:`<strong>negative_prompt_2</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
The prompt or prompts not to guide the image generation to be sent to <code>tokenizer_2</code> and
<code>text_encoder_2</code>. If not defined, <code>negative_prompt</code> is used in both text-encoders`,name:"negative_prompt_2"},{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated text embeddings. Can be used to easily tweak text inputs, <em>e.g.</em> prompt weighting. If not
provided, text embeddings will be generated from <code>prompt</code> input argument.`,name:"prompt_embeds"},{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.negative_prompt_embeds",description:`<strong>negative_prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated negative text embeddings. Can be used to easily tweak text inputs, <em>e.g.</em> prompt
weighting. If not provided, negative_prompt_embeds will be generated from <code>negative_prompt</code> input
argument.`,name:"negative_prompt_embeds"},{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.pooled_prompt_embeds",description:`<strong>pooled_prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated pooled text embeddings. Can be used to easily tweak text inputs, <em>e.g.</em> prompt weighting.
If not provided, pooled text embeddings will be generated from <code>prompt</code> input argument.`,name:"pooled_prompt_embeds"},{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.negative_pooled_prompt_embeds",description:`<strong>negative_pooled_prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated negative pooled text embeddings. Can be used to easily tweak text inputs, <em>e.g.</em> prompt
weighting. If not provided, pooled negative_prompt_embeds will be generated from <code>negative_prompt</code>
input argument.`,name:"negative_pooled_prompt_embeds"},{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.lora_scale",description:`<strong>lora_scale</strong> (<code>float</code>, <em>optional</em>) &#x2014;
A lora scale that will be applied to all LoRA layers of the text encoder if LoRA layers are loaded.`,name:"lora_scale"},{anchor:"diffusers.StableDiffusionXLKDiffusionPipeline.encode_prompt.clip_skip",description:`<strong>clip_skip</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of layers to be skipped from CLIP while computing the prompt embeddings. A value of 1 means that
the output of the pre-final layer will be used for computing the prompt embeddings.`,name:"clip_skip"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_xl_k_diffusion.py#L206"}}),z=new Me({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/pipelines/stable_diffusion/k_diffusion.md"}}),{c(){d=p("meta"),w=n(),m=p("p"),A=n(),x=p("blockquote"),x.innerHTML=he,W=n(),g(S.$$.fragment),B=n(),k=p("p"),k.innerHTML=be,G=n(),y=p("p"),y.innerHTML=ve,Q=n(),g(C.$$.fragment),Y=n(),s=p("div"),g(K.$$.fragment),ae=n(),O=p("p"),O.textContent=De,de=n(),E=p("p"),E.innerHTML=xe,fe=n(),H=p("p"),H.textContent=Pe,pe=n(),U=p("ul"),U.innerHTML=$e,le=n(),g(P.$$.fragment),me=n(),$=p("div"),g(T.$$.fragment),ce=n(),R=p("p"),R.textContent=Le,J=n(),g(I.$$.fragment),Z=n(),u=p("div"),g(M.$$.fragment),ue=n(),L=p("div"),g(N.$$.fragment),ge=n(),q=p("p"),q.textContent=we,ee=n(),g(z.$$.fragment),te=n(),j=p("p"),this.h()},l(e){const t=Te("svelte-u9bgzb",document.head);d=l(t,"META",{name:!0,content:!0}),t.forEach(o),w=i(e),m=l(e,"P",{}),V(m).forEach(o),A=i(e),x=l(e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),c(x)!=="svelte-124tjg"&&(x.innerHTML=he),W=i(e),_(S.$$.fragment,e),B=i(e),k=l(e,"P",{"data-svelte-h":!0}),c(k)!=="svelte-1u0qckb"&&(k.innerHTML=be),G=i(e),y=l(e,"P",{"data-svelte-h":!0}),c(y)!=="svelte-kxbfc9"&&(y.innerHTML=ve),Q=i(e),_(C.$$.fragment,e),Y=i(e),s=l(e,"DIV",{class:!0});var f=V(s);_(K.$$.fragment,f),ae=i(f),O=l(f,"P",{"data-svelte-h":!0}),c(O)!=="svelte-35p306"&&(O.textContent=De),de=i(f),E=l(f,"P",{"data-svelte-h":!0}),c(E)!=="svelte-wu1jmh"&&(E.innerHTML=xe),fe=i(f),H=l(f,"P",{"data-svelte-h":!0}),c(H)!=="svelte-14s6m4u"&&(H.textContent=Pe),pe=i(f),U=l(f,"UL",{"data-svelte-h":!0}),c(U)!=="svelte-txtwv6"&&(U.innerHTML=$e),le=i(f),_(P.$$.fragment,f),me=i(f),$=l(f,"DIV",{class:!0});var ne=V($);_(T.$$.fragment,ne),ce=i(ne),R=l(ne,"P",{"data-svelte-h":!0}),c(R)!=="svelte-16q0ax1"&&(R.textContent=Le),ne.forEach(o),f.forEach(o),J=i(e),_(I.$$.fragment,e),Z=i(e),u=l(e,"DIV",{class:!0});var ie=V(u);_(M.$$.fragment,ie),ue=i(ie),L=l(ie,"DIV",{class:!0});var se=V(L);_(N.$$.fragment,se),ge=i(se),q=l(se,"P",{"data-svelte-h":!0}),c(q)!=="svelte-16q0ax1"&&(q.textContent=we),se.forEach(o),ie.forEach(o),ee=i(e),_(z.$$.fragment,e),te=i(e),j=l(e,"P",{}),V(j).forEach(o),this.h()},h(){X(d,"name","hf:doc:metadata"),X(d,"content",Xe),X(x,"class","warning"),X($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),X(s,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),X(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),X(u,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,t){a(document.head,d),r(e,w,t),r(e,m,t),r(e,A,t),r(e,x,t),r(e,W,t),h(S,e,t),r(e,B,t),r(e,k,t),r(e,G,t),r(e,y,t),r(e,Q,t),h(C,e,t),r(e,Y,t),r(e,s,t),h(K,s,null),a(s,ae),a(s,O),a(s,de),a(s,E),a(s,fe),a(s,H),a(s,pe),a(s,U),a(s,le),h(P,s,null),a(s,me),a(s,$),h(T,$,null),a($,ce),a($,R),r(e,J,t),h(I,e,t),r(e,Z,t),r(e,u,t),h(M,u,null),a(u,ue),a(u,L),h(N,L,null),a(L,ge),a(L,q),r(e,ee,t),h(z,e,t),r(e,te,t),r(e,j,t),oe=!0},p(e,[t]){const f={};t&2&&(f.$$scope={dirty:t,ctx:e}),P.$set(f)},i(e){oe||(b(S.$$.fragment,e),b(C.$$.fragment,e),b(K.$$.fragment,e),b(P.$$.fragment,e),b(T.$$.fragment,e),b(I.$$.fragment,e),b(M.$$.fragment,e),b(N.$$.fragment,e),b(z.$$.fragment,e),oe=!0)},o(e){v(S.$$.fragment,e),v(C.$$.fragment,e),v(K.$$.fragment,e),v(P.$$.fragment,e),v(T.$$.fragment,e),v(I.$$.fragment,e),v(M.$$.fragment,e),v(N.$$.fragment,e),v(z.$$.fragment,e),oe=!1},d(e){e&&(o(w),o(m),o(A),o(x),o(W),o(B),o(k),o(G),o(y),o(Q),o(Y),o(s),o(J),o(Z),o(u),o(ee),o(te),o(j)),o(d),D(S,e),D(C,e),D(K),D(P),D(T),D(I,e),D(M),D(N),D(z,e)}}}const Xe='{"title":"K-Diffusion","local":"k-diffusion","sections":[{"title":"StableDiffusionKDiffusionPipeline","local":"diffusers.StableDiffusionKDiffusionPipeline","sections":[],"depth":2},{"title":"StableDiffusionXLKDiffusionPipeline","local":"diffusers.StableDiffusionXLKDiffusionPipeline","sections":[],"depth":2}],"depth":1}';function Ae(F){return ke(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class qe extends Ce{constructor(d){super(),Ke(this,d,Ae,ze,Se,{})}}export{qe as component};
