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