import{S as Zt,i as er,s as tr,e as n,k as p,w as Y,t as s,M as rr,c as o,d as r,m as c,a as i,x as K,h as l,b as a,G as t,g as f,y as Q,L as nr,q as X,o as Z,B as ee,v as or}from"../../../chunks/vendor-hf-doc-builder.js";import{D as Xt}from"../../../chunks/Docstring-hf-doc-builder.js";import{I as Ne}from"../../../chunks/IconCopyLink-hf-doc-builder.js";function ir(yt){let m,ve,_,w,te,E,ze,re,Oe,Pe,g,C,ne,$,qe,oe,Ge,be,k,D,He,Fe,ye,H,We,we,F,je,Ce,u,Re,A,Je,Be,M,Ve,Ye,Le,v,L,ie,S,Ke,ae,Qe,Ie,I,se,P,le,Xe,Ze,de,et,tt,W,rt,nt,pe,b,ce,N,ot,it,fe,he,at,st,j,lt,xe,y,x,ue,z,dt,me,pt,Te,h,O,ct,_e,ft,ht,q,ut,R,mt,_t,gt,T,G,vt,ge,Pt,Ue;return E=new Ne({}),$=new Ne({}),S=new Ne({}),z=new Ne({}),O=new Xt({props:{name:"class diffusers.UnCLIPPipeline",anchor:"diffusers.UnCLIPPipeline",parameters:[{name:"prior",val:": PriorTransformer"},{name:"decoder",val:": UNet2DConditionModel"},{name:"text_encoder",val:": CLIPTextModelWithProjection"},{name:"tokenizer",val:": CLIPTokenizer"},{name:"text_proj",val:": UnCLIPTextProjModel"},{name:"super_res_first",val:": UNet2DModel"},{name:"super_res_last",val:": UNet2DModel"},{name:"prior_scheduler",val:": UnCLIPScheduler"},{name:"decoder_scheduler",val:": UnCLIPScheduler"},{name:"super_res_scheduler",val:": UnCLIPScheduler"}],parametersDescription:[{anchor:"diffusers.UnCLIPPipeline.text_encoder",description:`<strong>text_encoder</strong> (<code>CLIPTextModelWithProjection</code>) &#x2014;
Frozen text-encoder.`,name:"text_encoder"},{anchor:"diffusers.UnCLIPPipeline.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.UnCLIPPipeline.prior",description:`<strong>prior</strong> (<a href="/docs/diffusers/v0.11.0/en/api/models#diffusers.PriorTransformer">PriorTransformer</a>) &#x2014;
The canonincal unCLIP prior to approximate the image embedding from the text embedding.`,name:"prior"},{anchor:"diffusers.UnCLIPPipeline.decoder",description:`<strong>decoder</strong> (<a href="/docs/diffusers/v0.11.0/en/api/models#diffusers.UNet2DConditionModel">UNet2DConditionModel</a>) &#x2014;
The decoder to invert the image embedding into an image.`,name:"decoder"},{anchor:"diffusers.UnCLIPPipeline.super_res_first",description:`<strong>super_res_first</strong> (<a href="/docs/diffusers/v0.11.0/en/api/models#diffusers.UNet2DModel">UNet2DModel</a>) &#x2014;
Super resolution unet. Used in all but the last step of the super resolution diffusion process.`,name:"super_res_first"},{anchor:"diffusers.UnCLIPPipeline.super_res_last",description:`<strong>super_res_last</strong> (<a href="/docs/diffusers/v0.11.0/en/api/models#diffusers.UNet2DModel">UNet2DModel</a>) &#x2014;
Super resolution unet. Used in the last step of the super resolution diffusion process.`,name:"super_res_last"},{anchor:"diffusers.UnCLIPPipeline.prior_scheduler",description:`<strong>prior_scheduler</strong> (<code>UnCLIPScheduler</code>) &#x2014;
Scheduler used in the prior denoising process. Just a modified DDPMScheduler.`,name:"prior_scheduler"},{anchor:"diffusers.UnCLIPPipeline.decoder_scheduler",description:`<strong>decoder_scheduler</strong> (<code>UnCLIPScheduler</code>) &#x2014;
Scheduler used in the decoder denoising process. Just a modified DDPMScheduler.`,name:"decoder_scheduler"},{anchor:"diffusers.UnCLIPPipeline.super_res_scheduler",description:`<strong>super_res_scheduler</strong> (<code>UnCLIPScheduler</code>) &#x2014;
Scheduler used in the super resolution denoising process. Just a modified DDPMScheduler.`,name:"super_res_scheduler"}],source:"https://github.com/huggingface/diffusers/blob/v0.11.0/src/diffusers/pipelines/unclip/pipeline_unclip.py#L33"}}),G=new Xt({props:{name:"__call__",anchor:"diffusers.UnCLIPPipeline.__call__",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]]"},{name:"num_images_per_prompt",val:": int = 1"},{name:"prior_num_inference_steps",val:": int = 25"},{name:"decoder_num_inference_steps",val:": int = 25"},{name:"super_res_num_inference_steps",val:": int = 7"},{name:"generator",val:": typing.Optional[torch._C.Generator] = None"},{name:"prior_latents",val:": typing.Optional[torch.FloatTensor] = None"},{name:"decoder_latents",val:": typing.Optional[torch.FloatTensor] = None"},{name:"super_res_latents",val:": typing.Optional[torch.FloatTensor] = None"},{name:"prior_guidance_scale",val:": float = 4.0"},{name:"decoder_guidance_scale",val:": float = 8.0"},{name:"output_type",val:": typing.Optional[str] = 'pil'"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.UnCLIPPipeline.__call__.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>) &#x2014;
The prompt or prompts to guide the image generation.`,name:"prompt"},{anchor:"diffusers.UnCLIPPipeline.__call__.num_images_per_prompt",description:`<strong>num_images_per_prompt</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The number of images to generate per prompt.`,name:"num_images_per_prompt"},{anchor:"diffusers.UnCLIPPipeline.__call__.prior_num_inference_steps",description:`<strong>prior_num_inference_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 25) &#x2014;
The number of denoising steps for the prior. More denoising steps usually lead to a higher quality
image at the expense of slower inference.`,name:"prior_num_inference_steps"},{anchor:"diffusers.UnCLIPPipeline.__call__.decoder_num_inference_steps",description:`<strong>decoder_num_inference_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 25) &#x2014;
The number of denoising steps for the decoder. More denoising steps usually lead to a higher quality
image at the expense of slower inference.`,name:"decoder_num_inference_steps"},{anchor:"diffusers.UnCLIPPipeline.__call__.super_res_num_inference_steps",description:`<strong>super_res_num_inference_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 7) &#x2014;
The number of denoising steps for super resolution. More denoising steps usually lead to a higher
quality image at the expense of slower inference.`,name:"super_res_num_inference_steps"},{anchor:"diffusers.UnCLIPPipeline.__call__.generator",description:`<strong>generator</strong> (<code>torch.Generator</code>, <em>optional</em>) &#x2014;
One or a list of <a href="https://pytorch.org/docs/stable/generated/torch.Generator.html" rel="nofollow">torch generator(s)</a>
to make generation deterministic.`,name:"generator"},{anchor:"diffusers.UnCLIPPipeline.__call__.prior_latents",description:`<strong>prior_latents</strong> (<code>torch.FloatTensor</code> of shape (batch size, embeddings dimension), <em>optional</em>) &#x2014;
Pre-generated noisy latents to be used as inputs for the prior.`,name:"prior_latents"},{anchor:"diffusers.UnCLIPPipeline.__call__.decoder_latents",description:`<strong>decoder_latents</strong> (<code>torch.FloatTensor</code> of shape (batch size, channels, height, width), <em>optional</em>) &#x2014;
Pre-generated noisy latents to be used as inputs for the decoder.`,name:"decoder_latents"},{anchor:"diffusers.UnCLIPPipeline.__call__.super_res_latents",description:`<strong>super_res_latents</strong> (<code>torch.FloatTensor</code> of shape (batch size, channels, super res height, super res width), <em>optional</em>) &#x2014;
Pre-generated noisy latents to be used as inputs for the decoder.`,name:"super_res_latents"},{anchor:"diffusers.UnCLIPPipeline.__call__.prior_guidance_scale",description:`<strong>prior_guidance_scale</strong> (<code>float</code>, <em>optional</em>, defaults to 4.0) &#x2014;
Guidance scale as defined in <a href="https://arxiv.org/abs/2207.12598" rel="nofollow">Classifier-Free Diffusion Guidance</a>.
<code>guidance_scale</code> is defined as <code>w</code> of equation 2. of <a href="https://arxiv.org/pdf/2205.11487.pdf" rel="nofollow">Imagen
Paper</a>. Guidance scale is enabled by setting <code>guidance_scale &gt; 1</code>. Higher guidance scale encourages to generate images that are closely linked to the text <code>prompt</code>,
usually at the expense of lower image quality.`,name:"prior_guidance_scale"},{anchor:"diffusers.UnCLIPPipeline.__call__.decoder_guidance_scale",description:`<strong>decoder_guidance_scale</strong> (<code>float</code>, <em>optional</em>, defaults to 4.0) &#x2014;
Guidance scale as defined in <a href="https://arxiv.org/abs/2207.12598" rel="nofollow">Classifier-Free Diffusion Guidance</a>.
<code>guidance_scale</code> is defined as <code>w</code> of equation 2. of <a href="https://arxiv.org/pdf/2205.11487.pdf" rel="nofollow">Imagen
Paper</a>. Guidance scale is enabled by setting <code>guidance_scale &gt; 1</code>. Higher guidance scale encourages to generate images that are closely linked to the text <code>prompt</code>,
usually at the expense of lower image quality.`,name:"decoder_guidance_scale"},{anchor:"diffusers.UnCLIPPipeline.__call__.output_type",description:`<strong>output_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;pil&quot;</code>) &#x2014;
The output format of the generated image. Choose between
<a href="https://pillow.readthedocs.io/en/stable/" rel="nofollow">PIL</a>: <code>PIL.Image.Image</code> or <code>np.array</code>.`,name:"output_type"},{anchor:"diffusers.UnCLIPPipeline.__call__.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <a href="/docs/diffusers/v0.11.0/en/api/diffusion_pipeline#diffusers.pipeline_utils.ImagePipelineOutput">ImagePipelineOutput</a> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/v0.11.0/src/diffusers/pipelines/unclip/pipeline_unclip.py#L233"}}),{c(){m=n("meta"),ve=p(),_=n("h1"),w=n("a"),te=n("span"),Y(E.$$.fragment),ze=p(),re=n("span"),Oe=s("unCLIP"),Pe=p(),g=n("h2"),C=n("a"),ne=n("span"),Y($.$$.fragment),qe=p(),oe=n("span"),Ge=s("Overview"),be=p(),k=n("p"),D=n("a"),He=s("Hierarchical Text-Conditional Image Generation with CLIP Latents"),Fe=s(" by Aditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, Mark Chen"),ye=p(),H=n("p"),We=s("The abstract of the paper is the following:"),we=p(),F=n("p"),je=s("Contrastive models like CLIP have been shown to learn robust representations of images that capture both semantics and style. To leverage these representations for image generation, we propose a two-stage model: a prior that generates a CLIP image embedding given a text caption, and a decoder that generates an image conditioned on the image embedding. We show that explicitly generating image representations improves image diversity with minimal loss in photorealism and caption similarity. Our decoders conditioned on image representations can also produce variations of an image that preserve both its semantics and style, while varying the non-essential details absent from the image representation. Moreover, the joint embedding space of CLIP enables language-guided image manipulations in a zero-shot fashion. We use diffusion models for the decoder and experiment with both autoregressive and diffusion models for the prior, finding that the latter are computationally more efficient and produce higher-quality samples."),Ce=p(),u=n("p"),Re=s("The unCLIP model in diffusers comes from kakaobrain\u2019s karlo and the original codebase can be found "),A=n("a"),Je=s("here"),Be=s(". Additionally, lucidrains has a DALL-E 2 recreation "),M=n("a"),Ve=s("here"),Ye=s("."),Le=p(),v=n("h2"),L=n("a"),ie=n("span"),Y(S.$$.fragment),Ke=p(),ae=n("span"),Qe=s("Available Pipelines:"),Ie=p(),I=n("table"),se=n("thead"),P=n("tr"),le=n("th"),Xe=s("Pipeline"),Ze=p(),de=n("th"),et=s("Tasks"),tt=p(),W=n("th"),rt=s("Colab"),nt=p(),pe=n("tbody"),b=n("tr"),ce=n("td"),N=n("a"),ot=s("pipeline_unclip.py"),it=p(),fe=n("td"),he=n("em"),at=s("Text-to-Image Generation"),st=p(),j=n("td"),lt=s("-"),xe=p(),y=n("h2"),x=n("a"),ue=n("span"),Y(z.$$.fragment),dt=p(),me=n("span"),pt=s("UnCLIPPipeline"),Te=p(),h=n("div"),Y(O.$$.fragment),ct=p(),_e=n("p"),ft=s("Pipeline for text-to-image generation using unCLIP"),ht=p(),q=n("p"),ut=s("This model inherits from "),R=n("a"),mt=s("DiffusionPipeline"),_t=s(`. 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.)`),gt=p(),T=n("div"),Y(G.$$.fragment),vt=p(),ge=n("p"),Pt=s("Function invoked when calling the pipeline for generation."),this.h()},l(e){const d=rr('[data-svelte="svelte-1phssyn"]',document.head);m=o(d,"META",{name:!0,content:!0}),d.forEach(r),ve=c(e),_=o(e,"H1",{class:!0});var Ee=i(_);w=o(Ee,"A",{id:!0,class:!0,href:!0});var wt=i(w);te=o(wt,"SPAN",{});var Ct=i(te);K(E.$$.fragment,Ct),Ct.forEach(r),wt.forEach(r),ze=c(Ee),re=o(Ee,"SPAN",{});var Lt=i(re);Oe=l(Lt,"unCLIP"),Lt.forEach(r),Ee.forEach(r),Pe=c(e),g=o(e,"H2",{class:!0});var $e=i(g);C=o($e,"A",{id:!0,class:!0,href:!0});var It=i(C);ne=o(It,"SPAN",{});var xt=i(ne);K($.$$.fragment,xt),xt.forEach(r),It.forEach(r),qe=c($e),oe=o($e,"SPAN",{});var Tt=i(oe);Ge=l(Tt,"Overview"),Tt.forEach(r),$e.forEach(r),be=c(e),k=o(e,"P",{});var bt=i(k);D=o(bt,"A",{href:!0,rel:!0});var Ut=i(D);He=l(Ut,"Hierarchical Text-Conditional Image Generation with CLIP Latents"),Ut.forEach(r),Fe=l(bt," by Aditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, Mark Chen"),bt.forEach(r),ye=c(e),H=o(e,"P",{});var Et=i(H);We=l(Et,"The abstract of the paper is the following:"),Et.forEach(r),we=c(e),F=o(e,"P",{});var $t=i(F);je=l($t,"Contrastive models like CLIP have been shown to learn robust representations of images that capture both semantics and style. To leverage these representations for image generation, we propose a two-stage model: a prior that generates a CLIP image embedding given a text caption, and a decoder that generates an image conditioned on the image embedding. We show that explicitly generating image representations improves image diversity with minimal loss in photorealism and caption similarity. Our decoders conditioned on image representations can also produce variations of an image that preserve both its semantics and style, while varying the non-essential details absent from the image representation. Moreover, the joint embedding space of CLIP enables language-guided image manipulations in a zero-shot fashion. We use diffusion models for the decoder and experiment with both autoregressive and diffusion models for the prior, finding that the latter are computationally more efficient and produce higher-quality samples."),$t.forEach(r),Ce=c(e),u=o(e,"P",{});var J=i(u);Re=l(J,"The unCLIP model in diffusers comes from kakaobrain\u2019s karlo and the original codebase can be found "),A=o(J,"A",{href:!0,rel:!0});var kt=i(A);Je=l(kt,"here"),kt.forEach(r),Be=l(J,". Additionally, lucidrains has a DALL-E 2 recreation "),M=o(J,"A",{href:!0,rel:!0});var Dt=i(M);Ve=l(Dt,"here"),Dt.forEach(r),Ye=l(J,"."),J.forEach(r),Le=c(e),v=o(e,"H2",{class:!0});var ke=i(v);L=o(ke,"A",{id:!0,class:!0,href:!0});var At=i(L);ie=o(At,"SPAN",{});var Mt=i(ie);K(S.$$.fragment,Mt),Mt.forEach(r),At.forEach(r),Ke=c(ke),ae=o(ke,"SPAN",{});var St=i(ae);Qe=l(St,"Available Pipelines:"),St.forEach(r),ke.forEach(r),Ie=c(e),I=o(e,"TABLE",{});var De=i(I);se=o(De,"THEAD",{});var Nt=i(se);P=o(Nt,"TR",{});var B=i(P);le=o(B,"TH",{});var zt=i(le);Xe=l(zt,"Pipeline"),zt.forEach(r),Ze=c(B),de=o(B,"TH",{});var Ot=i(de);et=l(Ot,"Tasks"),Ot.forEach(r),tt=c(B),W=o(B,"TH",{align:!0});var qt=i(W);rt=l(qt,"Colab"),qt.forEach(r),B.forEach(r),Nt.forEach(r),nt=c(De),pe=o(De,"TBODY",{});var Gt=i(pe);b=o(Gt,"TR",{});var V=i(b);ce=o(V,"TD",{});var Ht=i(ce);N=o(Ht,"A",{href:!0,rel:!0});var Ft=i(N);ot=l(Ft,"pipeline_unclip.py"),Ft.forEach(r),Ht.forEach(r),it=c(V),fe=o(V,"TD",{});var Wt=i(fe);he=o(Wt,"EM",{});var jt=i(he);at=l(jt,"Text-to-Image Generation"),jt.forEach(r),Wt.forEach(r),st=c(V),j=o(V,"TD",{align:!0});var Rt=i(j);lt=l(Rt,"-"),Rt.forEach(r),V.forEach(r),Gt.forEach(r),De.forEach(r),xe=c(e),y=o(e,"H2",{class:!0});var Ae=i(y);x=o(Ae,"A",{id:!0,class:!0,href:!0});var Jt=i(x);ue=o(Jt,"SPAN",{});var Bt=i(ue);K(z.$$.fragment,Bt),Bt.forEach(r),Jt.forEach(r),dt=c(Ae),me=o(Ae,"SPAN",{});var Vt=i(me);pt=l(Vt,"UnCLIPPipeline"),Vt.forEach(r),Ae.forEach(r),Te=c(e),h=o(e,"DIV",{class:!0});var U=i(h);K(O.$$.fragment,U),ct=c(U),_e=o(U,"P",{});var Yt=i(_e);ft=l(Yt,"Pipeline for text-to-image generation using unCLIP"),Yt.forEach(r),ht=c(U),q=o(U,"P",{});var Me=i(q);ut=l(Me,"This model inherits from "),R=o(Me,"A",{href:!0});var Kt=i(R);mt=l(Kt,"DiffusionPipeline"),Kt.forEach(r),_t=l(Me,`. 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.)`),Me.forEach(r),gt=c(U),T=o(U,"DIV",{class:!0});var Se=i(T);K(G.$$.fragment,Se),vt=c(Se),ge=o(Se,"P",{});var Qt=i(ge);Pt=l(Qt,"Function invoked when calling the pipeline for generation."),Qt.forEach(r),Se.forEach(r),U.forEach(r),this.h()},h(){a(m,"name","hf:doc:metadata"),a(m,"content",JSON.stringify(ar)),a(w,"id","unclip"),a(w,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),a(w,"href","#unclip"),a(_,"class","relative group"),a(C,"id","overview"),a(C,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),a(C,"href","#overview"),a(g,"class","relative group"),a(D,"href","https://arxiv.org/abs/2204.06125"),a(D,"rel","nofollow"),a(A,"href","https://github.com/kakaobrain/karlo"),a(A,"rel","nofollow"),a(M,"href","https://github.com/lucidrains/DALLE2-pytorch"),a(M,"rel","nofollow"),a(L,"id","available-pipelines"),a(L,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),a(L,"href","#available-pipelines"),a(v,"class","relative group"),a(W,"align","center"),a(N,"href","https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/unclip/pipeline_unclip.py"),a(N,"rel","nofollow"),a(j,"align","center"),a(x,"id","diffusers.UnCLIPPipeline"),a(x,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),a(x,"href","#diffusers.UnCLIPPipeline"),a(y,"class","relative group"),a(R,"href","/docs/diffusers/v0.11.0/en/api/diffusion_pipeline#diffusers.DiffusionPipeline"),a(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),a(h,"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,d){t(document.head,m),f(e,ve,d),f(e,_,d),t(_,w),t(w,te),Q(E,te,null),t(_,ze),t(_,re),t(re,Oe),f(e,Pe,d),f(e,g,d),t(g,C),t(C,ne),Q($,ne,null),t(g,qe),t(g,oe),t(oe,Ge),f(e,be,d),f(e,k,d),t(k,D),t(D,He),t(k,Fe),f(e,ye,d),f(e,H,d),t(H,We),f(e,we,d),f(e,F,d),t(F,je),f(e,Ce,d),f(e,u,d),t(u,Re),t(u,A),t(A,Je),t(u,Be),t(u,M),t(M,Ve),t(u,Ye),f(e,Le,d),f(e,v,d),t(v,L),t(L,ie),Q(S,ie,null),t(v,Ke),t(v,ae),t(ae,Qe),f(e,Ie,d),f(e,I,d),t(I,se),t(se,P),t(P,le),t(le,Xe),t(P,Ze),t(P,de),t(de,et),t(P,tt),t(P,W),t(W,rt),t(I,nt),t(I,pe),t(pe,b),t(b,ce),t(ce,N),t(N,ot),t(b,it),t(b,fe),t(fe,he),t(he,at),t(b,st),t(b,j),t(j,lt),f(e,xe,d),f(e,y,d),t(y,x),t(x,ue),Q(z,ue,null),t(y,dt),t(y,me),t(me,pt),f(e,Te,d),f(e,h,d),Q(O,h,null),t(h,ct),t(h,_e),t(_e,ft),t(h,ht),t(h,q),t(q,ut),t(q,R),t(R,mt),t(q,_t),t(h,gt),t(h,T),Q(G,T,null),t(T,vt),t(T,ge),t(ge,Pt),Ue=!0},p:nr,i(e){Ue||(X(E.$$.fragment,e),X($.$$.fragment,e),X(S.$$.fragment,e),X(z.$$.fragment,e),X(O.$$.fragment,e),X(G.$$.fragment,e),Ue=!0)},o(e){Z(E.$$.fragment,e),Z($.$$.fragment,e),Z(S.$$.fragment,e),Z(z.$$.fragment,e),Z(O.$$.fragment,e),Z(G.$$.fragment,e),Ue=!1},d(e){r(m),e&&r(ve),e&&r(_),ee(E),e&&r(Pe),e&&r(g),ee($),e&&r(be),e&&r(k),e&&r(ye),e&&r(H),e&&r(we),e&&r(F),e&&r(Ce),e&&r(u),e&&r(Le),e&&r(v),ee(S),e&&r(Ie),e&&r(I),e&&r(xe),e&&r(y),ee(z),e&&r(Te),e&&r(h),ee(O),ee(G)}}}const ar={local:"unclip",sections:[{local:"overview",title:"Overview"},{local:"available-pipelines",title:"Available Pipelines:"},{local:"diffusers.UnCLIPPipeline",title:"UnCLIPPipeline"}],title:"unCLIP"};function sr(yt){return or(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class cr extends Zt{constructor(m){super();er(this,m,sr,ir,tr,{})}}export{cr as default,ar as metadata};
