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 Ri,u,x as r,k as Di,y as Xi,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 Vi(Vt){let g,Be,Fe,Pe,_,Se,H,Jt="<code>huggingface_hub</code> can be configured using environment variables.",qe,b,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,$,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 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.`,Re,E,ti="Defaults to <code>&quot;https://api-inference.huggingface.com&quot;</code>.",De,L,Ge,y,ii=`To configure where <code>huggingface_hub</code> will locally store data. In particular, your token
and the cache will be stored in this folder.`,Ye,M,li='Defaults to <code>&quot;~/.cache/huggingface&quot;</code> unless <a href="#xdgcachehome">XDG_CACHE_HOME</a> is set.',ze,x,Ke,C,ni=`To configure where repositories from the Hub will be cached locally (models, datasets and
spaces).`,We,I,ai="Defaults to <code>&quot;$HF_HOME/hub&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/hub&quot;</code> by default).",je,F,Xe,A,oi=`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,…`,Ve,B,si="Defaults to <code>&quot;$HF_HOME/assets&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/assets&quot;</code> by default).",Je,P,Qe,S,ri=`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>).`,Ze,q,fi='For more details about authentication, check out <a href="../quick-start#authentication">this section</a>.',et,N,tt,O,ui=`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>.`,it,U,di="Defaults to <code>&quot;warning&quot;</code>.",lt,k,hi='For more details, see <a href="../package_reference/utilities#huggingface_hub.utils.logging.get_verbosity">logging reference</a>.',nt,R,at,D,ci=`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.`,ot,G,pi='For more details, see the <a href="../guides/download#download-files-to-local-folder">download guide</a>.',st,Y,rt,z,mi="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.",ft,K,ut,W,gi="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.",dt,j,ht,X,_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>.`,ct,V,pt,J,Hi="If set, no HTTP calls will me 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.",mt,Q,bi='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.utils.OfflineModeIsEnabled">OfflineModeIsEnabled</a> exception will be raised.',gt,Z,$i="<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,ee,Ht,te,vi=`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).`,bt,ie,Ti=`<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.`,$t,le,vt,ne,wi=`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>.`,Tt,ae,wt,oe,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.`,Et,se,Li='For more details, see <a href="../guides/manage-cache#limitations">cache limitations</a>.',Lt,re,yt,fe,yi=`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.`,Mt,ue,Mi="If you are using an experimental feature, please let us know! Your feedback can help us design and improve it.",xt,de,Ct,he,xi=`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>).`,It,ce,Ci="You can set <code>HF_HUB_DISABLE_TELEMETRY=1</code> as environment variable to globally disable telemetry.",Ft,pe,At,me,Ii="Set to <code>True</code> for faster uploads and downloads from the Hub using <code>hf_transfer</code>.",Bt,ge,Fi='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.',Pt,_e,Ai="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>.",St,He,qt,be,Bi="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:",Nt,$e,Pi="<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>",Ot,ve,Ut,Te,Si="Some environment variables are not specific to <code>huggingface_hub</code> but are still taken into account when they are set.",kt,we,Rt,Ee,qi='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.',Dt,Le,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_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"}}),F=new m({props:{title:"HF_ASSETS_CACHE",local:"hfassetscache",headingTag:"h3"}}),P=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"}}),ee=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"}}),ae=new m({props:{title:"HF_HUB_DISABLE_SYMLINKS_WARNING",local:"hfhubdisablesymlinkswarning",headingTag:"h3"}}),re=new m({props:{title:"HF_HUB_DISABLE_EXPERIMENTAL_WARNING",local:"hfhubdisableexperimentalwarning",headingTag:"h3"}}),de=new m({props:{title:"HF_HUB_DISABLE_TELEMETRY",local:"hfhubdisabletelemetry",headingTag:"h3"}}),pe=new m({props:{title:"HF_HUB_ENABLE_HF_TRANSFER",local:"hfhubenablehftransfer",headingTag:"h3"}}),He=new m({props:{title:"Deprecated environment variables",local:"deprecated-environment-variables",headingTag:"h2"}}),ve=new m({props:{title:"From external tools",local:"from-external-tools",headingTag:"h2"}}),we=new m({props:{title:"DO_NOT_TRACK",local:"donottrack",headingTag:"h3"}}),Le=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"),Be=n(),Fe=o("p"),Pe=n(),f(_.$$.fragment),Se=n(),H=o("p"),H.innerHTML=Jt,qe=n(),b=o("p"),b.innerHTML=Qt,Ne=n(),$=o("p"),$.innerHTML=Zt,Oe=n(),f(v.$$.fragment),Ue=n(),f(T.$$.fragment),ke=n(),w=o("p"),w.textContent=ei,Re=n(),E=o("p"),E.innerHTML=ti,De=n(),f(L.$$.fragment),Ge=n(),y=o("p"),y.innerHTML=ii,Ye=n(),M=o("p"),M.innerHTML=li,ze=n(),f(x.$$.fragment),Ke=n(),C=o("p"),C.textContent=ni,We=n(),I=o("p"),I.innerHTML=ai,je=n(),f(F.$$.fragment),Xe=n(),A=o("p"),A.innerHTML=oi,Ve=n(),B=o("p"),B.innerHTML=si,Je=n(),f(P.$$.fragment),Qe=n(),S=o("p"),S.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(),k=o("p"),k.innerHTML=hi,nt=n(),f(R.$$.fragment),at=n(),D=o("p"),D.textContent=ci,ot=n(),G=o("p"),G.innerHTML=pi,st=n(),f(Y.$$.fragment),rt=n(),z=o("p"),z.innerHTML=mi,ft=n(),f(K.$$.fragment),ut=n(),W=o("p"),W.textContent=gi,dt=n(),f(j.$$.fragment),ht=n(),X=o("p"),X.innerHTML=_i,ct=n(),f(V.$$.fragment),pt=n(),J=o("p"),J.textContent=Hi,mt=n(),Q=o("p"),Q.innerHTML=bi,gt=n(),Z=o("p"),Z.innerHTML=$i,_t=n(),f(ee.$$.fragment),Ht=n(),te=o("p"),te.innerHTML=vi,bt=n(),ie=o("p"),ie.innerHTML=Ti,$t=n(),f(le.$$.fragment),vt=n(),ne=o("p"),ne.innerHTML=wi,Tt=n(),f(ae.$$.fragment),wt=n(),oe=o("p"),oe.innerHTML=Ei,Et=n(),se=o("p"),se.innerHTML=Li,Lt=n(),f(re.$$.fragment),yt=n(),fe=o("p"),fe.innerHTML=yi,Mt=n(),ue=o("p"),ue.textContent=Mi,xt=n(),f(de.$$.fragment),Ct=n(),he=o("p"),he.innerHTML=xi,It=n(),ce=o("p"),ce.innerHTML=Ci,Ft=n(),f(pe.$$.fragment),At=n(),me=o("p"),me.innerHTML=Ii,Bt=n(),ge=o("p"),ge.innerHTML=Fi,Pt=n(),_e=o("p"),_e.innerHTML=Ai,St=n(),f(He.$$.fragment),qt=n(),be=o("p"),be.textContent=Bi,Nt=n(),$e=o("table"),$e.innerHTML=Pi,Ot=n(),f(ve.$$.fragment),Ut=n(),Te=o("p"),Te.innerHTML=Si,kt=n(),f(we.$$.fragment),Rt=n(),Ee=o("p"),Ee.innerHTML=qi,Dt=n(),f(Le.$$.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),Be=a(e),Fe=s(e,"P",{}),Ri(Fe).forEach(i),Pe=a(e),u(_.$$.fragment,e),Se=a(e),H=s(e,"P",{"data-svelte-h":!0}),r(H)!=="svelte-1xuew16"&&(H.innerHTML=Jt),qe=a(e),b=s(e,"P",{"data-svelte-h":!0}),r(b)!=="svelte-1by1ave"&&(b.innerHTML=Qt),Ne=a(e),$=s(e,"P",{"data-svelte-h":!0}),r($)!=="svelte-5z5k2g"&&($.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-178hqev"&&(w.textContent=ei),Re=a(e),E=s(e,"P",{"data-svelte-h":!0}),r(E)!=="svelte-1jcmi14"&&(E.innerHTML=ti),De=a(e),u(L.$$.fragment,e),Ge=a(e),y=s(e,"P",{"data-svelte-h":!0}),r(y)!=="svelte-uz9mxv"&&(y.innerHTML=ii),Ye=a(e),M=s(e,"P",{"data-svelte-h":!0}),r(M)!=="svelte-1x0d3ca"&&(M.innerHTML=li),ze=a(e),u(x.$$.fragment,e),Ke=a(e),C=s(e,"P",{"data-svelte-h":!0}),r(C)!=="svelte-lfw4ab"&&(C.textContent=ni),We=a(e),I=s(e,"P",{"data-svelte-h":!0}),r(I)!=="svelte-a5p60a"&&(I.innerHTML=ai),je=a(e),u(F.$$.fragment,e),Xe=a(e),A=s(e,"P",{"data-svelte-h":!0}),r(A)!=="svelte-ksjawo"&&(A.innerHTML=oi),Ve=a(e),B=s(e,"P",{"data-svelte-h":!0}),r(B)!=="svelte-3wzlwo"&&(B.innerHTML=si),Je=a(e),u(P.$$.fragment,e),Qe=a(e),S=s(e,"P",{"data-svelte-h":!0}),r(S)!=="svelte-dnq5h3"&&(S.innerHTML=ri),Ze=a(e),q=s(e,"P",{"data-svelte-h":!0}),r(q)!=="svelte-pa4dpn"&&(q.innerHTML=fi),et=a(e),u(N.$$.fragment,e),tt=a(e),O=s(e,"P",{"data-svelte-h":!0}),r(O)!=="svelte-t9rwl1"&&(O.innerHTML=ui),it=a(e),U=s(e,"P",{"data-svelte-h":!0}),r(U)!=="svelte-4zt9wc"&&(U.innerHTML=di),lt=a(e),k=s(e,"P",{"data-svelte-h":!0}),r(k)!=="svelte-5rzz4d"&&(k.innerHTML=hi),nt=a(e),u(R.$$.fragment,e),at=a(e),D=s(e,"P",{"data-svelte-h":!0}),r(D)!=="svelte-gmny4d"&&(D.textContent=ci),ot=a(e),G=s(e,"P",{"data-svelte-h":!0}),r(G)!=="svelte-18kg6sw"&&(G.innerHTML=pi),st=a(e),u(Y.$$.fragment,e),rt=a(e),z=s(e,"P",{"data-svelte-h":!0}),r(z)!=="svelte-14q9j1n"&&(z.innerHTML=mi),ft=a(e),u(K.$$.fragment,e),ut=a(e),W=s(e,"P",{"data-svelte-h":!0}),r(W)!=="svelte-8qjsc"&&(W.textContent=gi),dt=a(e),u(j.$$.fragment,e),ht=a(e),X=s(e,"P",{"data-svelte-h":!0}),r(X)!=="svelte-1enkv8e"&&(X.innerHTML=_i),ct=a(e),u(V.$$.fragment,e),pt=a(e),J=s(e,"P",{"data-svelte-h":!0}),r(J)!=="svelte-l2giw3"&&(J.textContent=Hi),mt=a(e),Q=s(e,"P",{"data-svelte-h":!0}),r(Q)!=="svelte-cnu0r8"&&(Q.innerHTML=bi),gt=a(e),Z=s(e,"P",{"data-svelte-h":!0}),r(Z)!=="svelte-p6ydxq"&&(Z.innerHTML=$i),_t=a(e),u(ee.$$.fragment,e),Ht=a(e),te=s(e,"P",{"data-svelte-h":!0}),r(te)!=="svelte-1gxpflx"&&(te.innerHTML=vi),bt=a(e),ie=s(e,"P",{"data-svelte-h":!0}),r(ie)!=="svelte-d0rh1g"&&(ie.innerHTML=Ti),$t=a(e),u(le.$$.fragment,e),vt=a(e),ne=s(e,"P",{"data-svelte-h":!0}),r(ne)!=="svelte-192tmol"&&(ne.innerHTML=wi),Tt=a(e),u(ae.$$.fragment,e),wt=a(e),oe=s(e,"P",{"data-svelte-h":!0}),r(oe)!=="svelte-1a5ggf9"&&(oe.innerHTML=Ei),Et=a(e),se=s(e,"P",{"data-svelte-h":!0}),r(se)!=="svelte-1wsb5xe"&&(se.innerHTML=Li),Lt=a(e),u(re.$$.fragment,e),yt=a(e),fe=s(e,"P",{"data-svelte-h":!0}),r(fe)!=="svelte-16gkjc3"&&(fe.innerHTML=yi),Mt=a(e),ue=s(e,"P",{"data-svelte-h":!0}),r(ue)!=="svelte-140g1ix"&&(ue.textContent=Mi),xt=a(e),u(de.$$.fragment,e),Ct=a(e),he=s(e,"P",{"data-svelte-h":!0}),r(he)!=="svelte-yphpce"&&(he.innerHTML=xi),It=a(e),ce=s(e,"P",{"data-svelte-h":!0}),r(ce)!=="svelte-h3tzls"&&(ce.innerHTML=Ci),Ft=a(e),u(pe.$$.fragment,e),At=a(e),me=s(e,"P",{"data-svelte-h":!0}),r(me)!=="svelte-1nmal47"&&(me.innerHTML=Ii),Bt=a(e),ge=s(e,"P",{"data-svelte-h":!0}),r(ge)!=="svelte-vczl1p"&&(ge.innerHTML=Fi),Pt=a(e),_e=s(e,"P",{"data-svelte-h":!0}),r(_e)!=="svelte-a4nd83"&&(_e.innerHTML=Ai),St=a(e),u(He.$$.fragment,e),qt=a(e),be=s(e,"P",{"data-svelte-h":!0}),r(be)!=="svelte-1xlsmjd"&&(be.textContent=Bi),Nt=a(e),$e=s(e,"TABLE",{"data-svelte-h":!0}),r($e)!=="svelte-19wux3d"&&($e.innerHTML=Pi),Ot=a(e),u(ve.$$.fragment,e),Ut=a(e),Te=s(e,"P",{"data-svelte-h":!0}),r(Te)!=="svelte-6ntlb2"&&(Te.innerHTML=Si),kt=a(e),u(we.$$.fragment,e),Rt=a(e),Ee=s(e,"P",{"data-svelte-h":!0}),r(Ee)!=="svelte-yngnil"&&(Ee.innerHTML=qi),Dt=a(e),u(Le.$$.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",{}),Ri(Ae).forEach(i),this.h()},h(){Di(g,"name","hf:doc:metadata"),Di(g,"content",Ji)},m(e,t){Xi(document.head,g),l(e,Be,t),l(e,Fe,t),l(e,Pe,t),d(_,e,t),l(e,Se,t),l(e,H,t),l(e,qe,t),l(e,b,t),l(e,Ne,t),l(e,$,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,Re,t),l(e,E,t),l(e,De,t),d(L,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,B,t),l(e,Je,t),d(P,e,t),l(e,Qe,t),l(e,S,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),l(e,k,t),l(e,nt,t),d(R,e,t),l(e,at,t),l(e,D,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),d(K,e,t),l(e,ut,t),l(e,W,t),l(e,dt,t),d(j,e,t),l(e,ht,t),l(e,X,t),l(e,ct,t),d(V,e,t),l(e,pt,t),l(e,J,t),l(e,mt,t),l(e,Q,t),l(e,gt,t),l(e,Z,t),l(e,_t,t),d(ee,e,t),l(e,Ht,t),l(e,te,t),l(e,bt,t),l(e,ie,t),l(e,$t,t),d(le,e,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,Et,t),l(e,se,t),l(e,Lt,t),d(re,e,t),l(e,yt,t),l(e,fe,t),l(e,Mt,t),l(e,ue,t),l(e,xt,t),d(de,e,t),l(e,Ct,t),l(e,he,t),l(e,It,t),l(e,ce,t),l(e,Ft,t),d(pe,e,t),l(e,At,t),l(e,me,t),l(e,Bt,t),l(e,ge,t),l(e,Pt,t),l(e,_e,t),l(e,St,t),d(He,e,t),l(e,qt,t),l(e,be,t),l(e,Nt,t),l(e,$e,t),l(e,Ot,t),d(ve,e,t),l(e,Ut,t),l(e,Te,t),l(e,kt,t),d(we,e,t),l(e,Rt,t),l(e,Ee,t),l(e,Dt,t),d(Le,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(L.$$.fragment,e),h(x.$$.fragment,e),h(F.$$.fragment,e),h(P.$$.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(ee.$$.fragment,e),h(le.$$.fragment,e),h(ae.$$.fragment,e),h(re.$$.fragment,e),h(de.$$.fragment,e),h(pe.$$.fragment,e),h(He.$$.fragment,e),h(ve.$$.fragment,e),h(we.$$.fragment,e),h(Le.$$.fragment,e),h(Me.$$.fragment,e),Xt=!0)},o(e){c(_.$$.fragment,e),c(v.$$.fragment,e),c(T.$$.fragment,e),c(L.$$.fragment,e),c(x.$$.fragment,e),c(F.$$.fragment,e),c(P.$$.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(ee.$$.fragment,e),c(le.$$.fragment,e),c(ae.$$.fragment,e),c(re.$$.fragment,e),c(de.$$.fragment,e),c(pe.$$.fragment,e),c(He.$$.fragment,e),c(ve.$$.fragment,e),c(we.$$.fragment,e),c(Le.$$.fragment,e),c(Me.$$.fragment,e),Xt=!1},d(e){e&&(i(Be),i(Fe),i(Pe),i(Se),i(H),i(qe),i(b),i(Ne),i($),i(Oe),i(Ue),i(ke),i(w),i(Re),i(E),i(De),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(B),i(Je),i(Qe),i(S),i(Ze),i(q),i(et),i(tt),i(O),i(it),i(U),i(lt),i(k),i(nt),i(at),i(D),i(ot),i(G),i(st),i(rt),i(z),i(ft),i(ut),i(W),i(dt),i(ht),i(X),i(ct),i(pt),i(J),i(mt),i(Q),i(gt),i(Z),i(_t),i(Ht),i(te),i(bt),i(ie),i($t),i(vt),i(ne),i(Tt),i(wt),i(oe),i(Et),i(se),i(Lt),i(yt),i(fe),i(Mt),i(ue),i(xt),i(Ct),i(he),i(It),i(ce),i(Ft),i(At),i(me),i(Bt),i(ge),i(Pt),i(_e),i(St),i(qt),i(be),i(Nt),i($e),i(Ot),i(Ut),i(Te),i(kt),i(Rt),i(Ee),i(Dt),i(Gt),i(ye),i(Yt),i(zt),i(xe),i(Kt),i(Ce),i(Wt),i(Ie),i(jt),i(Ae)),i(g),p(_,e),p(v,e),p(T,e),p(L,e),p(x,e),p(F,e),p(P,e),p(N,e),p(R,e),p(Y,e),p(K,e),p(j,e),p(V,e),p(ee,e),p(le,e),p(ae,e),p(re,e),p(de,e),p(pe,e),p(He,e),p(ve,e),p(we,e),p(Le,e),p(Me,e)}}}const Ji='{"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":"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 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};
