Buckets:
| import{s as Ne,o as je,n as ge}from"../chunks/scheduler.182ea377.js";import{S as We,i as Ye,g as l,s as c,p as b,A as Be,h as d,f as n,c as p,j as U,q as M,m as _,k as x,v as s,a as u,r as T,d as w,t as $,u as k}from"../chunks/index.008d68e4.js";import{T as Ge}from"../chunks/Tip.4f096367.js";import{D as xe}from"../chunks/Docstring.7aec8b85.js";import{C as Ze}from"../chunks/CodeBlock.5ed6eb7b.js";import{I as Je}from"../chunks/IconCopyLink.96bbb92b.js";import{E as Le}from"../chunks/ExampleCodeBlock.23e54afe.js";function He(C){let o,h='To learn more about how to load Textual Inversion embeddings, see the <a href="../../using-diffusers/loading_adapters#textual-inversion">Textual Inversion</a> loading guide.';return{c(){o=l("p"),o.innerHTML=h},l(a){o=d(a,"P",{"data-svelte-h":!0}),_(o)!=="svelte-1n8qarv"&&(o.innerHTML=h)},m(a,r){u(a,o,r)},p:ge,d(a){a&&n(o)}}}function Ee(C){let o,h="To load a Textual Inversion embedding vector in 🤗 Diffusers format:",a,r,f;return r=new Ze({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMFN0YWJsZURpZmZ1c2lvblBpcGVsaW5lJTBBaW1wb3J0JTIwdG9yY2glMEElMEFtb2RlbF9pZCUyMCUzRCUyMCUyMnJ1bndheW1sJTJGc3RhYmxlLWRpZmZ1c2lvbi12MS01JTIyJTBBcGlwZSUyMCUzRCUyMFN0YWJsZURpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZChtb2RlbF9pZCUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNikudG8oJTIyY3VkYSUyMiklMEElMEFwaXBlLmxvYWRfdGV4dHVhbF9pbnZlcnNpb24oJTIyc2QtY29uY2VwdHMtbGlicmFyeSUyRmNhdC10b3klMjIpJTBBJTBBcHJvbXB0JTIwJTNEJTIwJTIyQSUyMCUzQ2NhdC10b3klM0UlMjBiYWNrcGFjayUyMiUwQSUwQWltYWdlJTIwJTNEJTIwcGlwZShwcm9tcHQlMkMlMjBudW1faW5mZXJlbmNlX3N0ZXBzJTNENTApLmltYWdlcyU1QjAlNUQlMEFpbWFnZS5zYXZlKCUyMmNhdC1iYWNrcGFjay5wbmclMjIp",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> StableDiffusionPipeline | |
| <span class="hljs-keyword">import</span> torch | |
| model_id = <span class="hljs-string">"runwayml/stable-diffusion-v1-5"</span> | |
| pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16).to(<span class="hljs-string">"cuda"</span>) | |
| pipe.load_textual_inversion(<span class="hljs-string">"sd-concepts-library/cat-toy"</span>) | |
| prompt = <span class="hljs-string">"A <cat-toy> backpack"</span> | |
| image = pipe(prompt, num_inference_steps=<span class="hljs-number">50</span>).images[<span class="hljs-number">0</span>] | |
| image.save(<span class="hljs-string">"cat-backpack.png"</span>)`}}),{c(){o=l("p"),o.textContent=h,a=c(),b(r.$$.fragment)},l(t){o=d(t,"P",{"data-svelte-h":!0}),_(o)!=="svelte-1gc783q"&&(o.textContent=h),a=p(t),M(r.$$.fragment,t)},m(t,y){u(t,o,y),u(t,a,y),T(r,t,y),f=!0},p:ge,i(t){f||(w(r.$$.fragment,t),f=!0)},o(t){$(r.$$.fragment,t),f=!1},d(t){t&&(n(o),n(a)),k(r,t)}}}function Re(C){let o,h="locally:",a,r,f;return r=new Ze({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMFN0YWJsZURpZmZ1c2lvblBpcGVsaW5lJTBBaW1wb3J0JTIwdG9yY2glMEElMEFtb2RlbF9pZCUyMCUzRCUyMCUyMnJ1bndheW1sJTJGc3RhYmxlLWRpZmZ1c2lvbi12MS01JTIyJTBBcGlwZSUyMCUzRCUyMFN0YWJsZURpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZChtb2RlbF9pZCUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNikudG8oJTIyY3VkYSUyMiklMEElMEFwaXBlLmxvYWRfdGV4dHVhbF9pbnZlcnNpb24oJTIyLiUyRmNoYXJ0dXJuZXJ2Mi5wdCUyMiUyQyUyMHRva2VuJTNEJTIyY2hhcnR1cm5lcnYyJTIyKSUwQSUwQXByb21wdCUyMCUzRCUyMCUyMmNoYXJ0dXJuZXJ2MiUyQyUyMG11bHRpcGxlJTIwdmlld3MlMjBvZiUyMHRoZSUyMHNhbWUlMjBjaGFyYWN0ZXIlMjBpbiUyMHRoZSUyMHNhbWUlMjBvdXRmaXQlMkMlMjBhJTIwY2hhcmFjdGVyJTIwdHVybmFyb3VuZCUyMG9mJTIwYSUyMHdvbWFuJTIwd2VhcmluZyUyMGElMjBibGFjayUyMGphY2tldCUyMGFuZCUyMHJlZCUyMHNoaXJ0JTJDJTIwYmVzdCUyMHF1YWxpdHklMkMlMjBpbnRyaWNhdGUlMjBkZXRhaWxzLiUyMiUwQSUwQWltYWdlJTIwJTNEJTIwcGlwZShwcm9tcHQlMkMlMjBudW1faW5mZXJlbmNlX3N0ZXBzJTNENTApLmltYWdlcyU1QjAlNUQlMEFpbWFnZS5zYXZlKCUyMmNoYXJhY3Rlci5wbmclMjIp",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> StableDiffusionPipeline | |
| <span class="hljs-keyword">import</span> torch | |
| model_id = <span class="hljs-string">"runwayml/stable-diffusion-v1-5"</span> | |
| pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16).to(<span class="hljs-string">"cuda"</span>) | |
| pipe.load_textual_inversion(<span class="hljs-string">"./charturnerv2.pt"</span>, token=<span class="hljs-string">"charturnerv2"</span>) | |
| prompt = <span class="hljs-string">"charturnerv2, multiple views of the same character in the same outfit, a character turnaround of a woman wearing a black jacket and red shirt, best quality, intricate details."</span> | |
| image = pipe(prompt, num_inference_steps=<span class="hljs-number">50</span>).images[<span class="hljs-number">0</span>] | |
| image.save(<span class="hljs-string">"character.png"</span>)`}}),{c(){o=l("p"),o.textContent=h,a=c(),b(r.$$.fragment)},l(t){o=d(t,"P",{"data-svelte-h":!0}),_(o)!=="svelte-4c75kq"&&(o.textContent=h),a=p(t),M(r.$$.fragment,t)},m(t,y){u(t,o,y),u(t,a,y),T(r,t,y),f=!0},p:ge,i(t){f||(w(r.$$.fragment,t),f=!0)},o(t){$(r.$$.fragment,t),f=!1},d(t){t&&(n(o),n(a)),k(r,t)}}}function Pe(C){let o,h,a,r,f,t,y,S,_e="Textual Inversion",O,Y,ye="Textual Inversion is a training method for personalizing models by learning new text embeddings from a few example images. The file produced from training is extremely small (a few KBs) and the new embeddings can be loaded into the text encoder.",ee,B,be="<code>TextualInversionLoaderMixin</code> provides a function for loading Textual Inversion embeddings from Diffusers and Automatic1111 into the text encoder and loading a special token to activate the embeddings.",te,J,oe,I,L,D,G,ie,q,Me="TextualInversionLoaderMixin",ne,v,H,le,z,Te="Load Textual Inversion tokens and embeddings to the tokenizer and text encoder.",de,m,E,ce,F,we=`Load Textual Inversion embeddings into the text encoder of <a href="/docs/diffusers/v0.25.0/zh/api/pipelines/stable_diffusion/text2img#diffusers.StableDiffusionPipeline">StableDiffusionPipeline</a> (both 🤗 Diffusers and | |
| Automatic1111 formats are supported).`,pe,X,$e="Example:",me,Z,ue,A,ke=`To load a Textual Inversion embedding vector in Automatic1111 format, make sure to download the vector first | |
| (for example from <a href="https://civitai.com/models/3036?modelVersionId=9857" rel="nofollow">civitAI</a>) and then load the vector`,fe,N,he,j,R,ve,V,Ie=`Processes prompts that include a special token corresponding to a multi-vector textual inversion embedding to | |
| be replaced with multiple special tokens each corresponding to one of the vectors. If the prompt has no textual | |
| inversion token or if the textual inversion token is a single vector, the input prompt is returned.`,re;return t=new Je({}),J=new Ge({props:{$$slots:{default:[He]},$$scope:{ctx:C}}}),G=new Je({}),H=new xe({props:{name:"class diffusers.loaders.TextualInversionLoaderMixin",anchor:"diffusers.loaders.TextualInversionLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/v0.25.0/src/diffusers/loaders/textual_inversion.py#L112"}}),E=new xe({props:{name:"load_textual_inversion",anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion",parameters:[{name:"pretrained_model_name_or_path",val:": Union"},{name:"token",val:": Union = None"},{name:"tokenizer",val:": Optional = None"},{name:"text_encoder",val:": Optional = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.pretrained_model_name_or_path",description:`<strong>pretrained_model_name_or_path</strong> (<code>str</code> or <code>os.PathLike</code> or <code>List[str or os.PathLike]</code> or <code>Dict</code> or <code>List[Dict]</code>) — | |
| Can be either one of the following or a list of them:</p> | |
| <ul> | |
| <li>A string, the <em>model id</em> (for example <code>sd-concepts-library/low-poly-hd-logos-icons</code>) of a | |
| pretrained model hosted on the Hub.</li> | |
| <li>A path to a <em>directory</em> (for example <code>./my_text_inversion_directory/</code>) containing the textual | |
| inversion weights.</li> | |
| <li>A path to a <em>file</em> (for example <code>./my_text_inversions.pt</code>) containing textual inversion weights.</li> | |
| <li>A <a href="https://pytorch.org/tutorials/beginner/saving_loading_models.html#what-is-a-state-dict" rel="nofollow">torch state | |
| dict</a>.</li> | |
| </ul>`,name:"pretrained_model_name_or_path"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.token",description:`<strong>token</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) — | |
| Override the token to use for the textual inversion weights. If <code>pretrained_model_name_or_path</code> is a | |
| list, then <code>token</code> must also be a list of equal length.`,name:"token"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.text_encoder",description:`<strong>text_encoder</strong> (<code>CLIPTextModel</code>, <em>optional</em>) — | |
| Frozen text-encoder (<a href="https://huggingface.co/openai/clip-vit-large-patch14" rel="nofollow">clip-vit-large-patch14</a>). | |
| If not specified, function will take self.tokenizer.`,name:"text_encoder"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.tokenizer",description:`<strong>tokenizer</strong> (<code>CLIPTokenizer</code>, <em>optional</em>) — | |
| A <code>CLIPTokenizer</code> to tokenize text. If not specified, function will take self.tokenizer.`,name:"tokenizer"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.weight_name",description:`<strong>weight_name</strong> (<code>str</code>, <em>optional</em>) — | |
| Name of a custom weight file. This should be used when:</p> | |
| <ul> | |
| <li>The saved textual inversion file is in 🤗 Diffusers format, but was saved under a specific weight | |
| name such as <code>text_inv.bin</code>.</li> | |
| <li>The saved textual inversion file is in the Automatic1111 format.</li> | |
| </ul>`,name:"weight_name"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) — | |
| Path to a directory where a downloaded pretrained model configuration is cached if the standard cache | |
| is not used.`,name:"cache_dir"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) — | |
| Whether or not to force the (re-)download of the model weights and configuration files, overriding the | |
| cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.resume_download",description:`<strong>resume_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) — | |
| Whether or not to resume downloading the model weights and configuration files. If set to <code>False</code>, any | |
| incompletely downloaded files are deleted.`,name:"resume_download"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) — | |
| A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{'http': 'foo.bar:3128', 'http://hostname': 'foo.bar:4012'}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) — | |
| Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model | |
| won’t be downloaded from the Hub.`,name:"local_files_only"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.token",description:`<strong>token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) — | |
| The token to use as HTTP bearer authorization for remote files. If <code>True</code>, the token generated from | |
| <code>diffusers-cli login</code> (stored in <code>~/.huggingface</code>) is used.`,name:"token"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>"main"</code>) — | |
| The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier | |
| allowed by Git.`,name:"revision"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>""</code>) — | |
| The subfolder location of a model file within a larger model repository on the Hub or locally.`,name:"subfolder"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.mirror",description:`<strong>mirror</strong> (<code>str</code>, <em>optional</em>) — | |
| Mirror source to resolve accessibility issues if you’re downloading a model in China. We do not | |
| guarantee the timeliness or safety of the source, and you should refer to the mirror site for more | |
| information.`,name:"mirror"}],source:"https://github.com/huggingface/diffusers/blob/v0.25.0/src/diffusers/loaders/textual_inversion.py#L265"}}),Z=new Le({props:{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.example",$$slots:{default:[Ee]},$$scope:{ctx:C}}}),N=new Le({props:{anchor:"diffusers.loaders.TextualInversionLoaderMixin.load_textual_inversion.example-2",$$slots:{default:[Re]},$$scope:{ctx:C}}}),R=new xe({props:{name:"maybe_convert_prompt",anchor:"diffusers.loaders.TextualInversionLoaderMixin.maybe_convert_prompt",parameters:[{name:"prompt",val:": Union"},{name:"tokenizer",val:": PreTrainedTokenizer"}],parametersDescription:[{anchor:"diffusers.loaders.TextualInversionLoaderMixin.maybe_convert_prompt.prompt",description:`<strong>prompt</strong> (<code>str</code> or list of <code>str</code>) — | |
| The prompt or prompts to guide the image generation.`,name:"prompt"},{anchor:"diffusers.loaders.TextualInversionLoaderMixin.maybe_convert_prompt.tokenizer",description:`<strong>tokenizer</strong> (<code>PreTrainedTokenizer</code>) — | |
| The tokenizer responsible for encoding the prompt into input tokens.`,name:"tokenizer"}],source:"https://github.com/huggingface/diffusers/blob/v0.25.0/src/diffusers/loaders/textual_inversion.py#L117",returnDescription:` | |
| <p>The converted prompt</p> | |
| `,returnType:` | |
| <p><code>str</code> or list of <code>str</code></p> | |
| `}}),{c(){o=l("meta"),h=c(),a=l("h1"),r=l("a"),f=l("span"),b(t.$$.fragment),y=c(),S=l("span"),S.textContent=_e,O=c(),Y=l("p"),Y.textContent=ye,ee=c(),B=l("p"),B.innerHTML=be,te=c(),b(J.$$.fragment),oe=c(),I=l("h2"),L=l("a"),D=l("span"),b(G.$$.fragment),ie=c(),q=l("span"),q.textContent=Me,ne=c(),v=l("div"),b(H.$$.fragment),le=c(),z=l("p"),z.textContent=Te,de=c(),m=l("div"),b(E.$$.fragment),ce=c(),F=l("p"),F.innerHTML=we,pe=c(),X=l("p"),X.textContent=$e,me=c(),b(Z.$$.fragment),ue=c(),A=l("p"),A.innerHTML=ke,fe=c(),b(N.$$.fragment),he=c(),j=l("div"),b(R.$$.fragment),ve=c(),V=l("p"),V.textContent=Ie,this.h()},l(e){const i=Be("svelte-1phssyn",document.head);o=d(i,"META",{name:!0,content:!0}),i.forEach(n),h=p(e),a=d(e,"H1",{class:!0});var P=U(a);r=d(P,"A",{id:!0,class:!0,href:!0});var Q=U(r);f=d(Q,"SPAN",{});var K=U(f);M(t.$$.fragment,K),K.forEach(n),Q.forEach(n),y=p(P),S=d(P,"SPAN",{"data-svelte-h":!0}),_(S)!=="svelte-t3rptd"&&(S.textContent=_e),P.forEach(n),O=p(e),Y=d(e,"P",{"data-svelte-h":!0}),_(Y)!=="svelte-17iorh0"&&(Y.textContent=ye),ee=p(e),B=d(e,"P",{"data-svelte-h":!0}),_(B)!=="svelte-16c4ckr"&&(B.innerHTML=be),te=p(e),M(J.$$.fragment,e),oe=p(e),I=d(e,"H2",{class:!0});var ae=U(I);L=d(ae,"A",{id:!0,class:!0,href:!0});var Ue=U(L);D=d(Ue,"SPAN",{});var Ce=U(D);M(G.$$.fragment,Ce),Ce.forEach(n),Ue.forEach(n),ie=p(ae),q=d(ae,"SPAN",{"data-svelte-h":!0}),_(q)!=="svelte-1mtighr"&&(q.textContent=Me),ae.forEach(n),ne=p(e),v=d(e,"DIV",{class:!0});var W=U(v);M(H.$$.fragment,W),le=p(W),z=d(W,"P",{"data-svelte-h":!0}),_(z)!=="svelte-7bntze"&&(z.textContent=Te),de=p(W),m=d(W,"DIV",{class:!0});var g=U(m);M(E.$$.fragment,g),ce=p(g),F=d(g,"P",{"data-svelte-h":!0}),_(F)!=="svelte-1s0uecv"&&(F.innerHTML=we),pe=p(g),X=d(g,"P",{"data-svelte-h":!0}),_(X)!=="svelte-11lpom8"&&(X.textContent=$e),me=p(g),M(Z.$$.fragment,g),ue=p(g),A=d(g,"P",{"data-svelte-h":!0}),_(A)!=="svelte-15d7mv5"&&(A.innerHTML=ke),fe=p(g),M(N.$$.fragment,g),g.forEach(n),he=p(W),j=d(W,"DIV",{class:!0});var se=U(j);M(R.$$.fragment,se),ve=p(se),V=d(se,"P",{"data-svelte-h":!0}),_(V)!=="svelte-gjjmbb"&&(V.textContent=Ie),se.forEach(n),W.forEach(n),this.h()},h(){x(o,"name","hf:doc:metadata"),x(o,"content",JSON.stringify(Se)),x(r,"id","textual-inversion"),x(r,"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"),x(r,"href","#textual-inversion"),x(a,"class","relative group"),x(L,"id","diffusers.loaders.TextualInversionLoaderMixin"),x(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"),x(L,"href","#diffusers.loaders.TextualInversionLoaderMixin"),x(I,"class","relative group"),x(m,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(v,"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,i){s(document.head,o),u(e,h,i),u(e,a,i),s(a,r),s(r,f),T(t,f,null),s(a,y),s(a,S),u(e,O,i),u(e,Y,i),u(e,ee,i),u(e,B,i),u(e,te,i),T(J,e,i),u(e,oe,i),u(e,I,i),s(I,L),s(L,D),T(G,D,null),s(I,ie),s(I,q),u(e,ne,i),u(e,v,i),T(H,v,null),s(v,le),s(v,z),s(v,de),s(v,m),T(E,m,null),s(m,ce),s(m,F),s(m,pe),s(m,X),s(m,me),T(Z,m,null),s(m,ue),s(m,A),s(m,fe),T(N,m,null),s(v,he),s(v,j),T(R,j,null),s(j,ve),s(j,V),re=!0},p(e,[i]){const P={};i&2&&(P.$$scope={dirty:i,ctx:e}),J.$set(P);const Q={};i&2&&(Q.$$scope={dirty:i,ctx:e}),Z.$set(Q);const K={};i&2&&(K.$$scope={dirty:i,ctx:e}),N.$set(K)},i(e){re||(w(t.$$.fragment,e),w(J.$$.fragment,e),w(G.$$.fragment,e),w(H.$$.fragment,e),w(E.$$.fragment,e),w(Z.$$.fragment,e),w(N.$$.fragment,e),w(R.$$.fragment,e),re=!0)},o(e){$(t.$$.fragment,e),$(J.$$.fragment,e),$(G.$$.fragment,e),$(H.$$.fragment,e),$(E.$$.fragment,e),$(Z.$$.fragment,e),$(N.$$.fragment,e),$(R.$$.fragment,e),re=!1},d(e){e&&(n(h),n(a),n(O),n(Y),n(ee),n(B),n(te),n(oe),n(I),n(ne),n(v)),n(o),k(t),k(J,e),k(G),k(H),k(E),k(Z),k(N),k(R)}}}const Se={local:"textual-inversion",sections:[{local:"diffusers.loaders.TextualInversionLoaderMixin",title:"TextualInversionLoaderMixin"}],title:"Textual Inversion"};function qe(C){return je(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ke extends We{constructor(o){super(),Ye(this,o,qe,Pe,Ne,{})}}export{Ke as component}; | |
Xet Storage Details
- Size:
- 19.2 kB
- Xet hash:
- 8a9842f20498a0d627c2731d5014b9afa855cc057217038afa2a2935154b15e7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.