import{s as Pi,n as qi,o as Ni}from"../chunks/scheduler.6062bdaf.js";import{S as Oi,i as Ui,g as o,s as n,r as f,A as ki,h as s,f as i,c as a,j as Si,u,x as r,k as Bi,y as Ri,a as l,v as d,d as h,t as c,w as p}from"../chunks/index.4bca734e.js";import{H as m}from"../chunks/Heading.723dceba.js";function Di(Yt){let g,Ie,xe,Fe,_,Ae,H,zt="<code>huggingface_hub</code> can be configured using environment variables.",Se,b,Kt=`If you are unfamiliar with environment variable, here are generic articles about them
<a href="https://linuxize.com/post/how-to-set-and-list-environment-variables-in-linux/" rel="nofollow">on macOS and Linux</a>
and on <a href="https://phoenixnap.com/kb/windows-set-environment-variable" rel="nofollow">Windows</a>.`,Be,$,Wt=`This page will guide you through all environment variables specific to <code>huggingface_hub</code>
and their meaning.`,Pe,v,qe,T,Ne,w,jt=`To configure the inference api base url. You might want to set this variable if your organization
is pointing at an API Gateway rather than directly at the inference api.`,Oe,L,Xt="Defaults to <code>&quot;https://api-inference.huggingface.com&quot;</code>.",Ue,E,ke,y,Vt=`To configure where <code>huggingface_hub</code> will locally store data. In particular, your token
and the cache will be stored in this folder.`,Re,M,Jt='Defaults to <code>&quot;~/.cache/huggingface&quot;</code> unless <a href="#xdgcachehome">XDG_CACHE_HOME</a> is set.',De,x,Ge,C,Qt=`To configure where repositories from the Hub will be cached locally (models, datasets and
spaces).`,Ye,I,Zt="Defaults to <code>&quot;$HF_HOME/hub&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/hub&quot;</code> by default).",ze,F,Ke,A,ei=`To configure where <a href="../guides/manage-cache#caching-assets">assets</a> created by downstream libraries
will be cached locally. Those assets can be preprocessed data, files downloaded from GitHub,
logs,…`,We,S,ti="Defaults to <code>&quot;$HF_HOME/assets&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/assets&quot;</code> by default).",je,B,Xe,P,ii=`To configure the User Access Token to authenticate to the Hub. If set, this value will
overwrite the token stored on the machine (in <code>&quot;$HF_HOME/token&quot;</code>).`,Ve,q,li='See <a href="../package_reference/login">login reference</a> for more details.',Je,N,Qe,O,ni=`Set the verbosity level of the <code>huggingface_hub</code>’s logger. Must be one of
<code>{&quot;debug&quot;, &quot;info&quot;, &quot;warning&quot;, &quot;error&quot;, &quot;critical&quot;}</code>.`,Ze,U,ai="Defaults to <code>&quot;warning&quot;</code>.",et,k,oi='For more details, see <a href="../package_reference/utilities#huggingface_hub.utils.logging.get_verbosity">logging reference</a>.',tt,R,it,D,si=`Integer value to define under which size a file is considered as “small”. When downloading files to a local directory,
small files will be duplicated to ease user experience while bigger files are symlinked to save disk usage.`,lt,G,ri='For more details, see the <a href="../guides/download#download-files-to-local-folder">download guide</a>.',nt,Y,at,z,fi="Integer value to define the number of seconds to wait for server response when fetching the latest metadata from a repo before downloading a file. If the request times out, <code>huggingface_hub</code> will default to the locally cached files. Setting a lower value speeds up the workflow for machines with a slow connection that have already cached files. A higher value guarantees the metadata call to succeed in more cases. Default to 10s.",ot,K,st,W,ui="Integer value to define the number of seconds to wait for server response when downloading a file. If the request times out, a TimeoutError is raised. Setting a higher value is beneficial on machine with a slow connection. A smaller value makes the process fail quicker in case of complete network outage. Default to 10s.",rt,j,ft,X,di=`The following environment variables expect a boolean value. The variable will be considered
as <code>True</code> if its value is one of <code>{&quot;1&quot;, &quot;ON&quot;, &quot;YES&quot;, &quot;TRUE&quot;}</code> (case-insensitive). Any other value
(or undefined) will be considered as <code>False</code>.`,ut,V,dt,J,hi=`If set, no HTTP calls will me made when trying to fetch files. Only files that are already
cached will be accessed. This is useful in case your network is slow and you don’t care
about having absolutely the latest version of a file.`,ht,Q,ci=`<strong>Note:</strong> even if the latest version of a file is cached, calling <code>hf_hub_download</code> still triggers
a HTTP request to check that a new version is not available. Setting <code>HF_HUB_OFFLINE=1</code> will
skip this call which speeds up your loading time.`,ct,Z,pt,ee,pi=`Authentication is not mandatory for every requests to the Hub. For instance, requesting
details about <code>&quot;gpt2&quot;</code> model does not require to be authenticated. However, if a user is
<a href="../package_reference/login">logged in</a>, the default behavior will be to always send the token
in order to ease user experience (never get a HTTP 401 Unauthorized) when accessing private or gated repositories. For privacy, you can
disable this behavior by setting <code>HF_HUB_DISABLE_IMPLICIT_TOKEN=1</code>. In this case,
the token will be sent only for “write-access” calls (example: create a commit).`,mt,te,mi=`<strong>Note:</strong> disabling implicit sending of token can have weird side effects. For example,
if you want to list all models on the Hub, your private models will not be listed. You
would need to explicitly pass <code>token=True</code> argument in your script.`,gt,ie,_t,le,gi=`For time consuming tasks, <code>huggingface_hub</code> displays a progress bar by default (using tqdm).
You can disable all the progress bars at once by setting <code>HF_HUB_DISABLE_PROGRESS_BARS=1</code>.`,Ht,ne,bt,ae,_i=`If you are on a Windows machine, it is recommended to enable the developer mode or to run
<code>huggingface_hub</code> in admin mode. If not, <code>huggingface_hub</code> will not be able to create
symlinks in your cache system. You will be able to execute any script but your user experience
will be degraded as some huge files might end-up duplicated on your hard-drive. A warning
message is triggered to warn you about this behavior. Set <code>HF_HUB_DISABLE_SYMLINKS_WARNING=1</code>,
to disable this warning.`,$t,oe,Hi='For more details, see <a href="../guides/manage-cache#limitations">cache limitations</a>.',vt,se,Tt,re,bi=`Some features of <code>huggingface_hub</code> are experimental. This means you can use them but we do not guarantee they will be
maintained in the future. In particular, we might update the API or behavior of such features without any deprecation
cycle. A warning message is triggered when using an experimental feature to warn you about it. If you’re comfortable debugging any potential issues using an experimental feature, you can set <code>HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1</code> to disable the warning.`,wt,fe,$i="If you are using an experimental feature, please let us know! Your feedback can help us design and improve it.",Lt,ue,Et,de,vi=`By default, some data is collected by HF libraries (<code>transformers</code>, <code>datasets</code>, <code>gradio</code>,..) to monitor usage, debug issues and help prioritize features.
Each library defines its own policy (i.e. which usage to monitor) but the core implementation happens in <code>huggingface_hub</code> (see <code>send_telemetry</code>).`,yt,he,Ti="You can set <code>HF_HUB_DISABLE_TELEMETRY=1</code> as environment variable to globally disable telemetry.",Mt,ce,xt,pe,wi="Set to <code>True</code> for faster uploads and downloads from the Hub using <code>hf_transfer</code>.",Ct,me,Li='By default, <code>huggingface_hub</code> uses the Python-based <code>requests.get</code> and <code>requests.post</code> functions. Although these are reliable and versatile, they may not be the most efficient choice for machines with high bandwidth. <a href="https://github.com/huggingface/hf_transfer" rel="nofollow"><code>hf_transfer</code></a> is a Rust-based package developed to maximize the bandwidth used by dividing large files into smaller parts and transferring them simultaneously using multiple threads. This approach can potentially double the transfer speed. To use <code>hf_transfer</code>, you need to install it separately <a href="https://pypi.org/project/hf-transfer/" rel="nofollow">from PyPI</a> and set <code>HF_HUB_ENABLE_HF_TRANSFER=1</code> as an environment variable.',It,ge,Ei="Please note that using <code>hf_transfer</code> comes with certain limitations. Since it is not purely Python-based, debugging errors may be challenging. Additionally, <code>hf_transfer</code> lacks several user-friendly features such as resumable downloads and proxies. These omissions are intentional to maintain the simplicity and speed of the Rust logic. Consequently, <code>hf_transfer</code> is not enabled by default in <code>huggingface_hub</code>.",Ft,_e,At,He,yi="In order to standardize all environment variables within the Hugging Face ecosystem, some variables have been marked as deprecated. Although they remain functional, they no longer take precedence over their replacements. The following table outlines the deprecated variables and their corresponding alternatives:",St,be,Mi="<thead><tr><th>Deprecated Variable</th> <th>Replacement</th></tr></thead> <tbody><tr><td><code>HUGGINGFACE_HUB_CACHE</code></td> <td><code>HF_HUB_CACHE</code></td></tr> <tr><td><code>HUGGINGFACE_ASSETS_CACHE</code></td> <td><code>HF_ASSETS_CACHE</code></td></tr> <tr><td><code>HUGGING_FACE_HUB_TOKEN</code></td> <td><code>HF_TOKEN</code></td></tr> <tr><td><code>HUGGINGFACE_HUB_VERBOSITY</code></td> <td><code>HF_HUB_VERBOSITY</code></td></tr></tbody>",Bt,$e,Pt,ve,xi="Some environment variables are not specific to <code>huggingface_hub</code> but are still taken into account when they are set.",qt,Te,Nt,we,Ci=`Boolean value. When set, <code>huggingface-cli</code> tool will not print any ANSI color.
See <a href="https://no-color.org/" rel="nofollow">no-color.org</a>.`,Ot,Le,Ut,Ee,Ii="Used only when <code>HF_HOME</code> is not set!",kt,ye,Fi=`This is the default way to configure where <a href="https://wiki.archlinux.org/title/XDG_Base_Directory" rel="nofollow">user-specific non-essential (cached) data should be written</a>
on linux machines.`,Rt,Me,Ai=`If <code>HF_HOME</code> is not set, the default home will be <code>&quot;$XDG_CACHE_HOME/huggingface&quot;</code> instead
of <code>&quot;~/.cache/huggingface&quot;</code>.`,Dt,Ce,Gt;return _=new m({props:{title:"Environment variables",local:"environment-variables",headingTag:"h1"}}),v=new m({props:{title:"Generic",local:"generic",headingTag:"h2"}}),T=new m({props:{title:"HF_INFERENCE_ENDPOINT",local:"hfinferenceendpoint",headingTag:"h3"}}),E=new m({props:{title:"HF_HOME",local:"hfhome",headingTag:"h3"}}),x=new m({props:{title:"HF_HUB_CACHE",local:"hfhubcache",headingTag:"h3"}}),F=new m({props:{title:"HF_ASSETS_CACHE",local:"hfassetscache",headingTag:"h3"}}),B=new m({props:{title:"HF_TOKEN",local:"hftoken",headingTag:"h3"}}),N=new m({props:{title:"HF_HUB_VERBOSITY",local:"hfhubverbosity",headingTag:"h3"}}),R=new m({props:{title:"HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD",local:"hfhublocaldirautosymlinkthreshold",headingTag:"h3"}}),Y=new m({props:{title:"HF_HUB_ETAG_TIMEOUT",local:"hfhubetagtimeout",headingTag:"h3"}}),K=new m({props:{title:"HF_HUB_DOWNLOAD_TIMEOUT",local:"hfhubdownloadtimeout",headingTag:"h3"}}),j=new m({props:{title:"Boolean values",local:"boolean-values",headingTag:"h2"}}),V=new m({props:{title:"HF_HUB_OFFLINE",local:"hfhuboffline",headingTag:"h3"}}),Z=new m({props:{title:"HF_HUB_DISABLE_IMPLICIT_TOKEN",local:"hfhubdisableimplicittoken",headingTag:"h3"}}),ie=new m({props:{title:"HF_HUB_DISABLE_PROGRESS_BARS",local:"hfhubdisableprogressbars",headingTag:"h3"}}),ne=new m({props:{title:"HF_HUB_DISABLE_SYMLINKS_WARNING",local:"hfhubdisablesymlinkswarning",headingTag:"h3"}}),se=new m({props:{title:"HF_HUB_DISABLE_EXPERIMENTAL_WARNING",local:"hfhubdisableexperimentalwarning",headingTag:"h3"}}),ue=new m({props:{title:"HF_HUB_DISABLE_TELEMETRY",local:"hfhubdisabletelemetry",headingTag:"h3"}}),ce=new m({props:{title:"HF_HUB_ENABLE_HF_TRANSFER",local:"hfhubenablehftransfer",headingTag:"h3"}}),_e=new m({props:{title:"Deprecated environment variables",local:"deprecated-environment-variables",headingTag:"h2"}}),$e=new m({props:{title:"From external tools",local:"from-external-tools",headingTag:"h2"}}),Te=new m({props:{title:"NO_COLOR",local:"nocolor",headingTag:"h3"}}),Le=new m({props:{title:"XDG_CACHE_HOME",local:"xdgcachehome",headingTag:"h3"}}),{c(){g=o("meta"),Ie=n(),xe=o("p"),Fe=n(),f(_.$$.fragment),Ae=n(),H=o("p"),H.innerHTML=zt,Se=n(),b=o("p"),b.innerHTML=Kt,Be=n(),$=o("p"),$.innerHTML=Wt,Pe=n(),f(v.$$.fragment),qe=n(),f(T.$$.fragment),Ne=n(),w=o("p"),w.textContent=jt,Oe=n(),L=o("p"),L.innerHTML=Xt,Ue=n(),f(E.$$.fragment),ke=n(),y=o("p"),y.innerHTML=Vt,Re=n(),M=o("p"),M.innerHTML=Jt,De=n(),f(x.$$.fragment),Ge=n(),C=o("p"),C.textContent=Qt,Ye=n(),I=o("p"),I.innerHTML=Zt,ze=n(),f(F.$$.fragment),Ke=n(),A=o("p"),A.innerHTML=ei,We=n(),S=o("p"),S.innerHTML=ti,je=n(),f(B.$$.fragment),Xe=n(),P=o("p"),P.innerHTML=ii,Ve=n(),q=o("p"),q.innerHTML=li,Je=n(),f(N.$$.fragment),Qe=n(),O=o("p"),O.innerHTML=ni,Ze=n(),U=o("p"),U.innerHTML=ai,et=n(),k=o("p"),k.innerHTML=oi,tt=n(),f(R.$$.fragment),it=n(),D=o("p"),D.textContent=si,lt=n(),G=o("p"),G.innerHTML=ri,nt=n(),f(Y.$$.fragment),at=n(),z=o("p"),z.innerHTML=fi,ot=n(),f(K.$$.fragment),st=n(),W=o("p"),W.textContent=ui,rt=n(),f(j.$$.fragment),ft=n(),X=o("p"),X.innerHTML=di,ut=n(),f(V.$$.fragment),dt=n(),J=o("p"),J.textContent=hi,ht=n(),Q=o("p"),Q.innerHTML=ci,ct=n(),f(Z.$$.fragment),pt=n(),ee=o("p"),ee.innerHTML=pi,mt=n(),te=o("p"),te.innerHTML=mi,gt=n(),f(ie.$$.fragment),_t=n(),le=o("p"),le.innerHTML=gi,Ht=n(),f(ne.$$.fragment),bt=n(),ae=o("p"),ae.innerHTML=_i,$t=n(),oe=o("p"),oe.innerHTML=Hi,vt=n(),f(se.$$.fragment),Tt=n(),re=o("p"),re.innerHTML=bi,wt=n(),fe=o("p"),fe.textContent=$i,Lt=n(),f(ue.$$.fragment),Et=n(),de=o("p"),de.innerHTML=vi,yt=n(),he=o("p"),he.innerHTML=Ti,Mt=n(),f(ce.$$.fragment),xt=n(),pe=o("p"),pe.innerHTML=wi,Ct=n(),me=o("p"),me.innerHTML=Li,It=n(),ge=o("p"),ge.innerHTML=Ei,Ft=n(),f(_e.$$.fragment),At=n(),He=o("p"),He.textContent=yi,St=n(),be=o("table"),be.innerHTML=Mi,Bt=n(),f($e.$$.fragment),Pt=n(),ve=o("p"),ve.innerHTML=xi,qt=n(),f(Te.$$.fragment),Nt=n(),we=o("p"),we.innerHTML=Ci,Ot=n(),f(Le.$$.fragment),Ut=n(),Ee=o("p"),Ee.innerHTML=Ii,kt=n(),ye=o("p"),ye.innerHTML=Fi,Rt=n(),Me=o("p"),Me.innerHTML=Ai,Dt=n(),Ce=o("p"),this.h()},l(e){const t=ki("svelte-u9bgzb",document.head);g=s(t,"META",{name:!0,content:!0}),t.forEach(i),Ie=a(e),xe=s(e,"P",{}),Si(xe).forEach(i),Fe=a(e),u(_.$$.fragment,e),Ae=a(e),H=s(e,"P",{"data-svelte-h":!0}),r(H)!=="svelte-1xuew16"&&(H.innerHTML=zt),Se=a(e),b=s(e,"P",{"data-svelte-h":!0}),r(b)!=="svelte-1by1ave"&&(b.innerHTML=Kt),Be=a(e),$=s(e,"P",{"data-svelte-h":!0}),r($)!=="svelte-5z5k2g"&&($.innerHTML=Wt),Pe=a(e),u(v.$$.fragment,e),qe=a(e),u(T.$$.fragment,e),Ne=a(e),w=s(e,"P",{"data-svelte-h":!0}),r(w)!=="svelte-178hqev"&&(w.textContent=jt),Oe=a(e),L=s(e,"P",{"data-svelte-h":!0}),r(L)!=="svelte-1jcmi14"&&(L.innerHTML=Xt),Ue=a(e),u(E.$$.fragment,e),ke=a(e),y=s(e,"P",{"data-svelte-h":!0}),r(y)!=="svelte-uz9mxv"&&(y.innerHTML=Vt),Re=a(e),M=s(e,"P",{"data-svelte-h":!0}),r(M)!=="svelte-1x0d3ca"&&(M.innerHTML=Jt),De=a(e),u(x.$$.fragment,e),Ge=a(e),C=s(e,"P",{"data-svelte-h":!0}),r(C)!=="svelte-lfw4ab"&&(C.textContent=Qt),Ye=a(e),I=s(e,"P",{"data-svelte-h":!0}),r(I)!=="svelte-a5p60a"&&(I.innerHTML=Zt),ze=a(e),u(F.$$.fragment,e),Ke=a(e),A=s(e,"P",{"data-svelte-h":!0}),r(A)!=="svelte-ksjawo"&&(A.innerHTML=ei),We=a(e),S=s(e,"P",{"data-svelte-h":!0}),r(S)!=="svelte-3wzlwo"&&(S.innerHTML=ti),je=a(e),u(B.$$.fragment,e),Xe=a(e),P=s(e,"P",{"data-svelte-h":!0}),r(P)!=="svelte-dnq5h3"&&(P.innerHTML=ii),Ve=a(e),q=s(e,"P",{"data-svelte-h":!0}),r(q)!=="svelte-1b9lbbx"&&(q.innerHTML=li),Je=a(e),u(N.$$.fragment,e),Qe=a(e),O=s(e,"P",{"data-svelte-h":!0}),r(O)!=="svelte-t9rwl1"&&(O.innerHTML=ni),Ze=a(e),U=s(e,"P",{"data-svelte-h":!0}),r(U)!=="svelte-4zt9wc"&&(U.innerHTML=ai),et=a(e),k=s(e,"P",{"data-svelte-h":!0}),r(k)!=="svelte-5rzz4d"&&(k.innerHTML=oi),tt=a(e),u(R.$$.fragment,e),it=a(e),D=s(e,"P",{"data-svelte-h":!0}),r(D)!=="svelte-gmny4d"&&(D.textContent=si),lt=a(e),G=s(e,"P",{"data-svelte-h":!0}),r(G)!=="svelte-18kg6sw"&&(G.innerHTML=ri),nt=a(e),u(Y.$$.fragment,e),at=a(e),z=s(e,"P",{"data-svelte-h":!0}),r(z)!=="svelte-14q9j1n"&&(z.innerHTML=fi),ot=a(e),u(K.$$.fragment,e),st=a(e),W=s(e,"P",{"data-svelte-h":!0}),r(W)!=="svelte-8qjsc"&&(W.textContent=ui),rt=a(e),u(j.$$.fragment,e),ft=a(e),X=s(e,"P",{"data-svelte-h":!0}),r(X)!=="svelte-1enkv8e"&&(X.innerHTML=di),ut=a(e),u(V.$$.fragment,e),dt=a(e),J=s(e,"P",{"data-svelte-h":!0}),r(J)!=="svelte-1ctbewt"&&(J.textContent=hi),ht=a(e),Q=s(e,"P",{"data-svelte-h":!0}),r(Q)!=="svelte-insvpu"&&(Q.innerHTML=ci),ct=a(e),u(Z.$$.fragment,e),pt=a(e),ee=s(e,"P",{"data-svelte-h":!0}),r(ee)!=="svelte-1gxpflx"&&(ee.innerHTML=pi),mt=a(e),te=s(e,"P",{"data-svelte-h":!0}),r(te)!=="svelte-d0rh1g"&&(te.innerHTML=mi),gt=a(e),u(ie.$$.fragment,e),_t=a(e),le=s(e,"P",{"data-svelte-h":!0}),r(le)!=="svelte-192tmol"&&(le.innerHTML=gi),Ht=a(e),u(ne.$$.fragment,e),bt=a(e),ae=s(e,"P",{"data-svelte-h":!0}),r(ae)!=="svelte-1a5ggf9"&&(ae.innerHTML=_i),$t=a(e),oe=s(e,"P",{"data-svelte-h":!0}),r(oe)!=="svelte-1wsb5xe"&&(oe.innerHTML=Hi),vt=a(e),u(se.$$.fragment,e),Tt=a(e),re=s(e,"P",{"data-svelte-h":!0}),r(re)!=="svelte-16gkjc3"&&(re.innerHTML=bi),wt=a(e),fe=s(e,"P",{"data-svelte-h":!0}),r(fe)!=="svelte-140g1ix"&&(fe.textContent=$i),Lt=a(e),u(ue.$$.fragment,e),Et=a(e),de=s(e,"P",{"data-svelte-h":!0}),r(de)!=="svelte-yphpce"&&(de.innerHTML=vi),yt=a(e),he=s(e,"P",{"data-svelte-h":!0}),r(he)!=="svelte-h3tzls"&&(he.innerHTML=Ti),Mt=a(e),u(ce.$$.fragment,e),xt=a(e),pe=s(e,"P",{"data-svelte-h":!0}),r(pe)!=="svelte-1nmal47"&&(pe.innerHTML=wi),Ct=a(e),me=s(e,"P",{"data-svelte-h":!0}),r(me)!=="svelte-vczl1p"&&(me.innerHTML=Li),It=a(e),ge=s(e,"P",{"data-svelte-h":!0}),r(ge)!=="svelte-a4nd83"&&(ge.innerHTML=Ei),Ft=a(e),u(_e.$$.fragment,e),At=a(e),He=s(e,"P",{"data-svelte-h":!0}),r(He)!=="svelte-1xlsmjd"&&(He.textContent=yi),St=a(e),be=s(e,"TABLE",{"data-svelte-h":!0}),r(be)!=="svelte-19wux3d"&&(be.innerHTML=Mi),Bt=a(e),u($e.$$.fragment,e),Pt=a(e),ve=s(e,"P",{"data-svelte-h":!0}),r(ve)!=="svelte-6ntlb2"&&(ve.innerHTML=xi),qt=a(e),u(Te.$$.fragment,e),Nt=a(e),we=s(e,"P",{"data-svelte-h":!0}),r(we)!=="svelte-16nqegp"&&(we.innerHTML=Ci),Ot=a(e),u(Le.$$.fragment,e),Ut=a(e),Ee=s(e,"P",{"data-svelte-h":!0}),r(Ee)!=="svelte-38e7oi"&&(Ee.innerHTML=Ii),kt=a(e),ye=s(e,"P",{"data-svelte-h":!0}),r(ye)!=="svelte-h7vnjr"&&(ye.innerHTML=Fi),Rt=a(e),Me=s(e,"P",{"data-svelte-h":!0}),r(Me)!=="svelte-hhj9xt"&&(Me.innerHTML=Ai),Dt=a(e),Ce=s(e,"P",{}),Si(Ce).forEach(i),this.h()},h(){Bi(g,"name","hf:doc:metadata"),Bi(g,"content",Gi)},m(e,t){Ri(document.head,g),l(e,Ie,t),l(e,xe,t),l(e,Fe,t),d(_,e,t),l(e,Ae,t),l(e,H,t),l(e,Se,t),l(e,b,t),l(e,Be,t),l(e,$,t),l(e,Pe,t),d(v,e,t),l(e,qe,t),d(T,e,t),l(e,Ne,t),l(e,w,t),l(e,Oe,t),l(e,L,t),l(e,Ue,t),d(E,e,t),l(e,ke,t),l(e,y,t),l(e,Re,t),l(e,M,t),l(e,De,t),d(x,e,t),l(e,Ge,t),l(e,C,t),l(e,Ye,t),l(e,I,t),l(e,ze,t),d(F,e,t),l(e,Ke,t),l(e,A,t),l(e,We,t),l(e,S,t),l(e,je,t),d(B,e,t),l(e,Xe,t),l(e,P,t),l(e,Ve,t),l(e,q,t),l(e,Je,t),d(N,e,t),l(e,Qe,t),l(e,O,t),l(e,Ze,t),l(e,U,t),l(e,et,t),l(e,k,t),l(e,tt,t),d(R,e,t),l(e,it,t),l(e,D,t),l(e,lt,t),l(e,G,t),l(e,nt,t),d(Y,e,t),l(e,at,t),l(e,z,t),l(e,ot,t),d(K,e,t),l(e,st,t),l(e,W,t),l(e,rt,t),d(j,e,t),l(e,ft,t),l(e,X,t),l(e,ut,t),d(V,e,t),l(e,dt,t),l(e,J,t),l(e,ht,t),l(e,Q,t),l(e,ct,t),d(Z,e,t),l(e,pt,t),l(e,ee,t),l(e,mt,t),l(e,te,t),l(e,gt,t),d(ie,e,t),l(e,_t,t),l(e,le,t),l(e,Ht,t),d(ne,e,t),l(e,bt,t),l(e,ae,t),l(e,$t,t),l(e,oe,t),l(e,vt,t),d(se,e,t),l(e,Tt,t),l(e,re,t),l(e,wt,t),l(e,fe,t),l(e,Lt,t),d(ue,e,t),l(e,Et,t),l(e,de,t),l(e,yt,t),l(e,he,t),l(e,Mt,t),d(ce,e,t),l(e,xt,t),l(e,pe,t),l(e,Ct,t),l(e,me,t),l(e,It,t),l(e,ge,t),l(e,Ft,t),d(_e,e,t),l(e,At,t),l(e,He,t),l(e,St,t),l(e,be,t),l(e,Bt,t),d($e,e,t),l(e,Pt,t),l(e,ve,t),l(e,qt,t),d(Te,e,t),l(e,Nt,t),l(e,we,t),l(e,Ot,t),d(Le,e,t),l(e,Ut,t),l(e,Ee,t),l(e,kt,t),l(e,ye,t),l(e,Rt,t),l(e,Me,t),l(e,Dt,t),l(e,Ce,t),Gt=!0},p:qi,i(e){Gt||(h(_.$$.fragment,e),h(v.$$.fragment,e),h(T.$$.fragment,e),h(E.$$.fragment,e),h(x.$$.fragment,e),h(F.$$.fragment,e),h(B.$$.fragment,e),h(N.$$.fragment,e),h(R.$$.fragment,e),h(Y.$$.fragment,e),h(K.$$.fragment,e),h(j.$$.fragment,e),h(V.$$.fragment,e),h(Z.$$.fragment,e),h(ie.$$.fragment,e),h(ne.$$.fragment,e),h(se.$$.fragment,e),h(ue.$$.fragment,e),h(ce.$$.fragment,e),h(_e.$$.fragment,e),h($e.$$.fragment,e),h(Te.$$.fragment,e),h(Le.$$.fragment,e),Gt=!0)},o(e){c(_.$$.fragment,e),c(v.$$.fragment,e),c(T.$$.fragment,e),c(E.$$.fragment,e),c(x.$$.fragment,e),c(F.$$.fragment,e),c(B.$$.fragment,e),c(N.$$.fragment,e),c(R.$$.fragment,e),c(Y.$$.fragment,e),c(K.$$.fragment,e),c(j.$$.fragment,e),c(V.$$.fragment,e),c(Z.$$.fragment,e),c(ie.$$.fragment,e),c(ne.$$.fragment,e),c(se.$$.fragment,e),c(ue.$$.fragment,e),c(ce.$$.fragment,e),c(_e.$$.fragment,e),c($e.$$.fragment,e),c(Te.$$.fragment,e),c(Le.$$.fragment,e),Gt=!1},d(e){e&&(i(Ie),i(xe),i(Fe),i(Ae),i(H),i(Se),i(b),i(Be),i($),i(Pe),i(qe),i(Ne),i(w),i(Oe),i(L),i(Ue),i(ke),i(y),i(Re),i(M),i(De),i(Ge),i(C),i(Ye),i(I),i(ze),i(Ke),i(A),i(We),i(S),i(je),i(Xe),i(P),i(Ve),i(q),i(Je),i(Qe),i(O),i(Ze),i(U),i(et),i(k),i(tt),i(it),i(D),i(lt),i(G),i(nt),i(at),i(z),i(ot),i(st),i(W),i(rt),i(ft),i(X),i(ut),i(dt),i(J),i(ht),i(Q),i(ct),i(pt),i(ee),i(mt),i(te),i(gt),i(_t),i(le),i(Ht),i(bt),i(ae),i($t),i(oe),i(vt),i(Tt),i(re),i(wt),i(fe),i(Lt),i(Et),i(de),i(yt),i(he),i(Mt),i(xt),i(pe),i(Ct),i(me),i(It),i(ge),i(Ft),i(At),i(He),i(St),i(be),i(Bt),i(Pt),i(ve),i(qt),i(Nt),i(we),i(Ot),i(Ut),i(Ee),i(kt),i(ye),i(Rt),i(Me),i(Dt),i(Ce)),i(g),p(_,e),p(v,e),p(T,e),p(E,e),p(x,e),p(F,e),p(B,e),p(N,e),p(R,e),p(Y,e),p(K,e),p(j,e),p(V,e),p(Z,e),p(ie,e),p(ne,e),p(se,e),p(ue,e),p(ce,e),p(_e,e),p($e,e),p(Te,e),p(Le,e)}}}const Gi='{"title":"Environment variables","local":"environment-variables","sections":[{"title":"Generic","local":"generic","sections":[{"title":"HF_INFERENCE_ENDPOINT","local":"hfinferenceendpoint","sections":[],"depth":3},{"title":"HF_HOME","local":"hfhome","sections":[],"depth":3},{"title":"HF_HUB_CACHE","local":"hfhubcache","sections":[],"depth":3},{"title":"HF_ASSETS_CACHE","local":"hfassetscache","sections":[],"depth":3},{"title":"HF_TOKEN","local":"hftoken","sections":[],"depth":3},{"title":"HF_HUB_VERBOSITY","local":"hfhubverbosity","sections":[],"depth":3},{"title":"HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD","local":"hfhublocaldirautosymlinkthreshold","sections":[],"depth":3},{"title":"HF_HUB_ETAG_TIMEOUT","local":"hfhubetagtimeout","sections":[],"depth":3},{"title":"HF_HUB_DOWNLOAD_TIMEOUT","local":"hfhubdownloadtimeout","sections":[],"depth":3}],"depth":2},{"title":"Boolean values","local":"boolean-values","sections":[{"title":"HF_HUB_OFFLINE","local":"hfhuboffline","sections":[],"depth":3},{"title":"HF_HUB_DISABLE_IMPLICIT_TOKEN","local":"hfhubdisableimplicittoken","sections":[],"depth":3},{"title":"HF_HUB_DISABLE_PROGRESS_BARS","local":"hfhubdisableprogressbars","sections":[],"depth":3},{"title":"HF_HUB_DISABLE_SYMLINKS_WARNING","local":"hfhubdisablesymlinkswarning","sections":[],"depth":3},{"title":"HF_HUB_DISABLE_EXPERIMENTAL_WARNING","local":"hfhubdisableexperimentalwarning","sections":[],"depth":3},{"title":"HF_HUB_DISABLE_TELEMETRY","local":"hfhubdisabletelemetry","sections":[],"depth":3},{"title":"HF_HUB_ENABLE_HF_TRANSFER","local":"hfhubenablehftransfer","sections":[],"depth":3}],"depth":2},{"title":"Deprecated environment variables","local":"deprecated-environment-variables","sections":[],"depth":2},{"title":"From external tools","local":"from-external-tools","sections":[{"title":"NO_COLOR","local":"nocolor","sections":[],"depth":3},{"title":"XDG_CACHE_HOME","local":"xdgcachehome","sections":[],"depth":3}],"depth":2}],"depth":1}';function Yi(Yt){return Ni(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ji extends Oi{constructor(g){super(),Ui(this,g,Yi,Di,Pi,{})}}export{ji as component};
