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