import{s as Vi,n as Ji,o as Qi}from"../chunks/scheduler.6062bdaf.js";import{S as Zi,i as en,g as o,s as l,r as f,A as tn,h as s,f as i,c as a,j as ji,u,x as r,k as Xi,y as nn,a as n,v as d,d as h,t as c,w as p}from"../chunks/index.4bca734e.js";import{H as m,E as ln}from"../chunks/EditOnGithub.74ab2baa.js";function an(ii){let g,Oe,Be,qe,_,Ne,H,ni="<code>huggingface_hub</code> can be configured using environment variables.",ke,$,li=`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>.`,Ue,b,ai=`This page will guide you through all environment variables specific to <code>huggingface_hub</code>
and their meaning.`,Re,v,De,T,Ge,w,oi=`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,E,si="Defaults to <code>&quot;https://api-inference.huggingface.com&quot;</code>.",Ke,L,ze,y,ri=`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,M,fi='Defaults to <code>&quot;~/.cache/huggingface&quot;</code> unless <a href="#xdgcachehome">XDG_CACHE_HOME</a> is set.',je,x,Xe,C,ui=`To configure where repositories from the Hub will be cached locally (models, datasets and
spaces).`,Ve,F,di="Defaults to <code>&quot;$HF_HOME/hub&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/hub&quot;</code> by default).",Je,A,Qe,I,hi=`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,S,ci="Defaults to <code>&quot;$HF_HOME/assets&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/assets&quot;</code> by default).",et,B,tt,P,pi=`To configure the User Access Token to authenticate to the Hub. If set, this value will
overwrite the token stored on the machine (in either <code>$HF_TOKEN_PATH</code> or <code>&quot;$HF_HOME/token&quot;</code> if the former is not set).`,it,O,mi='For more details about authentication, check out <a href="../quick-start#authentication">this section</a>.',nt,q,lt,N,gi="To configure where <code>huggingface_hub</code> should store the User Access Token. Defaults to <code>&quot;$HF_HOME/token&quot;</code> (e.g. <code>~/.cache/huggingface/token</code> by default).",at,k,ot,U,_i=`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>.`,st,R,Hi="Defaults to <code>&quot;warning&quot;</code>.",rt,D,$i='For more details, see <a href="../package_reference/utilities#huggingface_hub.utils.logging.get_verbosity">logging reference</a>.',ft,G,ut,Y,bi="This environment variable has been deprecated and is now ignored by <code>huggingface_hub</code>. Downloading files to the local dir does not rely on symlinks anymore.",dt,K,ht,z,vi="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.",ct,W,pt,j,Ti="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.",mt,X,gt,V,wi=`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>.`,_t,J,Ht,Q,Ei="If set, no HTTP calls will be made to the Hugging Face Hub. If you try to download files, only the cached files will be accessed. If no cache file is detected, an error is raised This is useful in case your network is slow and you don’t care about having the latest version of a file.",$t,Z,Li='If <code>HF_HUB_OFFLINE=1</code> is set as environment variable and you call any method of <a href="/docs/huggingface_hub/pr_2402/en/package_reference/hf_api#huggingface_hub.HfApi">HfApi</a>, an <a href="/docs/huggingface_hub/pr_2402/en/package_reference/utilities#huggingface_hub.errors.OfflineModeIsEnabled">OfflineModeIsEnabled</a> exception will be raised.',bt,ee,yi="<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.",vt,te,Tt,ie,Mi=`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).`,wt,ne,xi=`<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.`,Et,le,Lt,ae,Ci=`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>.`,yt,oe,Mt,se,Fi=`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.`,xt,re,Ai='For more details, see <a href="../guides/manage-cache#limitations">cache limitations</a>.',Ct,fe,Ft,ue,Ii=`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.`,At,de,Si="If you are using an experimental feature, please let us know! Your feedback can help us design and improve it.",It,he,St,ce,Bi=`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>).`,Bt,pe,Pi="You can set <code>HF_HUB_DISABLE_TELEMETRY=1</code> as environment variable to globally disable telemetry.",Pt,me,Ot,ge,Oi="Set to <code>True</code> for faster uploads and downloads from the Hub using <code>hf_transfer</code>.",qt,_e,qi=`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>:`,Nt,He,Ni=`<li>Specify the <code>hf_transfer</code> extra when installing <code>huggingface_hub</code>
(e.g. <code>pip install huggingface_hub[hf_transfer]</code>).</li> <li>Set <code>HF_HUB_ENABLE_HF_TRANSFER=1</code> as an environment variable.</li>`,kt,$e,ki="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>.",Ut,be,Rt,ve,Ui="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:",Dt,Te,Ri="<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>",Gt,we,Yt,Ee,Di="Some environment variables are not specific to <code>huggingface_hub</code> but are still taken into account when they are set.",Kt,Le,zt,ye,Gi='Boolean value. Equivalent to <code>HF_HUB_DISABLE_TELEMETRY</code>. When set to true, telemetry is globally disabled in the Hugging Face Python ecosystem (<code>transformers</code>, <code>diffusers</code>, <code>gradio</code>, etc.). See <a href="https://consoledonottrack.com/" rel="nofollow">https://consoledonottrack.com/</a> for more details.',Wt,Me,jt,xe,Yi=`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>.`,Xt,Ce,Vt,Fe,Ki="Used only when <code>HF_HOME</code> is not set!",Jt,Ae,zi=`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.`,Qt,Ie,Wi=`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>.`,Zt,Se,ei,Pe,ti;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"}}),L=new m({props:{title:"HF_HOME",local:"hfhome",headingTag:"h3"}}),x=new m({props:{title:"HF_HUB_CACHE",local:"hfhubcache",headingTag:"h3"}}),A=new m({props:{title:"HF_ASSETS_CACHE",local:"hfassetscache",headingTag:"h3"}}),B=new m({props:{title:"HF_TOKEN",local:"hftoken",headingTag:"h3"}}),q=new m({props:{title:"HF_TOKEN_PATH",local:"hftokenpath",headingTag:"h3"}}),k=new m({props:{title:"HF_HUB_VERBOSITY",local:"hfhubverbosity",headingTag:"h3"}}),G=new m({props:{title:"HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD",local:"hfhublocaldirautosymlinkthreshold",headingTag:"h3"}}),K=new m({props:{title:"HF_HUB_ETAG_TIMEOUT",local:"hfhubetagtimeout",headingTag:"h3"}}),W=new m({props:{title:"HF_HUB_DOWNLOAD_TIMEOUT",local:"hfhubdownloadtimeout",headingTag:"h3"}}),X=new m({props:{title:"Boolean values",local:"boolean-values",headingTag:"h2"}}),J=new m({props:{title:"HF_HUB_OFFLINE",local:"hfhuboffline",headingTag:"h3"}}),te=new m({props:{title:"HF_HUB_DISABLE_IMPLICIT_TOKEN",local:"hfhubdisableimplicittoken",headingTag:"h3"}}),le=new m({props:{title:"HF_HUB_DISABLE_PROGRESS_BARS",local:"hfhubdisableprogressbars",headingTag:"h3"}}),oe=new m({props:{title:"HF_HUB_DISABLE_SYMLINKS_WARNING",local:"hfhubdisablesymlinkswarning",headingTag:"h3"}}),fe=new m({props:{title:"HF_HUB_DISABLE_EXPERIMENTAL_WARNING",local:"hfhubdisableexperimentalwarning",headingTag:"h3"}}),he=new m({props:{title:"HF_HUB_DISABLE_TELEMETRY",local:"hfhubdisabletelemetry",headingTag:"h3"}}),me=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"}}),Le=new m({props:{title:"DO_NOT_TRACK",local:"donottrack",headingTag:"h3"}}),Me=new m({props:{title:"NO_COLOR",local:"nocolor",headingTag:"h3"}}),Ce=new m({props:{title:"XDG_CACHE_HOME",local:"xdgcachehome",headingTag:"h3"}}),Se=new ln({props:{source:"https://github.com/huggingface/huggingface_hub/blob/main/docs/source/en/package_reference/environment_variables.md"}}),{c(){g=o("meta"),Oe=l(),Be=o("p"),qe=l(),f(_.$$.fragment),Ne=l(),H=o("p"),H.innerHTML=ni,ke=l(),$=o("p"),$.innerHTML=li,Ue=l(),b=o("p"),b.innerHTML=ai,Re=l(),f(v.$$.fragment),De=l(),f(T.$$.fragment),Ge=l(),w=o("p"),w.textContent=oi,Ye=l(),E=o("p"),E.innerHTML=si,Ke=l(),f(L.$$.fragment),ze=l(),y=o("p"),y.innerHTML=ri,We=l(),M=o("p"),M.innerHTML=fi,je=l(),f(x.$$.fragment),Xe=l(),C=o("p"),C.textContent=ui,Ve=l(),F=o("p"),F.innerHTML=di,Je=l(),f(A.$$.fragment),Qe=l(),I=o("p"),I.innerHTML=hi,Ze=l(),S=o("p"),S.innerHTML=ci,et=l(),f(B.$$.fragment),tt=l(),P=o("p"),P.innerHTML=pi,it=l(),O=o("p"),O.innerHTML=mi,nt=l(),f(q.$$.fragment),lt=l(),N=o("p"),N.innerHTML=gi,at=l(),f(k.$$.fragment),ot=l(),U=o("p"),U.innerHTML=_i,st=l(),R=o("p"),R.innerHTML=Hi,rt=l(),D=o("p"),D.innerHTML=$i,ft=l(),f(G.$$.fragment),ut=l(),Y=o("p"),Y.innerHTML=bi,dt=l(),f(K.$$.fragment),ht=l(),z=o("p"),z.innerHTML=vi,ct=l(),f(W.$$.fragment),pt=l(),j=o("p"),j.textContent=Ti,mt=l(),f(X.$$.fragment),gt=l(),V=o("p"),V.innerHTML=wi,_t=l(),f(J.$$.fragment),Ht=l(),Q=o("p"),Q.textContent=Ei,$t=l(),Z=o("p"),Z.innerHTML=Li,bt=l(),ee=o("p"),ee.innerHTML=yi,vt=l(),f(te.$$.fragment),Tt=l(),ie=o("p"),ie.innerHTML=Mi,wt=l(),ne=o("p"),ne.innerHTML=xi,Et=l(),f(le.$$.fragment),Lt=l(),ae=o("p"),ae.innerHTML=Ci,yt=l(),f(oe.$$.fragment),Mt=l(),se=o("p"),se.innerHTML=Fi,xt=l(),re=o("p"),re.innerHTML=Ai,Ct=l(),f(fe.$$.fragment),Ft=l(),ue=o("p"),ue.innerHTML=Ii,At=l(),de=o("p"),de.textContent=Si,It=l(),f(he.$$.fragment),St=l(),ce=o("p"),ce.innerHTML=Bi,Bt=l(),pe=o("p"),pe.innerHTML=Pi,Pt=l(),f(me.$$.fragment),Ot=l(),ge=o("p"),ge.innerHTML=Oi,qt=l(),_e=o("p"),_e.innerHTML=qi,Nt=l(),He=o("ol"),He.innerHTML=Ni,kt=l(),$e=o("p"),$e.innerHTML=ki,Ut=l(),f(be.$$.fragment),Rt=l(),ve=o("p"),ve.textContent=Ui,Dt=l(),Te=o("table"),Te.innerHTML=Ri,Gt=l(),f(we.$$.fragment),Yt=l(),Ee=o("p"),Ee.innerHTML=Di,Kt=l(),f(Le.$$.fragment),zt=l(),ye=o("p"),ye.innerHTML=Gi,Wt=l(),f(Me.$$.fragment),jt=l(),xe=o("p"),xe.innerHTML=Yi,Xt=l(),f(Ce.$$.fragment),Vt=l(),Fe=o("p"),Fe.innerHTML=Ki,Jt=l(),Ae=o("p"),Ae.innerHTML=zi,Qt=l(),Ie=o("p"),Ie.innerHTML=Wi,Zt=l(),f(Se.$$.fragment),ei=l(),Pe=o("p"),this.h()},l(e){const t=tn("svelte-u9bgzb",document.head);g=s(t,"META",{name:!0,content:!0}),t.forEach(i),Oe=a(e),Be=s(e,"P",{}),ji(Be).forEach(i),qe=a(e),u(_.$$.fragment,e),Ne=a(e),H=s(e,"P",{"data-svelte-h":!0}),r(H)!=="svelte-1xuew16"&&(H.innerHTML=ni),ke=a(e),$=s(e,"P",{"data-svelte-h":!0}),r($)!=="svelte-1by1ave"&&($.innerHTML=li),Ue=a(e),b=s(e,"P",{"data-svelte-h":!0}),r(b)!=="svelte-5z5k2g"&&(b.innerHTML=ai),Re=a(e),u(v.$$.fragment,e),De=a(e),u(T.$$.fragment,e),Ge=a(e),w=s(e,"P",{"data-svelte-h":!0}),r(w)!=="svelte-178hqev"&&(w.textContent=oi),Ye=a(e),E=s(e,"P",{"data-svelte-h":!0}),r(E)!=="svelte-1jcmi14"&&(E.innerHTML=si),Ke=a(e),u(L.$$.fragment,e),ze=a(e),y=s(e,"P",{"data-svelte-h":!0}),r(y)!=="svelte-uz9mxv"&&(y.innerHTML=ri),We=a(e),M=s(e,"P",{"data-svelte-h":!0}),r(M)!=="svelte-1x0d3ca"&&(M.innerHTML=fi),je=a(e),u(x.$$.fragment,e),Xe=a(e),C=s(e,"P",{"data-svelte-h":!0}),r(C)!=="svelte-lfw4ab"&&(C.textContent=ui),Ve=a(e),F=s(e,"P",{"data-svelte-h":!0}),r(F)!=="svelte-a5p60a"&&(F.innerHTML=di),Je=a(e),u(A.$$.fragment,e),Qe=a(e),I=s(e,"P",{"data-svelte-h":!0}),r(I)!=="svelte-ksjawo"&&(I.innerHTML=hi),Ze=a(e),S=s(e,"P",{"data-svelte-h":!0}),r(S)!=="svelte-3wzlwo"&&(S.innerHTML=ci),et=a(e),u(B.$$.fragment,e),tt=a(e),P=s(e,"P",{"data-svelte-h":!0}),r(P)!=="svelte-81jzle"&&(P.innerHTML=pi),it=a(e),O=s(e,"P",{"data-svelte-h":!0}),r(O)!=="svelte-pa4dpn"&&(O.innerHTML=mi),nt=a(e),u(q.$$.fragment,e),lt=a(e),N=s(e,"P",{"data-svelte-h":!0}),r(N)!=="svelte-ks6kva"&&(N.innerHTML=gi),at=a(e),u(k.$$.fragment,e),ot=a(e),U=s(e,"P",{"data-svelte-h":!0}),r(U)!=="svelte-t9rwl1"&&(U.innerHTML=_i),st=a(e),R=s(e,"P",{"data-svelte-h":!0}),r(R)!=="svelte-4zt9wc"&&(R.innerHTML=Hi),rt=a(e),D=s(e,"P",{"data-svelte-h":!0}),r(D)!=="svelte-5rzz4d"&&(D.innerHTML=$i),ft=a(e),u(G.$$.fragment,e),ut=a(e),Y=s(e,"P",{"data-svelte-h":!0}),r(Y)!=="svelte-1kpds0m"&&(Y.innerHTML=bi),dt=a(e),u(K.$$.fragment,e),ht=a(e),z=s(e,"P",{"data-svelte-h":!0}),r(z)!=="svelte-14q9j1n"&&(z.innerHTML=vi),ct=a(e),u(W.$$.fragment,e),pt=a(e),j=s(e,"P",{"data-svelte-h":!0}),r(j)!=="svelte-8qjsc"&&(j.textContent=Ti),mt=a(e),u(X.$$.fragment,e),gt=a(e),V=s(e,"P",{"data-svelte-h":!0}),r(V)!=="svelte-1enkv8e"&&(V.innerHTML=wi),_t=a(e),u(J.$$.fragment,e),Ht=a(e),Q=s(e,"P",{"data-svelte-h":!0}),r(Q)!=="svelte-1uojfms"&&(Q.textContent=Ei),$t=a(e),Z=s(e,"P",{"data-svelte-h":!0}),r(Z)!=="svelte-fnebu"&&(Z.innerHTML=Li),bt=a(e),ee=s(e,"P",{"data-svelte-h":!0}),r(ee)!=="svelte-p6ydxq"&&(ee.innerHTML=yi),vt=a(e),u(te.$$.fragment,e),Tt=a(e),ie=s(e,"P",{"data-svelte-h":!0}),r(ie)!=="svelte-1gxpflx"&&(ie.innerHTML=Mi),wt=a(e),ne=s(e,"P",{"data-svelte-h":!0}),r(ne)!=="svelte-d0rh1g"&&(ne.innerHTML=xi),Et=a(e),u(le.$$.fragment,e),Lt=a(e),ae=s(e,"P",{"data-svelte-h":!0}),r(ae)!=="svelte-192tmol"&&(ae.innerHTML=Ci),yt=a(e),u(oe.$$.fragment,e),Mt=a(e),se=s(e,"P",{"data-svelte-h":!0}),r(se)!=="svelte-1a5ggf9"&&(se.innerHTML=Fi),xt=a(e),re=s(e,"P",{"data-svelte-h":!0}),r(re)!=="svelte-1wsb5xe"&&(re.innerHTML=Ai),Ct=a(e),u(fe.$$.fragment,e),Ft=a(e),ue=s(e,"P",{"data-svelte-h":!0}),r(ue)!=="svelte-16gkjc3"&&(ue.innerHTML=Ii),At=a(e),de=s(e,"P",{"data-svelte-h":!0}),r(de)!=="svelte-140g1ix"&&(de.textContent=Si),It=a(e),u(he.$$.fragment,e),St=a(e),ce=s(e,"P",{"data-svelte-h":!0}),r(ce)!=="svelte-yphpce"&&(ce.innerHTML=Bi),Bt=a(e),pe=s(e,"P",{"data-svelte-h":!0}),r(pe)!=="svelte-h3tzls"&&(pe.innerHTML=Pi),Pt=a(e),u(me.$$.fragment,e),Ot=a(e),ge=s(e,"P",{"data-svelte-h":!0}),r(ge)!=="svelte-1nmal47"&&(ge.innerHTML=Oi),qt=a(e),_e=s(e,"P",{"data-svelte-h":!0}),r(_e)!=="svelte-1qiqswm"&&(_e.innerHTML=qi),Nt=a(e),He=s(e,"OL",{"data-svelte-h":!0}),r(He)!=="svelte-qiartd"&&(He.innerHTML=Ni),kt=a(e),$e=s(e,"P",{"data-svelte-h":!0}),r($e)!=="svelte-a4nd83"&&($e.innerHTML=ki),Ut=a(e),u(be.$$.fragment,e),Rt=a(e),ve=s(e,"P",{"data-svelte-h":!0}),r(ve)!=="svelte-1xlsmjd"&&(ve.textContent=Ui),Dt=a(e),Te=s(e,"TABLE",{"data-svelte-h":!0}),r(Te)!=="svelte-19wux3d"&&(Te.innerHTML=Ri),Gt=a(e),u(we.$$.fragment,e),Yt=a(e),Ee=s(e,"P",{"data-svelte-h":!0}),r(Ee)!=="svelte-6ntlb2"&&(Ee.innerHTML=Di),Kt=a(e),u(Le.$$.fragment,e),zt=a(e),ye=s(e,"P",{"data-svelte-h":!0}),r(ye)!=="svelte-yngnil"&&(ye.innerHTML=Gi),Wt=a(e),u(Me.$$.fragment,e),jt=a(e),xe=s(e,"P",{"data-svelte-h":!0}),r(xe)!=="svelte-16nqegp"&&(xe.innerHTML=Yi),Xt=a(e),u(Ce.$$.fragment,e),Vt=a(e),Fe=s(e,"P",{"data-svelte-h":!0}),r(Fe)!=="svelte-38e7oi"&&(Fe.innerHTML=Ki),Jt=a(e),Ae=s(e,"P",{"data-svelte-h":!0}),r(Ae)!=="svelte-khdsxn"&&(Ae.innerHTML=zi),Qt=a(e),Ie=s(e,"P",{"data-svelte-h":!0}),r(Ie)!=="svelte-hhj9xt"&&(Ie.innerHTML=Wi),Zt=a(e),u(Se.$$.fragment,e),ei=a(e),Pe=s(e,"P",{}),ji(Pe).forEach(i),this.h()},h(){Xi(g,"name","hf:doc:metadata"),Xi(g,"content",on)},m(e,t){nn(document.head,g),n(e,Oe,t),n(e,Be,t),n(e,qe,t),d(_,e,t),n(e,Ne,t),n(e,H,t),n(e,ke,t),n(e,$,t),n(e,Ue,t),n(e,b,t),n(e,Re,t),d(v,e,t),n(e,De,t),d(T,e,t),n(e,Ge,t),n(e,w,t),n(e,Ye,t),n(e,E,t),n(e,Ke,t),d(L,e,t),n(e,ze,t),n(e,y,t),n(e,We,t),n(e,M,t),n(e,je,t),d(x,e,t),n(e,Xe,t),n(e,C,t),n(e,Ve,t),n(e,F,t),n(e,Je,t),d(A,e,t),n(e,Qe,t),n(e,I,t),n(e,Ze,t),n(e,S,t),n(e,et,t),d(B,e,t),n(e,tt,t),n(e,P,t),n(e,it,t),n(e,O,t),n(e,nt,t),d(q,e,t),n(e,lt,t),n(e,N,t),n(e,at,t),d(k,e,t),n(e,ot,t),n(e,U,t),n(e,st,t),n(e,R,t),n(e,rt,t),n(e,D,t),n(e,ft,t),d(G,e,t),n(e,ut,t),n(e,Y,t),n(e,dt,t),d(K,e,t),n(e,ht,t),n(e,z,t),n(e,ct,t),d(W,e,t),n(e,pt,t),n(e,j,t),n(e,mt,t),d(X,e,t),n(e,gt,t),n(e,V,t),n(e,_t,t),d(J,e,t),n(e,Ht,t),n(e,Q,t),n(e,$t,t),n(e,Z,t),n(e,bt,t),n(e,ee,t),n(e,vt,t),d(te,e,t),n(e,Tt,t),n(e,ie,t),n(e,wt,t),n(e,ne,t),n(e,Et,t),d(le,e,t),n(e,Lt,t),n(e,ae,t),n(e,yt,t),d(oe,e,t),n(e,Mt,t),n(e,se,t),n(e,xt,t),n(e,re,t),n(e,Ct,t),d(fe,e,t),n(e,Ft,t),n(e,ue,t),n(e,At,t),n(e,de,t),n(e,It,t),d(he,e,t),n(e,St,t),n(e,ce,t),n(e,Bt,t),n(e,pe,t),n(e,Pt,t),d(me,e,t),n(e,Ot,t),n(e,ge,t),n(e,qt,t),n(e,_e,t),n(e,Nt,t),n(e,He,t),n(e,kt,t),n(e,$e,t),n(e,Ut,t),d(be,e,t),n(e,Rt,t),n(e,ve,t),n(e,Dt,t),n(e,Te,t),n(e,Gt,t),d(we,e,t),n(e,Yt,t),n(e,Ee,t),n(e,Kt,t),d(Le,e,t),n(e,zt,t),n(e,ye,t),n(e,Wt,t),d(Me,e,t),n(e,jt,t),n(e,xe,t),n(e,Xt,t),d(Ce,e,t),n(e,Vt,t),n(e,Fe,t),n(e,Jt,t),n(e,Ae,t),n(e,Qt,t),n(e,Ie,t),n(e,Zt,t),d(Se,e,t),n(e,ei,t),n(e,Pe,t),ti=!0},p:Ji,i(e){ti||(h(_.$$.fragment,e),h(v.$$.fragment,e),h(T.$$.fragment,e),h(L.$$.fragment,e),h(x.$$.fragment,e),h(A.$$.fragment,e),h(B.$$.fragment,e),h(q.$$.fragment,e),h(k.$$.fragment,e),h(G.$$.fragment,e),h(K.$$.fragment,e),h(W.$$.fragment,e),h(X.$$.fragment,e),h(J.$$.fragment,e),h(te.$$.fragment,e),h(le.$$.fragment,e),h(oe.$$.fragment,e),h(fe.$$.fragment,e),h(he.$$.fragment,e),h(me.$$.fragment,e),h(be.$$.fragment,e),h(we.$$.fragment,e),h(Le.$$.fragment,e),h(Me.$$.fragment,e),h(Ce.$$.fragment,e),h(Se.$$.fragment,e),ti=!0)},o(e){c(_.$$.fragment,e),c(v.$$.fragment,e),c(T.$$.fragment,e),c(L.$$.fragment,e),c(x.$$.fragment,e),c(A.$$.fragment,e),c(B.$$.fragment,e),c(q.$$.fragment,e),c(k.$$.fragment,e),c(G.$$.fragment,e),c(K.$$.fragment,e),c(W.$$.fragment,e),c(X.$$.fragment,e),c(J.$$.fragment,e),c(te.$$.fragment,e),c(le.$$.fragment,e),c(oe.$$.fragment,e),c(fe.$$.fragment,e),c(he.$$.fragment,e),c(me.$$.fragment,e),c(be.$$.fragment,e),c(we.$$.fragment,e),c(Le.$$.fragment,e),c(Me.$$.fragment,e),c(Ce.$$.fragment,e),c(Se.$$.fragment,e),ti=!1},d(e){e&&(i(Oe),i(Be),i(qe),i(Ne),i(H),i(ke),i($),i(Ue),i(b),i(Re),i(De),i(Ge),i(w),i(Ye),i(E),i(Ke),i(ze),i(y),i(We),i(M),i(je),i(Xe),i(C),i(Ve),i(F),i(Je),i(Qe),i(I),i(Ze),i(S),i(et),i(tt),i(P),i(it),i(O),i(nt),i(lt),i(N),i(at),i(ot),i(U),i(st),i(R),i(rt),i(D),i(ft),i(ut),i(Y),i(dt),i(ht),i(z),i(ct),i(pt),i(j),i(mt),i(gt),i(V),i(_t),i(Ht),i(Q),i($t),i(Z),i(bt),i(ee),i(vt),i(Tt),i(ie),i(wt),i(ne),i(Et),i(Lt),i(ae),i(yt),i(Mt),i(se),i(xt),i(re),i(Ct),i(Ft),i(ue),i(At),i(de),i(It),i(St),i(ce),i(Bt),i(pe),i(Pt),i(Ot),i(ge),i(qt),i(_e),i(Nt),i(He),i(kt),i($e),i(Ut),i(Rt),i(ve),i(Dt),i(Te),i(Gt),i(Yt),i(Ee),i(Kt),i(zt),i(ye),i(Wt),i(jt),i(xe),i(Xt),i(Vt),i(Fe),i(Jt),i(Ae),i(Qt),i(Ie),i(Zt),i(ei),i(Pe)),i(g),p(_,e),p(v,e),p(T,e),p(L,e),p(x,e),p(A,e),p(B,e),p(q,e),p(k,e),p(G,e),p(K,e),p(W,e),p(X,e),p(J,e),p(te,e),p(le,e),p(oe,e),p(fe,e),p(he,e),p(me,e),p(be,e),p(we,e),p(Le,e),p(Me,e),p(Ce,e),p(Se,e)}}}const on='{"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_TOKEN_PATH","local":"hftokenpath","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":"DO_NOT_TRACK","local":"donottrack","sections":[],"depth":3},{"title":"NO_COLOR","local":"nocolor","sections":[],"depth":3},{"title":"XDG_CACHE_HOME","local":"xdgcachehome","sections":[],"depth":3}],"depth":2}],"depth":1}';function sn(ii){return Qi(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class dn extends Zi{constructor(g){super(),en(this,g,sn,an,Vi,{})}}export{dn as component};
