Buckets:
| import{s as Ne,o as De,n as Ve}from"../chunks/scheduler.8c3d61f6.js";import{S as Ze,i as Be,g as l,s as o,r as f,A as We,h as p,f as n,c as i,j as T,u,x as M,k as P,y as t,a as g,v as _,d as h,t as w,w as b}from"../chunks/index.da70eac4.js";import{T as Oe}from"../chunks/Tip.1d9b8c37.js";import{D as U}from"../chunks/Docstring.c021b19a.js";import{C as ze}from"../chunks/CodeBlock.a9c4becf.js";import{E as He}from"../chunks/ExampleCodeBlock.56b4589c.js";import{H as Me,E as Ae}from"../chunks/getInferenceSnippets.725ed3d4.js";function Se(A){let a,I='Make sure to check out the Schedulers <a href="../../using-diffusers/schedulers">guide</a> to learn how to explore the tradeoff between scheduler speed and quality, and see the <a href="../../using-diffusers/loading#reuse-a-pipeline">reuse components across pipelines</a> section to learn how to efficiently load the same components into multiple pipelines.';return{c(){a=l("p"),a.innerHTML=I},l(m){a=p(m,"P",{"data-svelte-h":!0}),M(a)!=="svelte-1qn15hi"&&(a.innerHTML=I)},m(m,v){g(m,a,v)},p:Ve,d(m){m&&n(a)}}}function Xe(A){let a,I="Examples:",m,v,$;return v=new ze({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwUXdlbkltYWdlUGlwZWxpbmUlMEElMEFwaXBlJTIwJTNEJTIwUXdlbkltYWdlUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUyMlF3ZW4lMkZRd2VuSW1hZ2UtMjBCJTIyJTJDJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5iZmxvYXQxNiklMEFwaXBlLnRvKCUyMmN1ZGElMjIpJTBBcHJvbXB0JTIwJTNEJTIwJTIyQSUyMGNhdCUyMGhvbGRpbmclMjBhJTIwc2lnbiUyMHRoYXQlMjBzYXlzJTIwaGVsbG8lMjB3b3JsZCUyMiUwQSUyMyUyMERlcGVuZGluZyUyMG9uJTIwdGhlJTIwdmFyaWFudCUyMGJlaW5nJTIwdXNlZCUyQyUyMHRoZSUyMHBpcGVsaW5lJTIwY2FsbCUyMHdpbGwlMjBzbGlnaHRseSUyMHZhcnkuJTBBJTIzJTIwUmVmZXIlMjB0byUyMHRoZSUyMHBpcGVsaW5lJTIwZG9jdW1lbnRhdGlvbiUyMGZvciUyMG1vcmUlMjBkZXRhaWxzLiUwQWltYWdlJTIwJTNEJTIwcGlwZShwcm9tcHQlMkMlMjBudW1faW5mZXJlbmNlX3N0ZXBzJTNENCUyQyUyMGd1aWRhbmNlX3NjYWxlJTNEMC4wKS5pbWFnZXMlNUIwJTVEJTBBaW1hZ2Uuc2F2ZSglMjJxd2VuaW1hZ2UucG5nJTIyKQ==",highlighted:`<span class="hljs-meta">>>> </span><span class="hljs-keyword">import</span> torch | |
| <span class="hljs-meta">>>> </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> QwenImagePipeline | |
| <span class="hljs-meta">>>> </span>pipe = QwenImagePipeline.from_pretrained(<span class="hljs-string">"Qwen/QwenImage-20B"</span>, torch_dtype=torch.bfloat16) | |
| <span class="hljs-meta">>>> </span>pipe.to(<span class="hljs-string">"cuda"</span>) | |
| <span class="hljs-meta">>>> </span>prompt = <span class="hljs-string">"A cat holding a sign that says hello world"</span> | |
| <span class="hljs-meta">>>> </span><span class="hljs-comment"># Depending on the variant being used, the pipeline call will slightly vary.</span> | |
| <span class="hljs-meta">>>> </span><span class="hljs-comment"># Refer to the pipeline documentation for more details.</span> | |
| <span class="hljs-meta">>>> </span>image = pipe(prompt, num_inference_steps=<span class="hljs-number">4</span>, guidance_scale=<span class="hljs-number">0.0</span>).images[<span class="hljs-number">0</span>] | |
| <span class="hljs-meta">>>> </span>image.save(<span class="hljs-string">"qwenimage.png"</span>)`,wrap:!1}}),{c(){a=l("p"),a.textContent=I,m=o(),f(v.$$.fragment)},l(d){a=p(d,"P",{"data-svelte-h":!0}),M(a)!=="svelte-kvfsh7"&&(a.textContent=I),m=i(d),u(v.$$.fragment,d)},m(d,y){g(d,a,y),g(d,m,y),_(v,d,y),$=!0},p:Ve,i(d){$||(h(v.$$.fragment,d),$=!0)},o(d){w(v.$$.fragment,d),$=!1},d(d){d&&(n(a),n(m)),b(v,d)}}}function Fe(A){let a,I,m,v,$,d,y,se,G,ae,r,j,ue,S,qe="The QwenImage pipeline for text-to-image generation.",_e,x,V,he,X,Ce="Function invoked when calling the pipeline for generation.",we,q,be,C,N,ve,F,Le=`Disable sliced VAE decoding. If <code>enable_vae_slicing</code> was previously enabled, this method will go back to | |
| computing decoding in one step.`,$e,L,D,ye,R,Je=`Disable tiled VAE decoding. If <code>enable_vae_tiling</code> was previously enabled, this method will go back to | |
| computing decoding in one step.`,Ie,J,Z,xe,Y,Ee=`Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to | |
| compute decoding in several steps. This is useful to save some memory and allow larger batch sizes.`,Te,E,B,Pe,K,Ue=`Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to | |
| compute decoding and encoding in several steps. This is useful for saving a large amount of memory and to allow | |
| processing larger images.`,Qe,ee,W,oe,O,ie,Q,z,ke,te,Ge="Output class for Stable Diffusion pipelines.",re,H,le,ne,pe;return $=new Me({props:{title:"QwenImage",local:"qwenimage",headingTag:"h1"}}),y=new Oe({props:{$$slots:{default:[Se]},$$scope:{ctx:A}}}),G=new Me({props:{title:"QwenImagePipeline",local:"diffusers.QwenImagePipeline",headingTag:"h2"}}),j=new U({props:{name:"class diffusers.QwenImagePipeline",anchor:"diffusers.QwenImagePipeline",parameters:[{name:"scheduler",val:": FlowMatchEulerDiscreteScheduler"},{name:"vae",val:": AutoencoderKLQwenImage"},{name:"text_encoder",val:": Qwen2_5_VLForConditionalGeneration"},{name:"tokenizer",val:": Qwen2Tokenizer"},{name:"transformer",val:": QwenImageTransformer2DModel"}],parametersDescription:[{anchor:"diffusers.QwenImagePipeline.transformer",description:`<strong>transformer</strong> (<a href="/docs/diffusers/pr_12067/en/api/models/qwenimage_transformer2d#diffusers.QwenImageTransformer2DModel">QwenImageTransformer2DModel</a>) — | |
| Conditional Transformer (MMDiT) architecture to denoise the encoded image latents.`,name:"transformer"},{anchor:"diffusers.QwenImagePipeline.scheduler",description:`<strong>scheduler</strong> (<a href="/docs/diffusers/pr_12067/en/api/schedulers/flow_match_euler_discrete#diffusers.FlowMatchEulerDiscreteScheduler">FlowMatchEulerDiscreteScheduler</a>) — | |
| A scheduler to be used in combination with <code>transformer</code> to denoise the encoded image latents.`,name:"scheduler"},{anchor:"diffusers.QwenImagePipeline.vae",description:`<strong>vae</strong> (<a href="/docs/diffusers/pr_12067/en/api/models/autoencoderkl#diffusers.AutoencoderKL">AutoencoderKL</a>) — | |
| Variational Auto-Encoder (VAE) Model to encode and decode images to and from latent representations.`,name:"vae"},{anchor:"diffusers.QwenImagePipeline.text_encoder",description:`<strong>text_encoder</strong> (<code>Qwen2.5-VL-7B-Instruct</code>) — | |
| <a href="https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct" rel="nofollow">Qwen2.5-VL-7B-Instruct</a>, specifically the | |
| <a href="https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct" rel="nofollow">Qwen2.5-VL-7B-Instruct</a> variant.`,name:"text_encoder"},{anchor:"diffusers.QwenImagePipeline.tokenizer",description:`<strong>tokenizer</strong> (<code>QwenTokenizer</code>) — | |
| Tokenizer of class | |
| <a href="https://huggingface.co/docs/transformers/en/model_doc/clip#transformers.CLIPTokenizer" rel="nofollow">CLIPTokenizer</a>.`,name:"tokenizer"}],source:"https://github.com/huggingface/diffusers/blob/vr_12067/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L131"}}),V=new U({props:{name:"__call__",anchor:"diffusers.QwenImagePipeline.__call__",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]] = None"},{name:"negative_prompt",val:": typing.Union[str, typing.List[str]] = None"},{name:"true_cfg_scale",val:": float = 4.0"},{name:"height",val:": typing.Optional[int] = None"},{name:"width",val:": typing.Optional[int] = None"},{name:"num_inference_steps",val:": int = 50"},{name:"sigmas",val:": typing.Optional[typing.List[float]] = None"},{name:"guidance_scale",val:": float = 1.0"},{name:"num_images_per_prompt",val:": int = 1"},{name:"generator",val:": typing.Union[torch._C.Generator, typing.List[torch._C.Generator], NoneType] = None"},{name:"latents",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_embeds_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"output_type",val:": typing.Optional[str] = 'pil'"},{name:"return_dict",val:": bool = True"},{name:"attention_kwargs",val:": typing.Optional[typing.Dict[str, typing.Any]] = None"},{name:"callback_on_step_end",val:": typing.Optional[typing.Callable[[int, int, typing.Dict], NoneType]] = None"},{name:"callback_on_step_end_tensor_inputs",val:": typing.List[str] = ['latents']"},{name:"max_sequence_length",val:": int = 512"}],parametersDescription:[{anchor:"diffusers.QwenImagePipeline.__call__.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) — | |
| The prompt or prompts to guide the image generation. If not defined, one has to pass <code>prompt_embeds</code>. | |
| instead.`,name:"prompt"},{anchor:"diffusers.QwenImagePipeline.__call__.negative_prompt",description:`<strong>negative_prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) — | |
| 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>true_cfg_scale</code> is | |
| not greater than <code>1</code>).`,name:"negative_prompt"},{anchor:"diffusers.QwenImagePipeline.__call__.true_cfg_scale",description:`<strong>true_cfg_scale</strong> (<code>float</code>, <em>optional</em>, defaults to 1.0) — | |
| When > 1.0 and a provided <code>negative_prompt</code>, enables true classifier-free guidance.`,name:"true_cfg_scale"},{anchor:"diffusers.QwenImagePipeline.__call__.height",description:`<strong>height</strong> (<code>int</code>, <em>optional</em>, defaults to self.unet.config.sample_size * self.vae_scale_factor) — | |
| The height in pixels of the generated image. This is set to 1024 by default for the best results.`,name:"height"},{anchor:"diffusers.QwenImagePipeline.__call__.width",description:`<strong>width</strong> (<code>int</code>, <em>optional</em>, defaults to self.unet.config.sample_size * self.vae_scale_factor) — | |
| The width in pixels of the generated image. This is set to 1024 by default for the best results.`,name:"width"},{anchor:"diffusers.QwenImagePipeline.__call__.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 50) — | |
| The number of denoising steps. More denoising steps usually lead to a higher quality image at the | |
| expense of slower inference.`,name:"num_inference_steps"},{anchor:"diffusers.QwenImagePipeline.__call__.sigmas",description:`<strong>sigmas</strong> (<code>List[float]</code>, <em>optional</em>) — | |
| Custom sigmas to use for the denoising process with schedulers which support a <code>sigmas</code> argument in | |
| their <code>set_timesteps</code> method. If not defined, the default behavior when <code>num_inference_steps</code> is passed | |
| will be used.`,name:"sigmas"},{anchor:"diffusers.QwenImagePipeline.__call__.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, <em>optional</em>, defaults to 3.5) — | |
| Guidance scale as defined in <a href="https://huggingface.co/papers/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://huggingface.co/papers/2205.11487" rel="nofollow">Imagen Paper</a>. Guidance scale is enabled by setting | |
| <code>guidance_scale > 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:"guidance_scale"},{anchor:"diffusers.QwenImagePipeline.__call__.num_images_per_prompt",description:`<strong>num_images_per_prompt</strong> (<code>int</code>, <em>optional</em>, defaults to 1) — | |
| The number of images to generate per prompt.`,name:"num_images_per_prompt"},{anchor:"diffusers.QwenImagePipeline.__call__.generator",description:`<strong>generator</strong> (<code>torch.Generator</code> or <code>List[torch.Generator]</code>, <em>optional</em>) — | |
| 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.QwenImagePipeline.__call__.latents",description:`<strong>latents</strong> (<code>torch.Tensor</code>, <em>optional</em>) — | |
| Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image | |
| generation. Can be used to tweak the same generation with different prompts. If not provided, a latents | |
| tensor will be generated by sampling using the supplied random <code>generator</code>.`,name:"latents"},{anchor:"diffusers.QwenImagePipeline.__call__.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) — | |
| 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.QwenImagePipeline.__call__.negative_prompt_embeds",description:`<strong>negative_prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) — | |
| 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.QwenImagePipeline.__call__.output_type",description:`<strong>output_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>"pil"</code>) — | |
| The output format of the generate 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.QwenImagePipeline.__call__.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) — | |
| Whether or not to return a <code>~pipelines.qwenimage.QwenImagePipelineOutput</code> instead of a plain tuple.`,name:"return_dict"},{anchor:"diffusers.QwenImagePipeline.__call__.attention_kwargs",description:`<strong>attention_kwargs</strong> (<code>dict</code>, <em>optional</em>) — | |
| A kwargs dictionary that if specified is passed along to the <code>AttentionProcessor</code> as defined under | |
| <code>self.processor</code> in | |
| <a href="https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention_processor.py" rel="nofollow">diffusers.models.attention_processor</a>.`,name:"attention_kwargs"},{anchor:"diffusers.QwenImagePipeline.__call__.callback_on_step_end",description:`<strong>callback_on_step_end</strong> (<code>Callable</code>, <em>optional</em>) — | |
| A function that calls at the end of each denoising steps during the inference. The function is called | |
| with the following arguments: <code>callback_on_step_end(self: DiffusionPipeline, step: int, timestep: int, callback_kwargs: Dict)</code>. <code>callback_kwargs</code> will include a list of all tensors as specified by | |
| <code>callback_on_step_end_tensor_inputs</code>.`,name:"callback_on_step_end"},{anchor:"diffusers.QwenImagePipeline.__call__.callback_on_step_end_tensor_inputs",description:`<strong>callback_on_step_end_tensor_inputs</strong> (<code>List</code>, <em>optional</em>) — | |
| The list of tensor inputs for the <code>callback_on_step_end</code> function. The tensors specified in the list | |
| will be passed as <code>callback_kwargs</code> argument. You will only be able to include variables listed in the | |
| <code>._callback_tensor_inputs</code> attribute of your pipeline class.`,name:"callback_on_step_end_tensor_inputs"},{anchor:"diffusers.QwenImagePipeline.__call__.max_sequence_length",description:"<strong>max_sequence_length</strong> (<code>int</code> defaults to 512) — Maximum sequence length to use with the <code>prompt</code>.",name:"max_sequence_length"}],source:"https://github.com/huggingface/diffusers/blob/vr_12067/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L440",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p><code>~pipelines.qwenimage.QwenImagePipelineOutput</code> if <code>return_dict</code> is True, otherwise a <code>tuple</code>. When | |
| returning a tuple, the first element is a list with the generated images.</p> | |
| `,returnType:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p><code>~pipelines.qwenimage.QwenImagePipelineOutput</code> or <code>tuple</code></p> | |
| `}}),q=new He({props:{anchor:"diffusers.QwenImagePipeline.__call__.example",$$slots:{default:[Xe]},$$scope:{ctx:A}}}),N=new U({props:{name:"disable_vae_slicing",anchor:"diffusers.QwenImagePipeline.disable_vae_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12067/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L363"}}),D=new U({props:{name:"disable_vae_tiling",anchor:"diffusers.QwenImagePipeline.disable_vae_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12067/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L378"}}),Z=new U({props:{name:"enable_vae_slicing",anchor:"diffusers.QwenImagePipeline.enable_vae_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12067/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L356"}}),B=new U({props:{name:"enable_vae_tiling",anchor:"diffusers.QwenImagePipeline.enable_vae_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12067/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L370"}}),W=new U({props:{name:"encode_prompt",anchor:"diffusers.QwenImagePipeline.encode_prompt",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]]"},{name:"device",val:": typing.Optional[torch.device] = None"},{name:"num_images_per_prompt",val:": int = 1"},{name:"prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_embeds_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"max_sequence_length",val:": int = 1024"}],parametersDescription:[{anchor:"diffusers.QwenImagePipeline.encode_prompt.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) — | |
| prompt to be encoded`,name:"prompt"},{anchor:"diffusers.QwenImagePipeline.encode_prompt.device",description:`<strong>device</strong> — (<code>torch.device</code>): | |
| torch device`,name:"device"},{anchor:"diffusers.QwenImagePipeline.encode_prompt.num_images_per_prompt",description:`<strong>num_images_per_prompt</strong> (<code>int</code>) — | |
| number of images that should be generated per prompt`,name:"num_images_per_prompt"},{anchor:"diffusers.QwenImagePipeline.encode_prompt.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) — | |
| 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"}],source:"https://github.com/huggingface/diffusers/blob/vr_12067/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L225"}}),O=new Me({props:{title:"QwenImagePipeline",local:"diffusers.pipelines.qwenimage.pipeline_output.QwenImagePipelineOutput",headingTag:"h2"}}),z=new U({props:{name:"class diffusers.pipelines.qwenimage.pipeline_output.QwenImagePipelineOutput",anchor:"diffusers.pipelines.qwenimage.pipeline_output.QwenImagePipelineOutput",parameters:[{name:"images",val:": typing.Union[typing.List[PIL.Image.Image], numpy.ndarray]"}],parametersDescription:[{anchor:"diffusers.pipelines.qwenimage.pipeline_output.QwenImagePipelineOutput.images",description:`<strong>images</strong> (<code>List[PIL.Image.Image]</code> or <code>np.ndarray</code>) — | |
| List of denoised PIL images of length <code>batch_size</code> or numpy array of shape <code>(batch_size, height, width, num_channels)</code>. PIL images or numpy array present the denoised images of the diffusion pipeline.`,name:"images"}],source:"https://github.com/huggingface/diffusers/blob/vr_12067/src/diffusers/pipelines/qwenimage/pipeline_output.py#L10"}}),H=new Ae({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/pipelines/qwenimage.md"}}),{c(){a=l("meta"),I=o(),m=l("p"),v=o(),f($.$$.fragment),d=o(),f(y.$$.fragment),se=o(),f(G.$$.fragment),ae=o(),r=l("div"),f(j.$$.fragment),ue=o(),S=l("p"),S.textContent=qe,_e=o(),x=l("div"),f(V.$$.fragment),he=o(),X=l("p"),X.textContent=Ce,we=o(),f(q.$$.fragment),be=o(),C=l("div"),f(N.$$.fragment),ve=o(),F=l("p"),F.innerHTML=Le,$e=o(),L=l("div"),f(D.$$.fragment),ye=o(),R=l("p"),R.innerHTML=Je,Ie=o(),J=l("div"),f(Z.$$.fragment),xe=o(),Y=l("p"),Y.textContent=Ee,Te=o(),E=l("div"),f(B.$$.fragment),Pe=o(),K=l("p"),K.textContent=Ue,Qe=o(),ee=l("div"),f(W.$$.fragment),oe=o(),f(O.$$.fragment),ie=o(),Q=l("div"),f(z.$$.fragment),ke=o(),te=l("p"),te.textContent=Ge,re=o(),f(H.$$.fragment),le=o(),ne=l("p"),this.h()},l(e){const s=We("svelte-u9bgzb",document.head);a=p(s,"META",{name:!0,content:!0}),s.forEach(n),I=i(e),m=p(e,"P",{}),T(m).forEach(n),v=i(e),u($.$$.fragment,e),d=i(e),u(y.$$.fragment,e),se=i(e),u(G.$$.fragment,e),ae=i(e),r=p(e,"DIV",{class:!0});var c=T(r);u(j.$$.fragment,c),ue=i(c),S=p(c,"P",{"data-svelte-h":!0}),M(S)!=="svelte-1b1rx25"&&(S.textContent=qe),_e=i(c),x=p(c,"DIV",{class:!0});var k=T(x);u(V.$$.fragment,k),he=i(k),X=p(k,"P",{"data-svelte-h":!0}),M(X)!=="svelte-v78lg8"&&(X.textContent=Ce),we=i(k),u(q.$$.fragment,k),k.forEach(n),be=i(c),C=p(c,"DIV",{class:!0});var de=T(C);u(N.$$.fragment,de),ve=i(de),F=p(de,"P",{"data-svelte-h":!0}),M(F)!=="svelte-1s3c06i"&&(F.innerHTML=Le),de.forEach(n),$e=i(c),L=p(c,"DIV",{class:!0});var ce=T(L);u(D.$$.fragment,ce),ye=i(ce),R=p(ce,"P",{"data-svelte-h":!0}),M(R)!=="svelte-pkn4ui"&&(R.innerHTML=Je),ce.forEach(n),Ie=i(c),J=p(c,"DIV",{class:!0});var me=T(J);u(Z.$$.fragment,me),xe=i(me),Y=p(me,"P",{"data-svelte-h":!0}),M(Y)!=="svelte-14bnrb6"&&(Y.textContent=Ee),me.forEach(n),Te=i(c),E=p(c,"DIV",{class:!0});var ge=T(E);u(B.$$.fragment,ge),Pe=i(ge),K=p(ge,"P",{"data-svelte-h":!0}),M(K)!=="svelte-1xwrf7t"&&(K.textContent=Ue),ge.forEach(n),Qe=i(c),ee=p(c,"DIV",{class:!0});var je=T(ee);u(W.$$.fragment,je),je.forEach(n),c.forEach(n),oe=i(e),u(O.$$.fragment,e),ie=i(e),Q=p(e,"DIV",{class:!0});var fe=T(Q);u(z.$$.fragment,fe),ke=i(fe),te=p(fe,"P",{"data-svelte-h":!0}),M(te)!=="svelte-1qpjiuf"&&(te.textContent=Ge),fe.forEach(n),re=i(e),u(H.$$.fragment,e),le=i(e),ne=p(e,"P",{}),T(ne).forEach(n),this.h()},h(){P(a,"name","hf:doc:metadata"),P(a,"content",Re),P(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(r,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(Q,"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,s){t(document.head,a),g(e,I,s),g(e,m,s),g(e,v,s),_($,e,s),g(e,d,s),_(y,e,s),g(e,se,s),_(G,e,s),g(e,ae,s),g(e,r,s),_(j,r,null),t(r,ue),t(r,S),t(r,_e),t(r,x),_(V,x,null),t(x,he),t(x,X),t(x,we),_(q,x,null),t(r,be),t(r,C),_(N,C,null),t(C,ve),t(C,F),t(r,$e),t(r,L),_(D,L,null),t(L,ye),t(L,R),t(r,Ie),t(r,J),_(Z,J,null),t(J,xe),t(J,Y),t(r,Te),t(r,E),_(B,E,null),t(E,Pe),t(E,K),t(r,Qe),t(r,ee),_(W,ee,null),g(e,oe,s),_(O,e,s),g(e,ie,s),g(e,Q,s),_(z,Q,null),t(Q,ke),t(Q,te),g(e,re,s),_(H,e,s),g(e,le,s),g(e,ne,s),pe=!0},p(e,[s]){const c={};s&2&&(c.$$scope={dirty:s,ctx:e}),y.$set(c);const k={};s&2&&(k.$$scope={dirty:s,ctx:e}),q.$set(k)},i(e){pe||(h($.$$.fragment,e),h(y.$$.fragment,e),h(G.$$.fragment,e),h(j.$$.fragment,e),h(V.$$.fragment,e),h(q.$$.fragment,e),h(N.$$.fragment,e),h(D.$$.fragment,e),h(Z.$$.fragment,e),h(B.$$.fragment,e),h(W.$$.fragment,e),h(O.$$.fragment,e),h(z.$$.fragment,e),h(H.$$.fragment,e),pe=!0)},o(e){w($.$$.fragment,e),w(y.$$.fragment,e),w(G.$$.fragment,e),w(j.$$.fragment,e),w(V.$$.fragment,e),w(q.$$.fragment,e),w(N.$$.fragment,e),w(D.$$.fragment,e),w(Z.$$.fragment,e),w(B.$$.fragment,e),w(W.$$.fragment,e),w(O.$$.fragment,e),w(z.$$.fragment,e),w(H.$$.fragment,e),pe=!1},d(e){e&&(n(I),n(m),n(v),n(d),n(se),n(ae),n(r),n(oe),n(ie),n(Q),n(re),n(le),n(ne)),n(a),b($,e),b(y,e),b(G,e),b(j),b(V),b(q),b(N),b(D),b(Z),b(B),b(W),b(O,e),b(z),b(H,e)}}}const Re='{"title":"QwenImage","local":"qwenimage","sections":[{"title":"QwenImagePipeline","local":"diffusers.QwenImagePipeline","sections":[],"depth":2},{"title":"QwenImagePipeline","local":"diffusers.pipelines.qwenimage.pipeline_output.QwenImagePipelineOutput","sections":[],"depth":2}],"depth":1}';function Ye(A){return De(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class it extends Ze{constructor(a){super(),Be(this,a,Ye,Fe,Ne,{})}}export{it as component}; | |
Xet Storage Details
- Size:
- 25.6 kB
- Xet hash:
- 003081df70931b537eca5529167230ff505f26e6f121171be5e25865bff486bc
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.