import{s as Gi,n as Yi,o as zi}from"../chunks/scheduler.6062bdaf.js";import{S as Ki,i as Wi,g as o,s as n,r as f,A as ji,h as s,f as i,c as a,j as Di,u,x as r,k as Ri,y as Xi,a as l,v as d,d as h,t as p,w as c}from"../chunks/index.4bca734e.js";import{H as m}from"../chunks/Heading.723dceba.js";function Vi(Vt){let g,Pe,Fe,Se,_,Be,H,Jt="<code>huggingface_hub</code> can be configured using environment variables.",qe,$,Qt=`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>.`,Ne,b,Zt=`This page will guide you through all environment variables specific to <code>huggingface_hub</code>
and their meaning.`,Oe,v,Ue,T,ke,w,ei=`To configure the Hub base url. You might want to set this variable if your organization
is using a <a href="https://huggingface.co/platform" rel="nofollow">Private Hub</a>.`,De,L,ti="Defaults to <code>&quot;https://huggingface.co&quot;</code>.",Re,E,Ge,y,ii=`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.`,Ye,M,li="Defaults to <code>&quot;https://api-inference.huggingface.com&quot;</code>.",ze,x,Ke,C,ni=`To configure where <code>huggingface_hub</code> will locally store data. In particular, your token
and the cache will be stored in this folder.`,We,I,ai='Defaults to <code>&quot;~/.cache/huggingface&quot;</code> unless <a href="#xdgcachehome">XDG_CACHE_HOME</a> is set.',je,F,Xe,A,oi=`To configure where repositories from the Hub will be cached locally (models, datasets and
spaces).`,Ve,P,si="Defaults to <code>&quot;$HF_HOME/hub&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/hub&quot;</code> by default).",Je,S,Qe,B,ri=`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,…`,Ze,q,fi="Defaults to <code>&quot;$HF_HOME/assets&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/assets&quot;</code> by default).",et,N,tt,O,ui=`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>).`,it,U,di='See <a href="../package_reference/login">login reference</a> for more details.',lt,k,nt,D,hi=`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>.`,at,R,pi="Defaults to <code>&quot;warning&quot;</code>.",ot,G,ci='For more details, see <a href="../package_reference/utilities#huggingface_hub.utils.logging.get_verbosity">logging reference</a>.',st,Y,rt,z,mi=`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.`,ft,K,gi='For more details, see the <a href="../guides/download#download-files-to-local-folder">download guide</a>.',ut,W,dt,j,_i="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.",ht,X,pt,V,Hi="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.",ct,J,mt,Q,$i=`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>.`,gt,Z,_t,ee,bi=`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,te,vi=`<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.`,$t,ie,bt,le,Ti=`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).`,vt,ne,wi=`<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.`,Tt,ae,wt,oe,Li=`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>.`,Lt,se,Et,re,Ei=`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.`,yt,fe,yi='For more details, see <a href="../guides/manage-cache#limitations">cache limitations</a>.',Mt,ue,xt,de,Mi=`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.`,Ct,he,xi="If you are using an experimental feature, please let us know! Your feedback can help us design and improve it.",It,pe,Ft,ce,Ci=`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>).`,At,me,Ii="You can set <code>HF_HUB_DISABLE_TELEMETRY=1</code> as environment variable to globally disable telemetry.",Pt,ge,St,_e,Fi="Set to <code>True</code> for faster uploads and downloads from the Hub using <code>hf_transfer</code>.",Bt,He,Ai='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.',qt,$e,Pi="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 progress bars, 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>.",Nt,be,Ot,ve,Si="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:",Ut,Te,Bi="<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>",kt,we,Dt,Le,qi="Some environment variables are not specific to <code>huggingface_hub</code> but are still taken into account when they are set.",Rt,Ee,Gt,ye,Ni=`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>.`,Yt,Me,zt,xe,Oi="Used only when <code>HF_HOME</code> is not set!",Kt,Ce,Ui=`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.`,Wt,Ie,ki=`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>.`,jt,Ae,Xt;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_ENDPOINT",local:"hfendpoint",headingTag:"h3"}}),E=new m({props:{title:"HF_INFERENCE_ENDPOINT",local:"hfinferenceendpoint",headingTag:"h3"}}),x=new m({props:{title:"HF_HOME",local:"hfhome",headingTag:"h3"}}),F=new m({props:{title:"HF_HUB_CACHE",local:"hfhubcache",headingTag:"h3"}}),S=new m({props:{title:"HF_ASSETS_CACHE",local:"hfassetscache",headingTag:"h3"}}),N=new m({props:{title:"HF_TOKEN",local:"hftoken",headingTag:"h3"}}),k=new m({props:{title:"HF_HUB_VERBOSITY",local:"hfhubverbosity",headingTag:"h3"}}),Y=new m({props:{title:"HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD",local:"hfhublocaldirautosymlinkthreshold",headingTag:"h3"}}),W=new m({props:{title:"HF_HUB_ETAG_TIMEOUT",local:"hfhubetagtimeout",headingTag:"h3"}}),X=new m({props:{title:"HF_HUB_DOWNLOAD_TIMEOUT",local:"hfhubdownloadtimeout",headingTag:"h3"}}),J=new m({props:{title:"Boolean values",local:"boolean-values",headingTag:"h2"}}),Z=new m({props:{title:"HF_HUB_OFFLINE",local:"hfhuboffline",headingTag:"h3"}}),ie=new m({props:{title:"HF_HUB_DISABLE_IMPLICIT_TOKEN",local:"hfhubdisableimplicittoken",headingTag:"h3"}}),ae=new m({props:{title:"HF_HUB_DISABLE_PROGRESS_BARS",local:"hfhubdisableprogressbars",headingTag:"h3"}}),se=new m({props:{title:"HF_HUB_DISABLE_SYMLINKS_WARNING",local:"hfhubdisablesymlinkswarning",headingTag:"h3"}}),ue=new m({props:{title:"HF_HUB_DISABLE_EXPERIMENTAL_WARNING",local:"hfhubdisableexperimentalwarning",headingTag:"h3"}}),pe=new m({props:{title:"HF_HUB_DISABLE_TELEMETRY",local:"hfhubdisabletelemetry",headingTag:"h3"}}),ge=new m({props:{title:"HF_HUB_ENABLE_HF_TRANSFER",local:"hfhubenablehftransfer",headingTag:"h3"}}),be=new m({props:{title:"Deprecated environment variables",local:"deprecated-environment-variables",headingTag:"h2"}}),we=new m({props:{title:"From external tools",local:"from-external-tools",headingTag:"h2"}}),Ee=new m({props:{title:"NO_COLOR",local:"nocolor",headingTag:"h3"}}),Me=new m({props:{title:"XDG_CACHE_HOME",local:"xdgcachehome",headingTag:"h3"}}),{c(){g=o("meta"),Pe=n(),Fe=o("p"),Se=n(),f(_.$$.fragment),Be=n(),H=o("p"),H.innerHTML=Jt,qe=n(),$=o("p"),$.innerHTML=Qt,Ne=n(),b=o("p"),b.innerHTML=Zt,Oe=n(),f(v.$$.fragment),Ue=n(),f(T.$$.fragment),ke=n(),w=o("p"),w.innerHTML=ei,De=n(),L=o("p"),L.innerHTML=ti,Re=n(),f(E.$$.fragment),Ge=n(),y=o("p"),y.textContent=ii,Ye=n(),M=o("p"),M.innerHTML=li,ze=n(),f(x.$$.fragment),Ke=n(),C=o("p"),C.innerHTML=ni,We=n(),I=o("p"),I.innerHTML=ai,je=n(),f(F.$$.fragment),Xe=n(),A=o("p"),A.textContent=oi,Ve=n(),P=o("p"),P.innerHTML=si,Je=n(),f(S.$$.fragment),Qe=n(),B=o("p"),B.innerHTML=ri,Ze=n(),q=o("p"),q.innerHTML=fi,et=n(),f(N.$$.fragment),tt=n(),O=o("p"),O.innerHTML=ui,it=n(),U=o("p"),U.innerHTML=di,lt=n(),f(k.$$.fragment),nt=n(),D=o("p"),D.innerHTML=hi,at=n(),R=o("p"),R.innerHTML=pi,ot=n(),G=o("p"),G.innerHTML=ci,st=n(),f(Y.$$.fragment),rt=n(),z=o("p"),z.textContent=mi,ft=n(),K=o("p"),K.innerHTML=gi,ut=n(),f(W.$$.fragment),dt=n(),j=o("p"),j.innerHTML=_i,ht=n(),f(X.$$.fragment),pt=n(),V=o("p"),V.textContent=Hi,ct=n(),f(J.$$.fragment),mt=n(),Q=o("p"),Q.innerHTML=$i,gt=n(),f(Z.$$.fragment),_t=n(),ee=o("p"),ee.textContent=bi,Ht=n(),te=o("p"),te.innerHTML=vi,$t=n(),f(ie.$$.fragment),bt=n(),le=o("p"),le.innerHTML=Ti,vt=n(),ne=o("p"),ne.innerHTML=wi,Tt=n(),f(ae.$$.fragment),wt=n(),oe=o("p"),oe.innerHTML=Li,Lt=n(),f(se.$$.fragment),Et=n(),re=o("p"),re.innerHTML=Ei,yt=n(),fe=o("p"),fe.innerHTML=yi,Mt=n(),f(ue.$$.fragment),xt=n(),de=o("p"),de.innerHTML=Mi,Ct=n(),he=o("p"),he.textContent=xi,It=n(),f(pe.$$.fragment),Ft=n(),ce=o("p"),ce.innerHTML=Ci,At=n(),me=o("p"),me.innerHTML=Ii,Pt=n(),f(ge.$$.fragment),St=n(),_e=o("p"),_e.innerHTML=Fi,Bt=n(),He=o("p"),He.innerHTML=Ai,qt=n(),$e=o("p"),$e.innerHTML=Pi,Nt=n(),f(be.$$.fragment),Ot=n(),ve=o("p"),ve.textContent=Si,Ut=n(),Te=o("table"),Te.innerHTML=Bi,kt=n(),f(we.$$.fragment),Dt=n(),Le=o("p"),Le.innerHTML=qi,Rt=n(),f(Ee.$$.fragment),Gt=n(),ye=o("p"),ye.innerHTML=Ni,Yt=n(),f(Me.$$.fragment),zt=n(),xe=o("p"),xe.innerHTML=Oi,Kt=n(),Ce=o("p"),Ce.innerHTML=Ui,Wt=n(),Ie=o("p"),Ie.innerHTML=ki,jt=n(),Ae=o("p"),this.h()},l(e){const t=ji("svelte-u9bgzb",document.head);g=s(t,"META",{name:!0,content:!0}),t.forEach(i),Pe=a(e),Fe=s(e,"P",{}),Di(Fe).forEach(i),Se=a(e),u(_.$$.fragment,e),Be=a(e),H=s(e,"P",{"data-svelte-h":!0}),r(H)!=="svelte-1xuew16"&&(H.innerHTML=Jt),qe=a(e),$=s(e,"P",{"data-svelte-h":!0}),r($)!=="svelte-1by1ave"&&($.innerHTML=Qt),Ne=a(e),b=s(e,"P",{"data-svelte-h":!0}),r(b)!=="svelte-5z5k2g"&&(b.innerHTML=Zt),Oe=a(e),u(v.$$.fragment,e),Ue=a(e),u(T.$$.fragment,e),ke=a(e),w=s(e,"P",{"data-svelte-h":!0}),r(w)!=="svelte-gfh3ro"&&(w.innerHTML=ei),De=a(e),L=s(e,"P",{"data-svelte-h":!0}),r(L)!=="svelte-135fkrh"&&(L.innerHTML=ti),Re=a(e),u(E.$$.fragment,e),Ge=a(e),y=s(e,"P",{"data-svelte-h":!0}),r(y)!=="svelte-178hqev"&&(y.textContent=ii),Ye=a(e),M=s(e,"P",{"data-svelte-h":!0}),r(M)!=="svelte-1jcmi14"&&(M.innerHTML=li),ze=a(e),u(x.$$.fragment,e),Ke=a(e),C=s(e,"P",{"data-svelte-h":!0}),r(C)!=="svelte-uz9mxv"&&(C.innerHTML=ni),We=a(e),I=s(e,"P",{"data-svelte-h":!0}),r(I)!=="svelte-1x0d3ca"&&(I.innerHTML=ai),je=a(e),u(F.$$.fragment,e),Xe=a(e),A=s(e,"P",{"data-svelte-h":!0}),r(A)!=="svelte-lfw4ab"&&(A.textContent=oi),Ve=a(e),P=s(e,"P",{"data-svelte-h":!0}),r(P)!=="svelte-a5p60a"&&(P.innerHTML=si),Je=a(e),u(S.$$.fragment,e),Qe=a(e),B=s(e,"P",{"data-svelte-h":!0}),r(B)!=="svelte-ksjawo"&&(B.innerHTML=ri),Ze=a(e),q=s(e,"P",{"data-svelte-h":!0}),r(q)!=="svelte-3wzlwo"&&(q.innerHTML=fi),et=a(e),u(N.$$.fragment,e),tt=a(e),O=s(e,"P",{"data-svelte-h":!0}),r(O)!=="svelte-dnq5h3"&&(O.innerHTML=ui),it=a(e),U=s(e,"P",{"data-svelte-h":!0}),r(U)!=="svelte-1b9lbbx"&&(U.innerHTML=di),lt=a(e),u(k.$$.fragment,e),nt=a(e),D=s(e,"P",{"data-svelte-h":!0}),r(D)!=="svelte-t9rwl1"&&(D.innerHTML=hi),at=a(e),R=s(e,"P",{"data-svelte-h":!0}),r(R)!=="svelte-4zt9wc"&&(R.innerHTML=pi),ot=a(e),G=s(e,"P",{"data-svelte-h":!0}),r(G)!=="svelte-5rzz4d"&&(G.innerHTML=ci),st=a(e),u(Y.$$.fragment,e),rt=a(e),z=s(e,"P",{"data-svelte-h":!0}),r(z)!=="svelte-gmny4d"&&(z.textContent=mi),ft=a(e),K=s(e,"P",{"data-svelte-h":!0}),r(K)!=="svelte-18kg6sw"&&(K.innerHTML=gi),ut=a(e),u(W.$$.fragment,e),dt=a(e),j=s(e,"P",{"data-svelte-h":!0}),r(j)!=="svelte-14q9j1n"&&(j.innerHTML=_i),ht=a(e),u(X.$$.fragment,e),pt=a(e),V=s(e,"P",{"data-svelte-h":!0}),r(V)!=="svelte-8qjsc"&&(V.textContent=Hi),ct=a(e),u(J.$$.fragment,e),mt=a(e),Q=s(e,"P",{"data-svelte-h":!0}),r(Q)!=="svelte-1enkv8e"&&(Q.innerHTML=$i),gt=a(e),u(Z.$$.fragment,e),_t=a(e),ee=s(e,"P",{"data-svelte-h":!0}),r(ee)!=="svelte-1ctbewt"&&(ee.textContent=bi),Ht=a(e),te=s(e,"P",{"data-svelte-h":!0}),r(te)!=="svelte-insvpu"&&(te.innerHTML=vi),$t=a(e),u(ie.$$.fragment,e),bt=a(e),le=s(e,"P",{"data-svelte-h":!0}),r(le)!=="svelte-1gxpflx"&&(le.innerHTML=Ti),vt=a(e),ne=s(e,"P",{"data-svelte-h":!0}),r(ne)!=="svelte-d0rh1g"&&(ne.innerHTML=wi),Tt=a(e),u(ae.$$.fragment,e),wt=a(e),oe=s(e,"P",{"data-svelte-h":!0}),r(oe)!=="svelte-192tmol"&&(oe.innerHTML=Li),Lt=a(e),u(se.$$.fragment,e),Et=a(e),re=s(e,"P",{"data-svelte-h":!0}),r(re)!=="svelte-1a5ggf9"&&(re.innerHTML=Ei),yt=a(e),fe=s(e,"P",{"data-svelte-h":!0}),r(fe)!=="svelte-1wsb5xe"&&(fe.innerHTML=yi),Mt=a(e),u(ue.$$.fragment,e),xt=a(e),de=s(e,"P",{"data-svelte-h":!0}),r(de)!=="svelte-16gkjc3"&&(de.innerHTML=Mi),Ct=a(e),he=s(e,"P",{"data-svelte-h":!0}),r(he)!=="svelte-140g1ix"&&(he.textContent=xi),It=a(e),u(pe.$$.fragment,e),Ft=a(e),ce=s(e,"P",{"data-svelte-h":!0}),r(ce)!=="svelte-yphpce"&&(ce.innerHTML=Ci),At=a(e),me=s(e,"P",{"data-svelte-h":!0}),r(me)!=="svelte-h3tzls"&&(me.innerHTML=Ii),Pt=a(e),u(ge.$$.fragment,e),St=a(e),_e=s(e,"P",{"data-svelte-h":!0}),r(_e)!=="svelte-1nmal47"&&(_e.innerHTML=Fi),Bt=a(e),He=s(e,"P",{"data-svelte-h":!0}),r(He)!=="svelte-vczl1p"&&(He.innerHTML=Ai),qt=a(e),$e=s(e,"P",{"data-svelte-h":!0}),r($e)!=="svelte-1ho4z9q"&&($e.innerHTML=Pi),Nt=a(e),u(be.$$.fragment,e),Ot=a(e),ve=s(e,"P",{"data-svelte-h":!0}),r(ve)!=="svelte-1xlsmjd"&&(ve.textContent=Si),Ut=a(e),Te=s(e,"TABLE",{"data-svelte-h":!0}),r(Te)!=="svelte-19wux3d"&&(Te.innerHTML=Bi),kt=a(e),u(we.$$.fragment,e),Dt=a(e),Le=s(e,"P",{"data-svelte-h":!0}),r(Le)!=="svelte-6ntlb2"&&(Le.innerHTML=qi),Rt=a(e),u(Ee.$$.fragment,e),Gt=a(e),ye=s(e,"P",{"data-svelte-h":!0}),r(ye)!=="svelte-16nqegp"&&(ye.innerHTML=Ni),Yt=a(e),u(Me.$$.fragment,e),zt=a(e),xe=s(e,"P",{"data-svelte-h":!0}),r(xe)!=="svelte-38e7oi"&&(xe.innerHTML=Oi),Kt=a(e),Ce=s(e,"P",{"data-svelte-h":!0}),r(Ce)!=="svelte-h7vnjr"&&(Ce.innerHTML=Ui),Wt=a(e),Ie=s(e,"P",{"data-svelte-h":!0}),r(Ie)!=="svelte-hhj9xt"&&(Ie.innerHTML=ki),jt=a(e),Ae=s(e,"P",{}),Di(Ae).forEach(i),this.h()},h(){Ri(g,"name","hf:doc:metadata"),Ri(g,"content",Ji)},m(e,t){Xi(document.head,g),l(e,Pe,t),l(e,Fe,t),l(e,Se,t),d(_,e,t),l(e,Be,t),l(e,H,t),l(e,qe,t),l(e,$,t),l(e,Ne,t),l(e,b,t),l(e,Oe,t),d(v,e,t),l(e,Ue,t),d(T,e,t),l(e,ke,t),l(e,w,t),l(e,De,t),l(e,L,t),l(e,Re,t),d(E,e,t),l(e,Ge,t),l(e,y,t),l(e,Ye,t),l(e,M,t),l(e,ze,t),d(x,e,t),l(e,Ke,t),l(e,C,t),l(e,We,t),l(e,I,t),l(e,je,t),d(F,e,t),l(e,Xe,t),l(e,A,t),l(e,Ve,t),l(e,P,t),l(e,Je,t),d(S,e,t),l(e,Qe,t),l(e,B,t),l(e,Ze,t),l(e,q,t),l(e,et,t),d(N,e,t),l(e,tt,t),l(e,O,t),l(e,it,t),l(e,U,t),l(e,lt,t),d(k,e,t),l(e,nt,t),l(e,D,t),l(e,at,t),l(e,R,t),l(e,ot,t),l(e,G,t),l(e,st,t),d(Y,e,t),l(e,rt,t),l(e,z,t),l(e,ft,t),l(e,K,t),l(e,ut,t),d(W,e,t),l(e,dt,t),l(e,j,t),l(e,ht,t),d(X,e,t),l(e,pt,t),l(e,V,t),l(e,ct,t),d(J,e,t),l(e,mt,t),l(e,Q,t),l(e,gt,t),d(Z,e,t),l(e,_t,t),l(e,ee,t),l(e,Ht,t),l(e,te,t),l(e,$t,t),d(ie,e,t),l(e,bt,t),l(e,le,t),l(e,vt,t),l(e,ne,t),l(e,Tt,t),d(ae,e,t),l(e,wt,t),l(e,oe,t),l(e,Lt,t),d(se,e,t),l(e,Et,t),l(e,re,t),l(e,yt,t),l(e,fe,t),l(e,Mt,t),d(ue,e,t),l(e,xt,t),l(e,de,t),l(e,Ct,t),l(e,he,t),l(e,It,t),d(pe,e,t),l(e,Ft,t),l(e,ce,t),l(e,At,t),l(e,me,t),l(e,Pt,t),d(ge,e,t),l(e,St,t),l(e,_e,t),l(e,Bt,t),l(e,He,t),l(e,qt,t),l(e,$e,t),l(e,Nt,t),d(be,e,t),l(e,Ot,t),l(e,ve,t),l(e,Ut,t),l(e,Te,t),l(e,kt,t),d(we,e,t),l(e,Dt,t),l(e,Le,t),l(e,Rt,t),d(Ee,e,t),l(e,Gt,t),l(e,ye,t),l(e,Yt,t),d(Me,e,t),l(e,zt,t),l(e,xe,t),l(e,Kt,t),l(e,Ce,t),l(e,Wt,t),l(e,Ie,t),l(e,jt,t),l(e,Ae,t),Xt=!0},p:Yi,i(e){Xt||(h(_.$$.fragment,e),h(v.$$.fragment,e),h(T.$$.fragment,e),h(E.$$.fragment,e),h(x.$$.fragment,e),h(F.$$.fragment,e),h(S.$$.fragment,e),h(N.$$.fragment,e),h(k.$$.fragment,e),h(Y.$$.fragment,e),h(W.$$.fragment,e),h(X.$$.fragment,e),h(J.$$.fragment,e),h(Z.$$.fragment,e),h(ie.$$.fragment,e),h(ae.$$.fragment,e),h(se.$$.fragment,e),h(ue.$$.fragment,e),h(pe.$$.fragment,e),h(ge.$$.fragment,e),h(be.$$.fragment,e),h(we.$$.fragment,e),h(Ee.$$.fragment,e),h(Me.$$.fragment,e),Xt=!0)},o(e){p(_.$$.fragment,e),p(v.$$.fragment,e),p(T.$$.fragment,e),p(E.$$.fragment,e),p(x.$$.fragment,e),p(F.$$.fragment,e),p(S.$$.fragment,e),p(N.$$.fragment,e),p(k.$$.fragment,e),p(Y.$$.fragment,e),p(W.$$.fragment,e),p(X.$$.fragment,e),p(J.$$.fragment,e),p(Z.$$.fragment,e),p(ie.$$.fragment,e),p(ae.$$.fragment,e),p(se.$$.fragment,e),p(ue.$$.fragment,e),p(pe.$$.fragment,e),p(ge.$$.fragment,e),p(be.$$.fragment,e),p(we.$$.fragment,e),p(Ee.$$.fragment,e),p(Me.$$.fragment,e),Xt=!1},d(e){e&&(i(Pe),i(Fe),i(Se),i(Be),i(H),i(qe),i($),i(Ne),i(b),i(Oe),i(Ue),i(ke),i(w),i(De),i(L),i(Re),i(Ge),i(y),i(Ye),i(M),i(ze),i(Ke),i(C),i(We),i(I),i(je),i(Xe),i(A),i(Ve),i(P),i(Je),i(Qe),i(B),i(Ze),i(q),i(et),i(tt),i(O),i(it),i(U),i(lt),i(nt),i(D),i(at),i(R),i(ot),i(G),i(st),i(rt),i(z),i(ft),i(K),i(ut),i(dt),i(j),i(ht),i(pt),i(V),i(ct),i(mt),i(Q),i(gt),i(_t),i(ee),i(Ht),i(te),i($t),i(bt),i(le),i(vt),i(ne),i(Tt),i(wt),i(oe),i(Lt),i(Et),i(re),i(yt),i(fe),i(Mt),i(xt),i(de),i(Ct),i(he),i(It),i(Ft),i(ce),i(At),i(me),i(Pt),i(St),i(_e),i(Bt),i(He),i(qt),i($e),i(Nt),i(Ot),i(ve),i(Ut),i(Te),i(kt),i(Dt),i(Le),i(Rt),i(Gt),i(ye),i(Yt),i(zt),i(xe),i(Kt),i(Ce),i(Wt),i(Ie),i(jt),i(Ae)),i(g),c(_,e),c(v,e),c(T,e),c(E,e),c(x,e),c(F,e),c(S,e),c(N,e),c(k,e),c(Y,e),c(W,e),c(X,e),c(J,e),c(Z,e),c(ie,e),c(ae,e),c(se,e),c(ue,e),c(pe,e),c(ge,e),c(be,e),c(we,e),c(Ee,e),c(Me,e)}}}const Ji='{"title":"Environment variables","local":"environment-variables","sections":[{"title":"Generic","local":"generic","sections":[{"title":"HF_ENDPOINT","local":"hfendpoint","sections":[],"depth":3},{"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 Qi(Vt){return zi(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class il extends Ki{constructor(g){super(),Wi(this,g,Qi,Vi,Gi,{})}}export{il as component};
