import{s as Dt,n as Kt,o as el}from"../chunks/scheduler.0cf4ef2e.js";import{S as tl,i as ll,e as s,s as i,c as r,h as nl,a as o,d as l,b as a,f as qt,g as f,j as p,k as Ot,l as il,m as n,n as u,t as c,o as m,p as h}from"../chunks/index.abc433bf.js";import{C as al}from"../chunks/CopyLLMTxtMenu.efc6b005.js";import{C as d}from"../chunks/CodeBlock.00dcd05e.js";import{H as g,E as sl}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.86d448e2.js";function ol(Mt){let $,be,$e,we,y,Me,b,ve,w,vt="Before you start, you will need to set up your environment by installing the appropriate packages.",xe,M,xt="<code>huggingface_hub</code> is tested on <strong>Python 3.9+</strong>.",Te,v,Ce,x,Tt=`It is highly recommended to install <code>huggingface_hub</code> in a <a href="https://docs.python.org/3/library/venv.html" rel="nofollow">virtual environment</a>.
If you are unfamiliar with Python virtual environments, take a look at this <a href="https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/" rel="nofollow">guide</a>.
A virtual environment makes it easier to manage different projects, and avoid compatibility issues between dependencies.`,_e,T,Ct="Start by creating a virtual environment in your project directory:",ke,C,He,_,_t="Activate the virtual environment. On Linux and macOS:",Je,k,Ue,H,kt="Activate virtual environment on Windows:",je,J,Ge,U,Ht='Now you’re ready to install <code>huggingface_hub</code> <a href="https://pypi.org/project/huggingface-hub/" rel="nofollow">from the PyPi registry</a>:',Le,j,Ze,G,Jt='Once done, <a href="#check-installation">check installation</a> is working correctly.',Ie,L,We,Z,Ut='Some dependencies of <code>huggingface_hub</code> are <a href="https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies" rel="nofollow">optional</a> because they are not required to run the core features of <code>huggingface_hub</code>. However, some features of the <code>huggingface_hub</code> may not be available if the optional dependencies aren’t installed.',Pe,I,jt="You can install optional dependencies via <code>pip</code>:",Ye,W,Ve,P,Gt="Here is the list of optional dependencies in <code>huggingface_hub</code>:",Be,Y,Lt="<li><code>cli</code>: provide a more convenient CLI interface for <code>huggingface_hub</code>.</li> <li><code>fastai</code>, <code>torch</code>: dependencies to run framework-specific features.</li> <li><code>dev</code>: dependencies to contribute to the lib. Includes <code>testing</code> (to run tests), <code>typing</code> (to run type checker) and <code>quality</code> (to run linters).</li>",Ne,V,ze,B,Zt=`In some cases, it is interesting to install <code>huggingface_hub</code> directly from source.
This allows you to use the bleeding edge <code>main</code> version rather than the latest stable version.
The <code>main</code> version is useful for staying up-to-date with the latest developments, for instance
if a bug has been fixed since the last official release but a new release hasn’t been rolled out yet.`,Se,N,It=`However, this means the <code>main</code> version may not always be stable. We strive to keep the
<code>main</code> version operational, and most issues are usually resolved
within a few hours or a day. If you run into a problem, please open an Issue so we can
fix it even sooner!`,Re,z,Qe,S,Wt=`When installing from source, you can also specify a specific branch. This is useful if you
want to test a new feature or a new bug-fix that has not been merged yet:`,Xe,R,Fe,Q,Pt='Once done, <a href="#check-installation">check installation</a> is working correctly.',Ae,X,Ee,F,Yt=`Installing from source allows you to set up an <a href="https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs" rel="nofollow">editable install</a>.
This is a more advanced installation if you plan to contribute to <code>huggingface_hub</code>
and need to test changes in the code. You need to clone a local copy of <code>huggingface_hub</code>
on your machine.`,qe,A,Oe,E,Vt=`These commands will link the folder you cloned the repository to and your Python library paths.
Python will now look inside the folder you cloned to in addition to the normal library paths.
For example, if your Python packages are typically installed in <code>./.venv/lib/python3.13/site-packages/</code>,
Python will also search the folder you cloned <code>./huggingface_hub/</code>.`,De,q,Ke,O,Bt="Use our one-liner installers to set up the <code>hf</code> CLI without touching your Python environment:",et,D,Nt="On macOS and Linux:",tt,K,lt,ee,zt="On Windows:",nt,te,it,le,at,ne,St='If you are more familiar with it, you can install <code>huggingface_hub</code> using the <a href="https://anaconda.org/conda-forge/huggingface_hub" rel="nofollow">conda-forge channel</a>:',st,ie,ot,ae,Rt='Once done, <a href="#check-installation">check installation</a> is working correctly.',pt,se,rt,oe,Qt="Once installed, check that <code>huggingface_hub</code> works properly by running the following command:",ft,pe,ut,re,Xt=`This command will fetch information from the Hub about the <a href="https://huggingface.co/gpt2" rel="nofollow">gpt2</a> model.
Output should look like this:`,ct,fe,mt,ue,ht,ce,Ft=`With our goal of democratizing good ML everywhere, we built <code>huggingface_hub</code> to be a
cross-platform library and in particular to work correctly on both Unix-based and Windows
systems. However, there are a few cases where <code>huggingface_hub</code> has some limitations when
run on Windows. Here is an exhaustive list of known issues. Please let us know if you
encounter any undocumented problem by opening <a href="https://github.com/huggingface/huggingface_hub/issues/new/choose" rel="nofollow">an issue on Github</a>.`,dt,me,At=`<li><code>huggingface_hub</code>’s cache system relies on symlinks to efficiently cache files downloaded
from the Hub. On Windows, you must activate developer mode or run your script as admin to
enable symlinks. If they are not activated, the cache-system still works but in a non-optimized
manner. Please read <a href="./guides/manage-cache#limitations">the cache limitations</a> section for more details.</li> <li>Filepaths on the Hub can have special characters (e.g. <code>&quot;path/to?/my/file&quot;</code>). Windows is
more restrictive on <a href="https://learn.microsoft.com/en-us/windows/win32/intl/character-sets-used-in-file-names" rel="nofollow">special characters</a>
which makes it impossible to download those files on Windows. Hopefully this is a rare case.
Please reach out to the repo owner if you think this is a mistake or to us to figure out
a solution.</li>`,gt,he,$t,de,Et=`Once <code>huggingface_hub</code> is properly installed on your machine, you might want to
<a href="package_reference/environment_variables">configure environment variables</a> or <a href="guides/overview">check one of our guides</a> to get started.`,yt,ge,bt,ye,wt;return y=new al({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),b=new g({props:{title:"Installation",local:"installation",headingTag:"h1"}}),v=new g({props:{title:"Install with pip",local:"install-with-pip",headingTag:"h2"}}),C=new d({props:{code:"cHl0aG9uJTIwLW0lMjB2ZW52JTIwLmVudg==",highlighted:'python -m venv .<span class="hljs-built_in">env</span>',wrap:!1}}),k=new d({props:{code:"c291cmNlJTIwLmVudiUyRmJpbiUyRmFjdGl2YXRl",highlighted:'<span class="hljs-built_in">source</span> .<span class="hljs-built_in">env</span>/bin/activate',wrap:!1}}),J=new d({props:{code:"LmVudiUyRlNjcmlwdHMlMkZhY3RpdmF0ZQ==",highlighted:'.<span class="hljs-built_in">env</span>/Scripts/activate',wrap:!1}}),j=new d({props:{code:"cGlwJTIwaW5zdGFsbCUyMC0tdXBncmFkZSUyMGh1Z2dpbmdmYWNlX2h1Yg==",highlighted:"pip install --upgrade huggingface_hub",wrap:!1}}),L=new g({props:{title:"Install optional dependencies",local:"install-optional-dependencies",headingTag:"h3"}}),W=new d({props:{code:"JTIzJTIwSW5zdGFsbCUyMGRlcGVuZGVuY2llcyUyMGZvciUyMGJvdGglMjB0b3JjaC1zcGVjaWZpYyUyMGFuZCUyMENMSS1zcGVjaWZpYyUyMGZlYXR1cmVzLiUwQXBpcCUyMGluc3RhbGwlMjAnaHVnZ2luZ2ZhY2VfaHViJTVCY2xpJTJDdG9yY2glNUQn",highlighted:`<span class="hljs-comment"># Install dependencies for both torch-specific and CLI-specific features.</span>
pip install <span class="hljs-string">&#x27;huggingface_hub[cli,torch]&#x27;</span>`,wrap:!1}}),V=new g({props:{title:"Install from source",local:"install-from-source",headingTag:"h3"}}),z=new d({props:{code:"cGlwJTIwaW5zdGFsbCUyMGdpdCUyQmh0dHBzJTNBJTJGJTJGZ2l0aHViLmNvbSUyRmh1Z2dpbmdmYWNlJTJGaHVnZ2luZ2ZhY2VfaHVi",highlighted:"pip install git+https://github.com/huggingface/huggingface_hub",wrap:!1}}),R=new d({props:{code:"cGlwJTIwaW5zdGFsbCUyMGdpdCUyQmh0dHBzJTNBJTJGJTJGZ2l0aHViLmNvbSUyRmh1Z2dpbmdmYWNlJTJGaHVnZ2luZ2ZhY2VfaHViJTQwbXktZmVhdHVyZS1icmFuY2g=",highlighted:"pip install git+https://github.com/huggingface/huggingface_hub@my-feature-branch",wrap:!1}}),X=new g({props:{title:"Editable install",local:"editable-install",headingTag:"h3"}}),A=new d({props:{code:"JTIzJTIwRmlyc3QlMkMlMjBjbG9uZSUyMHJlcG8lMjBsb2NhbGx5JTBBZ2l0JTIwY2xvbmUlMjBodHRwcyUzQSUyRiUyRmdpdGh1Yi5jb20lMkZodWdnaW5nZmFjZSUyRmh1Z2dpbmdmYWNlX2h1Yi5naXQlMEElMEElMjMlMjBUaGVuJTJDJTIwaW5zdGFsbCUyMHdpdGglMjAtZSUyMGZsYWclMEFjZCUyMGh1Z2dpbmdmYWNlX2h1YiUwQXBpcCUyMGluc3RhbGwlMjAtZSUyMC4=",highlighted:`<span class="hljs-comment"># First, clone repo locally</span>
git <span class="hljs-built_in">clone</span> https://github.com/huggingface/huggingface_hub.git

<span class="hljs-comment"># Then, install with -e flag</span>
<span class="hljs-built_in">cd</span> huggingface_hub
pip install -e .`,wrap:!1}}),q=new g({props:{title:"Install the Hugging Face CLI",local:"install-the-hugging-face-cli",headingTag:"h2"}}),K=new d({props:{code:"Y3VybCUyMC1Mc1NmJTIwaHR0cHMlM0ElMkYlMkZoZi5jbyUyRmNsaSUyRmluc3RhbGwuc2glMjAlN0MlMjBiYXNo",highlighted:"curl -LsSf https://hf.co/cli/install.sh | bash",wrap:!1}}),te=new d({props:{code:"cG93ZXJzaGVsbCUyMC1FeGVjdXRpb25Qb2xpY3klMjBCeVBhc3MlMjAtYyUyMCUyMmlybSUyMGh0dHBzJTNBJTJGJTJGaGYuY28lMkZjbGklMkZpbnN0YWxsLnBzMSUyMCU3QyUyMGlleCUyMg==",highlighted:'powershell <span class="hljs-literal">-ExecutionPolicy</span> ByPass <span class="hljs-literal">-c</span> <span class="hljs-string">&quot;irm https://hf.co/cli/install.ps1 | iex&quot;</span>',wrap:!1}}),le=new g({props:{title:"Install with conda",local:"install-with-conda",headingTag:"h2"}}),ie=new d({props:{code:"Y29uZGElMjBpbnN0YWxsJTIwLWMlMjBjb25kYS1mb3JnZSUyMGh1Z2dpbmdmYWNlX2h1Yg==",highlighted:"conda install -c conda-forge huggingface_hub",wrap:!1}}),se=new g({props:{title:"Check installation",local:"check-installation",headingTag:"h2"}}),pe=new d({props:{code:"cHl0aG9uJTIwLWMlMjAlMjJmcm9tJTIwaHVnZ2luZ2ZhY2VfaHViJTIwaW1wb3J0JTIwbW9kZWxfaW5mbyUzQiUyMHByaW50KG1vZGVsX2luZm8oJ2dwdDInKSklMjI=",highlighted:'python -c <span class="hljs-string">&quot;from huggingface_hub import model_info; print(model_info(&#x27;gpt2&#x27;))&quot;</span>',wrap:!1}}),fe=new d({props:{code:"TW9kZWwlMjBOYW1lJTNBJTIwZ3B0MiUwQVRhZ3MlM0ElMjAlNUIncHl0b3JjaCclMkMlMjAndGYnJTJDJTIwJ2pheCclMkMlMjAndGZsaXRlJyUyQyUyMCdydXN0JyUyQyUyMCdzYWZldGVuc29ycyclMkMlMjAnZ3B0MiclMkMlMjAndGV4dC1nZW5lcmF0aW9uJyUyQyUyMCdlbiclMkMlMjAnZG9pJTNBMTAuNTc5NjclMkZoZiUyRjAwMzknJTJDJTIwJ3RyYW5zZm9ybWVycyclMkMlMjAnZXhiZXJ0JyUyQyUyMCdsaWNlbnNlJTNBbWl0JyUyQyUyMCdoYXNfc3BhY2UnJTVEJTBBVGFzayUzQSUyMHRleHQtZ2VuZXJhdGlvbg==",highlighted:`Model Name: gpt2
Tags: [&#x27;pytorch&#x27;, &#x27;tf&#x27;, &#x27;jax&#x27;, &#x27;tflite&#x27;, &#x27;rust&#x27;, &#x27;safetensors&#x27;, &#x27;gpt2&#x27;, &#x27;text-generation&#x27;, &#x27;en&#x27;, &#x27;doi:10.57967/hf/0039&#x27;, &#x27;transformers&#x27;, &#x27;exbert&#x27;, &#x27;license:mit&#x27;, &#x27;has_space&#x27;]
Task: text-generation`,wrap:!1}}),ue=new g({props:{title:"Windows limitations",local:"windows-limitations",headingTag:"h2"}}),he=new g({props:{title:"Next steps",local:"next-steps",headingTag:"h2"}}),ge=new sl({props:{source:"https://github.com/huggingface/huggingface_hub/blob/main/docs/source/en/installation.md"}}),{c(){$=s("meta"),be=i(),$e=s("p"),we=i(),r(y.$$.fragment),Me=i(),r(b.$$.fragment),ve=i(),w=s("p"),w.textContent=vt,xe=i(),M=s("p"),M.innerHTML=xt,Te=i(),r(v.$$.fragment),Ce=i(),x=s("p"),x.innerHTML=Tt,_e=i(),T=s("p"),T.textContent=Ct,ke=i(),r(C.$$.fragment),He=i(),_=s("p"),_.textContent=_t,Je=i(),r(k.$$.fragment),Ue=i(),H=s("p"),H.textContent=kt,je=i(),r(J.$$.fragment),Ge=i(),U=s("p"),U.innerHTML=Ht,Le=i(),r(j.$$.fragment),Ze=i(),G=s("p"),G.innerHTML=Jt,Ie=i(),r(L.$$.fragment),We=i(),Z=s("p"),Z.innerHTML=Ut,Pe=i(),I=s("p"),I.innerHTML=jt,Ye=i(),r(W.$$.fragment),Ve=i(),P=s("p"),P.innerHTML=Gt,Be=i(),Y=s("ul"),Y.innerHTML=Lt,Ne=i(),r(V.$$.fragment),ze=i(),B=s("p"),B.innerHTML=Zt,Se=i(),N=s("p"),N.innerHTML=It,Re=i(),r(z.$$.fragment),Qe=i(),S=s("p"),S.textContent=Wt,Xe=i(),r(R.$$.fragment),Fe=i(),Q=s("p"),Q.innerHTML=Pt,Ae=i(),r(X.$$.fragment),Ee=i(),F=s("p"),F.innerHTML=Yt,qe=i(),r(A.$$.fragment),Oe=i(),E=s("p"),E.innerHTML=Vt,De=i(),r(q.$$.fragment),Ke=i(),O=s("p"),O.innerHTML=Bt,et=i(),D=s("p"),D.textContent=Nt,tt=i(),r(K.$$.fragment),lt=i(),ee=s("p"),ee.textContent=zt,nt=i(),r(te.$$.fragment),it=i(),r(le.$$.fragment),at=i(),ne=s("p"),ne.innerHTML=St,st=i(),r(ie.$$.fragment),ot=i(),ae=s("p"),ae.innerHTML=Rt,pt=i(),r(se.$$.fragment),rt=i(),oe=s("p"),oe.innerHTML=Qt,ft=i(),r(pe.$$.fragment),ut=i(),re=s("p"),re.innerHTML=Xt,ct=i(),r(fe.$$.fragment),mt=i(),r(ue.$$.fragment),ht=i(),ce=s("p"),ce.innerHTML=Ft,dt=i(),me=s("ul"),me.innerHTML=At,gt=i(),r(he.$$.fragment),$t=i(),de=s("p"),de.innerHTML=Et,yt=i(),r(ge.$$.fragment),bt=i(),ye=s("p"),this.h()},l(e){const t=nl("svelte-u9bgzb",document.head);$=o(t,"META",{name:!0,content:!0}),t.forEach(l),be=a(e),$e=o(e,"P",{}),qt($e).forEach(l),we=a(e),f(y.$$.fragment,e),Me=a(e),f(b.$$.fragment,e),ve=a(e),w=o(e,"P",{"data-svelte-h":!0}),p(w)!=="svelte-1v3rveq"&&(w.textContent=vt),xe=a(e),M=o(e,"P",{"data-svelte-h":!0}),p(M)!=="svelte-1vnx569"&&(M.innerHTML=xt),Te=a(e),f(v.$$.fragment,e),Ce=a(e),x=o(e,"P",{"data-svelte-h":!0}),p(x)!=="svelte-v5uzvr"&&(x.innerHTML=Tt),_e=a(e),T=o(e,"P",{"data-svelte-h":!0}),p(T)!=="svelte-4vcemb"&&(T.textContent=Ct),ke=a(e),f(C.$$.fragment,e),He=a(e),_=o(e,"P",{"data-svelte-h":!0}),p(_)!=="svelte-1nbscxt"&&(_.textContent=_t),Je=a(e),f(k.$$.fragment,e),Ue=a(e),H=o(e,"P",{"data-svelte-h":!0}),p(H)!=="svelte-g4zvwf"&&(H.textContent=kt),je=a(e),f(J.$$.fragment,e),Ge=a(e),U=o(e,"P",{"data-svelte-h":!0}),p(U)!=="svelte-1oiz9l5"&&(U.innerHTML=Ht),Le=a(e),f(j.$$.fragment,e),Ze=a(e),G=o(e,"P",{"data-svelte-h":!0}),p(G)!=="svelte-hn7542"&&(G.innerHTML=Jt),Ie=a(e),f(L.$$.fragment,e),We=a(e),Z=o(e,"P",{"data-svelte-h":!0}),p(Z)!=="svelte-1a7bh72"&&(Z.innerHTML=Ut),Pe=a(e),I=o(e,"P",{"data-svelte-h":!0}),p(I)!=="svelte-e1gbyl"&&(I.innerHTML=jt),Ye=a(e),f(W.$$.fragment,e),Ve=a(e),P=o(e,"P",{"data-svelte-h":!0}),p(P)!=="svelte-luscnn"&&(P.innerHTML=Gt),Be=a(e),Y=o(e,"UL",{"data-svelte-h":!0}),p(Y)!=="svelte-w1u811"&&(Y.innerHTML=Lt),Ne=a(e),f(V.$$.fragment,e),ze=a(e),B=o(e,"P",{"data-svelte-h":!0}),p(B)!=="svelte-nbrt6a"&&(B.innerHTML=Zt),Se=a(e),N=o(e,"P",{"data-svelte-h":!0}),p(N)!=="svelte-4g31g2"&&(N.innerHTML=It),Re=a(e),f(z.$$.fragment,e),Qe=a(e),S=o(e,"P",{"data-svelte-h":!0}),p(S)!=="svelte-1u0tkcy"&&(S.textContent=Wt),Xe=a(e),f(R.$$.fragment,e),Fe=a(e),Q=o(e,"P",{"data-svelte-h":!0}),p(Q)!=="svelte-hn7542"&&(Q.innerHTML=Pt),Ae=a(e),f(X.$$.fragment,e),Ee=a(e),F=o(e,"P",{"data-svelte-h":!0}),p(F)!=="svelte-12qja1r"&&(F.innerHTML=Yt),qe=a(e),f(A.$$.fragment,e),Oe=a(e),E=o(e,"P",{"data-svelte-h":!0}),p(E)!=="svelte-13dz1ks"&&(E.innerHTML=Vt),De=a(e),f(q.$$.fragment,e),Ke=a(e),O=o(e,"P",{"data-svelte-h":!0}),p(O)!=="svelte-1dlnp8u"&&(O.innerHTML=Bt),et=a(e),D=o(e,"P",{"data-svelte-h":!0}),p(D)!=="svelte-qsqm1n"&&(D.textContent=Nt),tt=a(e),f(K.$$.fragment,e),lt=a(e),ee=o(e,"P",{"data-svelte-h":!0}),p(ee)!=="svelte-l29ize"&&(ee.textContent=zt),nt=a(e),f(te.$$.fragment,e),it=a(e),f(le.$$.fragment,e),at=a(e),ne=o(e,"P",{"data-svelte-h":!0}),p(ne)!=="svelte-31py3j"&&(ne.innerHTML=St),st=a(e),f(ie.$$.fragment,e),ot=a(e),ae=o(e,"P",{"data-svelte-h":!0}),p(ae)!=="svelte-hn7542"&&(ae.innerHTML=Rt),pt=a(e),f(se.$$.fragment,e),rt=a(e),oe=o(e,"P",{"data-svelte-h":!0}),p(oe)!=="svelte-1omqj57"&&(oe.innerHTML=Qt),ft=a(e),f(pe.$$.fragment,e),ut=a(e),re=o(e,"P",{"data-svelte-h":!0}),p(re)!=="svelte-17vievx"&&(re.innerHTML=Xt),ct=a(e),f(fe.$$.fragment,e),mt=a(e),f(ue.$$.fragment,e),ht=a(e),ce=o(e,"P",{"data-svelte-h":!0}),p(ce)!=="svelte-m5y9zc"&&(ce.innerHTML=Ft),dt=a(e),me=o(e,"UL",{"data-svelte-h":!0}),p(me)!=="svelte-17071hl"&&(me.innerHTML=At),gt=a(e),f(he.$$.fragment,e),$t=a(e),de=o(e,"P",{"data-svelte-h":!0}),p(de)!=="svelte-izyd9"&&(de.innerHTML=Et),yt=a(e),f(ge.$$.fragment,e),bt=a(e),ye=o(e,"P",{}),qt(ye).forEach(l),this.h()},h(){Ot($,"name","hf:doc:metadata"),Ot($,"content",pl)},m(e,t){il(document.head,$),n(e,be,t),n(e,$e,t),n(e,we,t),u(y,e,t),n(e,Me,t),u(b,e,t),n(e,ve,t),n(e,w,t),n(e,xe,t),n(e,M,t),n(e,Te,t),u(v,e,t),n(e,Ce,t),n(e,x,t),n(e,_e,t),n(e,T,t),n(e,ke,t),u(C,e,t),n(e,He,t),n(e,_,t),n(e,Je,t),u(k,e,t),n(e,Ue,t),n(e,H,t),n(e,je,t),u(J,e,t),n(e,Ge,t),n(e,U,t),n(e,Le,t),u(j,e,t),n(e,Ze,t),n(e,G,t),n(e,Ie,t),u(L,e,t),n(e,We,t),n(e,Z,t),n(e,Pe,t),n(e,I,t),n(e,Ye,t),u(W,e,t),n(e,Ve,t),n(e,P,t),n(e,Be,t),n(e,Y,t),n(e,Ne,t),u(V,e,t),n(e,ze,t),n(e,B,t),n(e,Se,t),n(e,N,t),n(e,Re,t),u(z,e,t),n(e,Qe,t),n(e,S,t),n(e,Xe,t),u(R,e,t),n(e,Fe,t),n(e,Q,t),n(e,Ae,t),u(X,e,t),n(e,Ee,t),n(e,F,t),n(e,qe,t),u(A,e,t),n(e,Oe,t),n(e,E,t),n(e,De,t),u(q,e,t),n(e,Ke,t),n(e,O,t),n(e,et,t),n(e,D,t),n(e,tt,t),u(K,e,t),n(e,lt,t),n(e,ee,t),n(e,nt,t),u(te,e,t),n(e,it,t),u(le,e,t),n(e,at,t),n(e,ne,t),n(e,st,t),u(ie,e,t),n(e,ot,t),n(e,ae,t),n(e,pt,t),u(se,e,t),n(e,rt,t),n(e,oe,t),n(e,ft,t),u(pe,e,t),n(e,ut,t),n(e,re,t),n(e,ct,t),u(fe,e,t),n(e,mt,t),u(ue,e,t),n(e,ht,t),n(e,ce,t),n(e,dt,t),n(e,me,t),n(e,gt,t),u(he,e,t),n(e,$t,t),n(e,de,t),n(e,yt,t),u(ge,e,t),n(e,bt,t),n(e,ye,t),wt=!0},p:Kt,i(e){wt||(c(y.$$.fragment,e),c(b.$$.fragment,e),c(v.$$.fragment,e),c(C.$$.fragment,e),c(k.$$.fragment,e),c(J.$$.fragment,e),c(j.$$.fragment,e),c(L.$$.fragment,e),c(W.$$.fragment,e),c(V.$$.fragment,e),c(z.$$.fragment,e),c(R.$$.fragment,e),c(X.$$.fragment,e),c(A.$$.fragment,e),c(q.$$.fragment,e),c(K.$$.fragment,e),c(te.$$.fragment,e),c(le.$$.fragment,e),c(ie.$$.fragment,e),c(se.$$.fragment,e),c(pe.$$.fragment,e),c(fe.$$.fragment,e),c(ue.$$.fragment,e),c(he.$$.fragment,e),c(ge.$$.fragment,e),wt=!0)},o(e){m(y.$$.fragment,e),m(b.$$.fragment,e),m(v.$$.fragment,e),m(C.$$.fragment,e),m(k.$$.fragment,e),m(J.$$.fragment,e),m(j.$$.fragment,e),m(L.$$.fragment,e),m(W.$$.fragment,e),m(V.$$.fragment,e),m(z.$$.fragment,e),m(R.$$.fragment,e),m(X.$$.fragment,e),m(A.$$.fragment,e),m(q.$$.fragment,e),m(K.$$.fragment,e),m(te.$$.fragment,e),m(le.$$.fragment,e),m(ie.$$.fragment,e),m(se.$$.fragment,e),m(pe.$$.fragment,e),m(fe.$$.fragment,e),m(ue.$$.fragment,e),m(he.$$.fragment,e),m(ge.$$.fragment,e),wt=!1},d(e){e&&(l(be),l($e),l(we),l(Me),l(ve),l(w),l(xe),l(M),l(Te),l(Ce),l(x),l(_e),l(T),l(ke),l(He),l(_),l(Je),l(Ue),l(H),l(je),l(Ge),l(U),l(Le),l(Ze),l(G),l(Ie),l(We),l(Z),l(Pe),l(I),l(Ye),l(Ve),l(P),l(Be),l(Y),l(Ne),l(ze),l(B),l(Se),l(N),l(Re),l(Qe),l(S),l(Xe),l(Fe),l(Q),l(Ae),l(Ee),l(F),l(qe),l(Oe),l(E),l(De),l(Ke),l(O),l(et),l(D),l(tt),l(lt),l(ee),l(nt),l(it),l(at),l(ne),l(st),l(ot),l(ae),l(pt),l(rt),l(oe),l(ft),l(ut),l(re),l(ct),l(mt),l(ht),l(ce),l(dt),l(me),l(gt),l($t),l(de),l(yt),l(bt),l(ye)),l($),h(y,e),h(b,e),h(v,e),h(C,e),h(k,e),h(J,e),h(j,e),h(L,e),h(W,e),h(V,e),h(z,e),h(R,e),h(X,e),h(A,e),h(q,e),h(K,e),h(te,e),h(le,e),h(ie,e),h(se,e),h(pe,e),h(fe,e),h(ue,e),h(he,e),h(ge,e)}}}const pl='{"title":"Installation","local":"installation","sections":[{"title":"Install with pip","local":"install-with-pip","sections":[{"title":"Install optional dependencies","local":"install-optional-dependencies","sections":[],"depth":3},{"title":"Install from source","local":"install-from-source","sections":[],"depth":3},{"title":"Editable install","local":"editable-install","sections":[],"depth":3}],"depth":2},{"title":"Install the Hugging Face CLI","local":"install-the-hugging-face-cli","sections":[],"depth":2},{"title":"Install with conda","local":"install-with-conda","sections":[],"depth":2},{"title":"Check installation","local":"check-installation","sections":[],"depth":2},{"title":"Windows limitations","local":"windows-limitations","sections":[],"depth":2},{"title":"Next steps","local":"next-steps","sections":[],"depth":2}],"depth":1}';function rl(Mt){return el(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class dl extends tl{constructor($){super(),ll(this,$,rl,ol,Dt,{})}}export{dl as component};
