import{s as se,n as te,o as ne}from"../chunks/scheduler.23542ac5.js";import{S as ae,i as pe,e as p,s as n,c as i,h as oe,a as o,d as s,b as a,f as le,g as u,j as T,k as ee,l as ie,m as t,n as M,t as J,o as b,p as m}from"../chunks/index.9b1f405b.js";import{C as ue,H as O,E as Me}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.f1623902.js";import{C as r}from"../chunks/CodeBlock.e697091a.js";import{D as Je}from"../chunks/DocNotebookDropdown.68a629d2.js";function be(Xl){let c,ll,P,el,y,sl,h,tl,w,nl,d,Rl="🤗 Diffusers는 모델, 스케줄러 또는 파이프라인을 Hub에 업로드할 수 있는 <code>PushToHubMixin</code>을 제공합니다. 이는 Hub에 당신의 파일을 저장하는 쉬운 방법이며, 다른 사람들과 작업을 공유할 수도 있습니다. 실제적으로 <code>PushToHubMixin</code>가 동작하는 방식은 다음과 같습니다:",al,f,Wl="<li>Hub에 리포지토리를 생성합니다.</li> <li>나중에 다시 불러올 수 있도록 모델, 스케줄러 또는 파이프라인 파일을 저장합니다.</li> <li>이러한 파일이 포함된 폴더를 Hub에 업로드합니다.</li>",pl,j,Nl="이 가이드는 <code>PushToHubMixin</code>을 사용하여 Hub에 파일을 업로드하는 방법을 보여줍니다.",ol,I,xl='먼저 액세스 <a href="https://huggingface.co/settings/tokens" rel="nofollow">토큰</a>으로 Hub 계정에 로그인해야 합니다:',il,U,ul,_,Ml,$,Yl="모델을 허브에 푸시하려면 <code>push_to_hub()</code>를 호출하고 Hub에 저장할 모델의 리포지토리 id를 지정합니다:",Jl,k,bl,B,Hl='모델의 경우 Hub에 푸시할 가중치의 <a href="loading#checkpoint-variants"><em>변형</em></a>을 지정할 수도 있습니다. 예를 들어, <code>fp16</code> 가중치를 푸시하려면 다음과 같이 하세요:',ml,Z,Tl,g,Ql="<code>push_to_hub()</code> 함수는 모델의 <code>config.json</code> 파일을 저장하고 가중치는 <code>safetensors</code> 형식으로 자동으로 저장됩니다.",rl,C,zl="이제 Hub의 리포지토리에서 모델을 다시 불러올 수 있습니다:",cl,G,yl,V,hl,v,Sl="스케줄러를 허브에 푸시하려면 <code>push_to_hub()</code>를 호출하고 Hub에 저장할 스케줄러의 리포지토리 id를 지정합니다:",wl,E,dl,D,ql="<code>push_to_hub()</code> 함수는 스케줄러의 <code>scheduler_config.json</code> 파일을 지정된 리포지토리에 저장합니다.",fl,X,Al="이제 허브의 리포지토리에서 스케줄러를 다시 불러올 수 있습니다:",jl,R,Il,W,Ul,N,Fl="모든 컴포넌트가 포함된 전체 파이프라인을 Hub로 푸시할 수도 있습니다. 예를 들어, 원하는 파라미터로 <code>StableDiffusionPipeline</code>의 컴포넌트들을 초기화합니다:",_l,x,$l,Y,Ll="모든 컴포넌트들을 <code>StableDiffusionPipeline</code>에 전달하고 <code>push_to_hub()</code>를 호출하여 파이프라인을 Hub로 푸시합니다:",kl,H,Bl,Q,Pl="<code>push_to_hub()</code> 함수는 각 컴포넌트를 리포지토리의 하위 폴더에 저장합니다. 이제 Hub의 리포지토리에서 파이프라인을 다시 불러올 수 있습니다:",Zl,z,gl,S,Cl,q,Kl="모델, 스케줄러 또는 파이프라인 파일들을 비공개로 두려면 <code>push_to_hub()</code> 함수에서 <code>private=True</code>를 설정하세요:",Gl,A,Vl,F,Ol='비공개 리포지토리는 본인만 볼 수 있으며 다른 사용자는 리포지토리를 복제할 수 없고 리포지토리가 검색 결과에 표시되지 않습니다. 사용자가 비공개 리포지토리의 URL을 가지고 있더라도 <code>404 - Sorry, we can&#39;t find the page you are looking for</code>라는 메시지가 표시됩니다. 비공개 리포지토리에서 모델을 로드하려면 <a href="https://huggingface.co/docs/huggingface_hub/quick-start#login" rel="nofollow">로그인</a> 상태여야 합니다.',vl,L,El,K,Dl;return y=new ue({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),h=new Je({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;",options:[{label:"Mixed",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers_doc/ko/push_to_hub.ipynb"},{label:"PyTorch",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers_doc/ko/pytorch/push_to_hub.ipynb"},{label:"TensorFlow",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers_doc/ko/tensorflow/push_to_hub.ipynb"},{label:"Mixed",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/diffusers_doc/ko/push_to_hub.ipynb"},{label:"PyTorch",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/diffusers_doc/ko/pytorch/push_to_hub.ipynb"},{label:"TensorFlow",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/diffusers_doc/ko/tensorflow/push_to_hub.ipynb"}]}}),w=new O({props:{title:"파일들을 Hub로 푸시하기",local:"파일들을-hub로-푸시하기",headingTag:"h1"}}),U=new r({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMG5vdGVib29rX2xvZ2luJTBBJTBBbm90ZWJvb2tfbG9naW4oKQ==",highlighted:`<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> notebook_login

notebook_login()`,wrap:!1}}),_=new O({props:{title:"모델",local:"모델",headingTag:"h2"}}),k=new r({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMENvbnRyb2xOZXRNb2RlbCUwQSUwQWNvbnRyb2xuZXQlMjAlM0QlMjBDb250cm9sTmV0TW9kZWwoJTBBJTIwJTIwJTIwJTIwYmxvY2tfb3V0X2NoYW5uZWxzJTNEKDMyJTJDJTIwNjQpJTJDJTBBJTIwJTIwJTIwJTIwbGF5ZXJzX3Blcl9ibG9jayUzRDIlMkMlMEElMjAlMjAlMjAlMjBpbl9jaGFubmVscyUzRDQlMkMlMEElMjAlMjAlMjAlMjBkb3duX2Jsb2NrX3R5cGVzJTNEKCUyMkRvd25CbG9jazJEJTIyJTJDJTIwJTIyQ3Jvc3NBdHRuRG93bkJsb2NrMkQlMjIpJTJDJTBBJTIwJTIwJTIwJTIwY3Jvc3NfYXR0ZW50aW9uX2RpbSUzRDMyJTJDJTBBJTIwJTIwJTIwJTIwY29uZGl0aW9uaW5nX2VtYmVkZGluZ19vdXRfY2hhbm5lbHMlM0QoMTYlMkMlMjAzMiklMkMlMEEpJTBBY29udHJvbG5ldC5wdXNoX3RvX2h1YiglMjJteS1jb250cm9sbmV0LW1vZGVsJTIyKQ==",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> ControlNetModel

controlnet = ControlNetModel(
    block_out_channels=(<span class="hljs-number">32</span>, <span class="hljs-number">64</span>),
    layers_per_block=<span class="hljs-number">2</span>,
    in_channels=<span class="hljs-number">4</span>,
    down_block_types=(<span class="hljs-string">&quot;DownBlock2D&quot;</span>, <span class="hljs-string">&quot;CrossAttnDownBlock2D&quot;</span>),
    cross_attention_dim=<span class="hljs-number">32</span>,
    conditioning_embedding_out_channels=(<span class="hljs-number">16</span>, <span class="hljs-number">32</span>),
)
controlnet.push_to_hub(<span class="hljs-string">&quot;my-controlnet-model&quot;</span>)`,wrap:!1}}),Z=new r({props:{code:"Y29udHJvbG5ldC5wdXNoX3RvX2h1YiglMjJteS1jb250cm9sbmV0LW1vZGVsJTIyJTJDJTIwdmFyaWFudCUzRCUyMmZwMTYlMjIp",highlighted:'controlnet.push_to_hub(<span class="hljs-string">&quot;my-controlnet-model&quot;</span>, variant=<span class="hljs-string">&quot;fp16&quot;</span>)',wrap:!1}}),G=new r({props:{code:"bW9kZWwlMjAlM0QlMjBDb250cm9sTmV0TW9kZWwuZnJvbV9wcmV0cmFpbmVkKCUyMnlvdXItbmFtZXNwYWNlJTJGbXktY29udHJvbG5ldC1tb2RlbCUyMik=",highlighted:'model = ControlNetModel.from_pretrained(<span class="hljs-string">&quot;your-namespace/my-controlnet-model&quot;</span>)',wrap:!1}}),V=new O({props:{title:"스케줄러",local:"스케줄러",headingTag:"h2"}}),E=new r({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMERESU1TY2hlZHVsZXIlMEElMEFzY2hlZHVsZXIlMjAlM0QlMjBERElNU2NoZWR1bGVyKCUwQSUyMCUyMCUyMCUyMGJldGFfc3RhcnQlM0QwLjAwMDg1JTJDJTBBJTIwJTIwJTIwJTIwYmV0YV9lbmQlM0QwLjAxMiUyQyUwQSUyMCUyMCUyMCUyMGJldGFfc2NoZWR1bGUlM0QlMjJzY2FsZWRfbGluZWFyJTIyJTJDJTBBJTIwJTIwJTIwJTIwY2xpcF9zYW1wbGUlM0RGYWxzZSUyQyUwQSUyMCUyMCUyMCUyMHNldF9hbHBoYV90b19vbmUlM0RGYWxzZSUyQyUwQSklMEFzY2hlZHVsZXIucHVzaF90b19odWIoJTIybXktY29udHJvbG5ldC1zY2hlZHVsZXIlMjIp",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DDIMScheduler

scheduler = DDIMScheduler(
    beta_start=<span class="hljs-number">0.00085</span>,
    beta_end=<span class="hljs-number">0.012</span>,
    beta_schedule=<span class="hljs-string">&quot;scaled_linear&quot;</span>,
    clip_sample=<span class="hljs-literal">False</span>,
    set_alpha_to_one=<span class="hljs-literal">False</span>,
)
scheduler.push_to_hub(<span class="hljs-string">&quot;my-controlnet-scheduler&quot;</span>)`,wrap:!1}}),R=new r({props:{code:"c2NoZWR1bGVyJTIwJTNEJTIwRERJTVNjaGVkdWxlci5mcm9tX3ByZXRyYWluZWQoJTIyeW91ci1uYW1lcHNhY2UlMkZteS1jb250cm9sbmV0LXNjaGVkdWxlciUyMik=",highlighted:'scheduler = DDIMScheduler.from_pretrained(<span class="hljs-string">&quot;your-namepsace/my-controlnet-scheduler&quot;</span>)',wrap:!1}}),W=new O({props:{title:"파이프라인",local:"파이프라인",headingTag:"h2"}}),x=new r({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMCglMEElMjAlMj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jBudW1faGlkZGVuX2xheWVycyUzRDUlMkMlMEElMjAlMjAlMjAlMjBwYWRfdG9rZW5faWQlM0QxJTJDJTBBJTIwJTIwJTIwJTIwdm9jYWJfc2l6ZSUzRDEwMDAlMkMlMEEpJTBBdGV4dF9lbmNvZGVyJTIwJTNEJTIwQ0xJUFRleHRNb2RlbCh0ZXh0X2VuY29kZXJfY29uZmlnKSUwQXRva2VuaXplciUyMCUzRCUyMENMSVBUb2tlbml6ZXIuZnJvbV9wcmV0cmFpbmVkKCUyMmhmLWludGVybmFsLXRlc3RpbmclMkZ0aW55LXJhbmRvbS1jbGlwJTIyKQ==",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> (
    UNet2DConditionModel,
    AutoencoderKL,
    DDIMScheduler,
    StableDiffusionPipeline,
)
<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> CLIPTextModel, CLIPTextConfig, CLIPTokenizer

unet = UNet2DConditionModel(
    block_out_channels=(<span class="hljs-number">32</span>, <span class="hljs-number">64</span>),
    layers_per_block=<span class="hljs-number">2</span>,
    sample_size=<span class="hljs-number">32</span>,
    in_channels=<span class="hljs-number">4</span>,
    out_channels=<span class="hljs-number">4</span>,
    down_block_types=(<span class="hljs-string">&quot;DownBlock2D&quot;</span>, <span class="hljs-string">&quot;CrossAttnDownBlock2D&quot;</span>),
    up_block_types=(<span class="hljs-string">&quot;CrossAttnUpBlock2D&quot;</span>, <span class="hljs-string">&quot;UpBlock2D&quot;</span>),
    cross_attention_dim=<span class="hljs-number">32</span>,
)

scheduler = DDIMScheduler(
    beta_start=<span class="hljs-number">0.00085</span>,
    beta_end=<span class="hljs-number">0.012</span>,
    beta_schedule=<span class="hljs-string">&quot;scaled_linear&quot;</span>,
    clip_sample=<span class="hljs-literal">False</span>,
    set_alpha_to_one=<span class="hljs-literal">False</span>,
)

vae = AutoencoderKL(
    block_out_channels=[<span class="hljs-number">32</span>, <span class="hljs-number">64</span>],
    in_channels=<span class="hljs-number">3</span>,
    out_channels=<span class="hljs-number">3</span>,
    down_block_types=[<span class="hljs-string">&quot;DownEncoderBlock2D&quot;</span>, <span class="hljs-string">&quot;DownEncoderBlock2D&quot;</span>],
    up_block_types=[<span class="hljs-string">&quot;UpDecoderBlock2D&quot;</span>, <span class="hljs-string">&quot;UpDecoderBlock2D&quot;</span>],
    latent_channels=<span class="hljs-number">4</span>,
)

text_encoder_config = CLIPTextConfig(
    bos_token_id=<span class="hljs-number">0</span>,
    eos_token_id=<span class="hljs-number">2</span>,
    hidden_size=<span class="hljs-number">32</span>,
    intermediate_size=<span class="hljs-number">37</span>,
    layer_norm_eps=<span class="hljs-number">1e-05</span>,
    num_attention_heads=<span class="hljs-number">4</span>,
    num_hidden_layers=<span class="hljs-number">5</span>,
    pad_token_id=<span class="hljs-number">1</span>,
    vocab_size=<span class="hljs-number">1000</span>,
)
text_encoder = CLIPTextModel(text_encoder_config)
tokenizer = CLIPTokenizer.from_pretrained(<span class="hljs-string">&quot;hf-internal-testing/tiny-random-clip&quot;</span>)`,wrap:!1}}),H=new r({props:{code:"Y29tcG9uZW50cyUyMCUzRCUyMCU3QiUwQSUyMCUyMCUyMCUyMCUyMnVuZXQlMjIlM0ElMjB1bmV0JTJDJTBBJTIwJTIwJTIwJTIwJTIyc2NoZWR1bGVyJTIyJTNBJTIwc2NoZWR1bGVyJTJDJTBBJTIwJTIwJTIwJTIwJTIydmFlJTIyJTNBJTIwdmFlJTJDJTBBJTIwJTIwJTIwJTIwJTIydGV4dF9lbmNvZGVyJTIyJTNBJTIwdGV4dF9lbmNvZGVyJTJDJTBBJTIwJTIwJTIwJTIwJTIydG9rZW5pemVyJTIyJTNBJTIwdG9rZW5pemVyJTJDJTBBJTIwJTIwJTIwJTIwJTIyc2FmZXR5X2NoZWNrZXIlMjIlM0ElMjBOb25lJTJDJTBBJTIwJTIwJTIwJTIwJTIyZmVhdHVyZV9leHRyYWN0b3IlMjIlM0ElMjBOb25lJTJDJTBBJTdEJTBBJTBBcGlwZWxpbmUlMjAlM0QlMjBTdGFibGVEaWZmdXNpb25QaXBlbGluZSgqKmNvbXBvbmVudHMpJTBBcGlwZWxpbmUucHVzaF90b19odWIoJTIybXktcGlwZWxpbmUlMjIp",highlighted:`components = {
    <span class="hljs-string">&quot;unet&quot;</span>: unet,
    <span class="hljs-string">&quot;scheduler&quot;</span>: scheduler,
    <span class="hljs-string">&quot;vae&quot;</span>: vae,
    <span class="hljs-string">&quot;text_encoder&quot;</span>: text_encoder,
    <span class="hljs-string">&quot;tokenizer&quot;</span>: tokenizer,
    <span class="hljs-string">&quot;safety_checker&quot;</span>: <span class="hljs-literal">None</span>,
    <span class="hljs-string">&quot;feature_extractor&quot;</span>: <span class="hljs-literal">None</span>,
}

pipeline = StableDiffusionPipeline(**components)
pipeline.push_to_hub(<span class="hljs-string">&quot;my-pipeline&quot;</span>)`,wrap:!1}}),z=new r({props:{code:"cGlwZWxpbmUlMjAlM0QlMjBTdGFibGVEaWZmdXNpb25QaXBlbGluZS5mcm9tX3ByZXRyYWluZWQoJTIyeW91ci1uYW1lc3BhY2UlMkZteS1waXBlbGluZSUyMik=",highlighted:'pipeline = StableDiffusionPipeline.from_pretrained(<span class="hljs-string">&quot;your-namespace/my-pipeline&quot;</span>)',wrap:!1}}),S=new O({props:{title:"비공개",local:"비공개",headingTag:"h2"}}),A=new r({props:{code:"Y29udHJvbG5ldC5wdXNoX3RvX2h1YiglMjJteS1jb250cm9sbmV0LW1vZGVsLXByaXZhdGUlMjIlMkMlMjBwcml2YXRlJTNEVHJ1ZSk=",highlighted:'controlnet.push_to_hub(<span class="hljs-string">&quot;my-controlnet-model-private&quot;</span>, private=<span class="hljs-literal">True</span>)',wrap:!1}}),L=new Me({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/ko/using-diffusers/push_to_hub.md"}}),{c(){c=p("meta"),ll=n(),P=p("p"),el=n(),i(y.$$.fragment),sl=n(),i(h.$$.fragment),tl=n(),i(w.$$.fragment),nl=n(),d=p("p"),d.innerHTML=Rl,al=n(),f=p("ol"),f.innerHTML=Wl,pl=n(),j=p("p"),j.innerHTML=Nl,ol=n(),I=p("p"),I.innerHTML=xl,il=n(),i(U.$$.fragment),ul=n(),i(_.$$.fragment),Ml=n(),$=p("p"),$.innerHTML=Yl,Jl=n(),i(k.$$.fragment),bl=n(),B=p("p"),B.innerHTML=Hl,ml=n(),i(Z.$$.fragment),Tl=n(),g=p("p"),g.innerHTML=Ql,rl=n(),C=p("p"),C.textContent=zl,cl=n(),i(G.$$.fragment),yl=n(),i(V.$$.fragment),hl=n(),v=p("p"),v.innerHTML=Sl,wl=n(),i(E.$$.fragment),dl=n(),D=p("p"),D.innerHTML=ql,fl=n(),X=p("p"),X.textContent=Al,jl=n(),i(R.$$.fragment),Il=n(),i(W.$$.fragment),Ul=n(),N=p("p"),N.innerHTML=Fl,_l=n(),i(x.$$.fragment),$l=n(),Y=p("p"),Y.innerHTML=Ll,kl=n(),i(H.$$.fragment),Bl=n(),Q=p("p"),Q.innerHTML=Pl,Zl=n(),i(z.$$.fragment),gl=n(),i(S.$$.fragment),Cl=n(),q=p("p"),q.innerHTML=Kl,Gl=n(),i(A.$$.fragment),Vl=n(),F=p("p"),F.innerHTML=Ol,vl=n(),i(L.$$.fragment),El=n(),K=p("p"),this.h()},l(l){const e=oe("svelte-u9bgzb",document.head);c=o(e,"META",{name:!0,content:!0}),e.forEach(s),ll=a(l),P=o(l,"P",{}),le(P).forEach(s),el=a(l),u(y.$$.fragment,l),sl=a(l),u(h.$$.fragment,l),tl=a(l),u(w.$$.fragment,l),nl=a(l),d=o(l,"P",{"data-svelte-h":!0}),T(d)!=="svelte-so5cag"&&(d.innerHTML=Rl),al=a(l),f=o(l,"OL",{"data-svelte-h":!0}),T(f)!=="svelte-j2yhm2"&&(f.innerHTML=Wl),pl=a(l),j=o(l,"P",{"data-svelte-h":!0}),T(j)!=="svelte-1pfnmpm"&&(j.innerHTML=Nl),ol=a(l),I=o(l,"P",{"data-svelte-h":!0}),T(I)!=="svelte-1n1ep3"&&(I.innerHTML=xl),il=a(l),u(U.$$.fragment,l),ul=a(l),u(_.$$.fragment,l),Ml=a(l),$=o(l,"P",{"data-svelte-h":!0}),T($)!=="svelte-9tv3th"&&($.innerHTML=Yl),Jl=a(l),u(k.$$.fragment,l),bl=a(l),B=o(l,"P",{"data-svelte-h":!0}),T(B)!=="svelte-1qrngu6"&&(B.innerHTML=Hl),ml=a(l),u(Z.$$.fragment,l),Tl=a(l),g=o(l,"P",{"data-svelte-h":!0}),T(g)!=="svelte-1i0yt7m"&&(g.innerHTML=Ql),rl=a(l),C=o(l,"P",{"data-svelte-h":!0}),T(C)!=="svelte-1pbx7a0"&&(C.textContent=zl),cl=a(l),u(G.$$.fragment,l),yl=a(l),u(V.$$.fragment,l),hl=a(l),v=o(l,"P",{"data-svelte-h":!0}),T(v)!=="svelte-vb4ud9"&&(v.innerHTML=Sl),wl=a(l),u(E.$$.fragment,l),dl=a(l),D=o(l,"P",{"data-svelte-h":!0}),T(D)!=="svelte-1jeyyqs"&&(D.innerHTML=ql),fl=a(l),X=o(l,"P",{"data-svelte-h":!0}),T(X)!=="svelte-n51sr"&&(X.textContent=Al),jl=a(l),u(R.$$.fragment,l),Il=a(l),u(W.$$.fragment,l),Ul=a(l),N=o(l,"P",{"data-svelte-h":!0}),T(N)!=="svelte-uug2kc"&&(N.innerHTML=Fl),_l=a(l),u(x.$$.fragment,l),$l=a(l),Y=o(l,"P",{"data-svelte-h":!0}),T(Y)!=="svelte-1n5f0xn"&&(Y.innerHTML=Ll),kl=a(l),u(H.$$.fragment,l),Bl=a(l),Q=o(l,"P",{"data-svelte-h":!0}),T(Q)!=="svelte-oumvyd"&&(Q.innerHTML=Pl),Zl=a(l),u(z.$$.fragment,l),gl=a(l),u(S.$$.fragment,l),Cl=a(l),q=o(l,"P",{"data-svelte-h":!0}),T(q)!=="svelte-1b15r1v"&&(q.innerHTML=Kl),Gl=a(l),u(A.$$.fragment,l),Vl=a(l),F=o(l,"P",{"data-svelte-h":!0}),T(F)!=="svelte-ixi250"&&(F.innerHTML=Ol),vl=a(l),u(L.$$.fragment,l),El=a(l),K=o(l,"P",{}),le(K).forEach(s),this.h()},h(){ee(c,"name","hf:doc:metadata"),ee(c,"content",me)},m(l,e){ie(document.head,c),t(l,ll,e),t(l,P,e),t(l,el,e),M(y,l,e),t(l,sl,e),M(h,l,e),t(l,tl,e),M(w,l,e),t(l,nl,e),t(l,d,e),t(l,al,e),t(l,f,e),t(l,pl,e),t(l,j,e),t(l,ol,e),t(l,I,e),t(l,il,e),M(U,l,e),t(l,ul,e),M(_,l,e),t(l,Ml,e),t(l,$,e),t(l,Jl,e),M(k,l,e),t(l,bl,e),t(l,B,e),t(l,ml,e),M(Z,l,e),t(l,Tl,e),t(l,g,e),t(l,rl,e),t(l,C,e),t(l,cl,e),M(G,l,e),t(l,yl,e),M(V,l,e),t(l,hl,e),t(l,v,e),t(l,wl,e),M(E,l,e),t(l,dl,e),t(l,D,e),t(l,fl,e),t(l,X,e),t(l,jl,e),M(R,l,e),t(l,Il,e),M(W,l,e),t(l,Ul,e),t(l,N,e),t(l,_l,e),M(x,l,e),t(l,$l,e),t(l,Y,e),t(l,kl,e),M(H,l,e),t(l,Bl,e),t(l,Q,e),t(l,Zl,e),M(z,l,e),t(l,gl,e),M(S,l,e),t(l,Cl,e),t(l,q,e),t(l,Gl,e),M(A,l,e),t(l,Vl,e),t(l,F,e),t(l,vl,e),M(L,l,e),t(l,El,e),t(l,K,e),Dl=!0},p:te,i(l){Dl||(J(y.$$.fragment,l),J(h.$$.fragment,l),J(w.$$.fragment,l),J(U.$$.fragment,l),J(_.$$.fragment,l),J(k.$$.fragment,l),J(Z.$$.fragment,l),J(G.$$.fragment,l),J(V.$$.fragment,l),J(E.$$.fragment,l),J(R.$$.fragment,l),J(W.$$.fragment,l),J(x.$$.fragment,l),J(H.$$.fragment,l),J(z.$$.fragment,l),J(S.$$.fragment,l),J(A.$$.fragment,l),J(L.$$.fragment,l),Dl=!0)},o(l){b(y.$$.fragment,l),b(h.$$.fragment,l),b(w.$$.fragment,l),b(U.$$.fragment,l),b(_.$$.fragment,l),b(k.$$.fragment,l),b(Z.$$.fragment,l),b(G.$$.fragment,l),b(V.$$.fragment,l),b(E.$$.fragment,l),b(R.$$.fragment,l),b(W.$$.fragment,l),b(x.$$.fragment,l),b(H.$$.fragment,l),b(z.$$.fragment,l),b(S.$$.fragment,l),b(A.$$.fragment,l),b(L.$$.fragment,l),Dl=!1},d(l){l&&(s(ll),s(P),s(el),s(sl),s(tl),s(nl),s(d),s(al),s(f),s(pl),s(j),s(ol),s(I),s(il),s(ul),s(Ml),s($),s(Jl),s(bl),s(B),s(ml),s(Tl),s(g),s(rl),s(C),s(cl),s(yl),s(hl),s(v),s(wl),s(dl),s(D),s(fl),s(X),s(jl),s(Il),s(Ul),s(N),s(_l),s($l),s(Y),s(kl),s(Bl),s(Q),s(Zl),s(gl),s(Cl),s(q),s(Gl),s(Vl),s(F),s(vl),s(El),s(K)),s(c),m(y,l),m(h,l),m(w,l),m(U,l),m(_,l),m(k,l),m(Z,l),m(G,l),m(V,l),m(E,l),m(R,l),m(W,l),m(x,l),m(H,l),m(z,l),m(S,l),m(A,l),m(L,l)}}}const me='{"title":"파일들을 Hub로 푸시하기","local":"파일들을-hub로-푸시하기","sections":[{"title":"모델","local":"모델","sections":[],"depth":2},{"title":"스케줄러","local":"스케줄러","sections":[],"depth":2},{"title":"파이프라인","local":"파이프라인","sections":[],"depth":2},{"title":"비공개","local":"비공개","sections":[],"depth":2}],"depth":1}';function Te(Xl){return ne(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class de extends ae{constructor(c){super(),pe(this,c,Te,be,se,{})}}export{de as component};
