import{s as pg,c as hg,u as dg,g as fg,a as mg,o as bg,n as I}from"../chunks/scheduler.0cf4ef2e.js";import{S as cg,i as ug,e as g,a as p,f as M,d as s,k as x,m as l,t as d,o as f,s as a,c as m,h as _g,b as r,g as b,j as u,l as o,n as _,p as $}from"../chunks/index.abc433bf.js";import{C as $g}from"../chunks/CopyLLMTxtMenu.efc6b005.js";import{D as j}from"../chunks/Docstring.e4170f41.js";import{C as k}from"../chunks/CodeBlock.00dcd05e.js";import{E as W}from"../chunks/ExampleCodeBlock.9d6d4e26.js";import{H as C,E as yg}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.86d448e2.js";function vg(T){let i,w,h;const c=T[2].default,y=hg(c,T,T[1],null);return{c(){i=g("blockquote"),y&&y.c(),this.h()},l(n){i=p(n,"BLOCKQUOTE",{class:!0});var v=M(i);y&&y.l(v),v.forEach(s),this.h()},h(){x(i,"class",w=T[0]?"warning":"tip")},m(n,v){l(n,i,v),y&&y.m(i,null),h=!0},p(n,[v]){y&&y.p&&(!h||v&2)&&dg(y,c,n,n[1],h?mg(c,n[1],v,null):fg(n[1]),null),(!h||v&1&&w!==(w=n[0]?"warning":"tip"))&&x(i,"class",w)},i(n){h||(d(y,n),h=!0)},o(n){f(y,n),h=!1},d(n){n&&s(i),y&&y.d(n)}}}function wg(T,i,w){let{$$slots:h={},$$scope:c}=i,{warning:y=!1}=i;return T.$$set=n=>{"warning"in n&&w(0,y=n.warning),"$$scope"in n&&w(1,c=n.$$scope)},[y,c,h]}class zr extends cg{constructor(i){super(),ug(this,i,wg,vg,pg,{warning:0})}}function Tg(T){let i,w="Example:",h,c,y;return c=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF9sb2dnZXIlMEElMEFsb2dnZXIlMjAlM0QlMjBnZXRfbG9nZ2VyKF9fZmlsZV9fKSUwQWxvZ2dlci5zZXRfdmVyYm9zaXR5X2luZm8oKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> get_logger

<span class="hljs-meta">&gt;&gt;&gt; </span>logger = get_logger(__file__)
<span class="hljs-meta">&gt;&gt;&gt; </span>logger.set_verbosity_info()`,wrap:!1}}),{c(){i=g("p"),i.textContent=w,h=a(),m(c.$$.fragment)},l(n){i=p(n,"P",{"data-svelte-h":!0}),u(i)!=="svelte-11lpom8"&&(i.textContent=w),h=r(n),b(c.$$.fragment,n)},m(n,v){l(n,i,v),l(n,h,v),_(c,n,v),y=!0},p:I,i(n){y||(d(c.$$.fragment,n),y=!0)},o(n){f(c.$$.fragment,n),y=!1},d(n){n&&(s(i),s(h)),$(c,n)}}}function xg(T){let i,w='In <code>huggingface_hub</code> v0.x, HTTP requests were handled with <code>requests</code>, and configuration was done via <code>configure_http_backend</code>. Since we now use <code>httpx</code>, configuration works differently: you must provide a factory function that takes no arguments and returns an <code>httpx.Client</code>. You can review the <a href="https://github.com/huggingface/huggingface_hub/blob/v1.0-release/src/huggingface_hub/utils/_http.py" rel="nofollow">default implementation here</a> to see which parameters are used by default.';return{c(){i=g("p"),i.innerHTML=w},l(h){i=p(h,"P",{"data-svelte-h":!0}),u(i)!=="svelte-1eot50u"&&(i.innerHTML=w)},m(h,c){l(h,i,c)},p:I,d(h){h&&s(i)}}}function Mg(T){let i,w=`Contrary to the <code>httpx.Client</code> that is shared between all calls made by <code>huggingface_hub</code>, the <code>httpx.AsyncClient</code> is not shared.
It is recommended to use an async context manager to ensure the client is properly closed when the context is exited.`;return{c(){i=g("p"),i.innerHTML=w},l(h){i=p(h,"P",{"data-svelte-h":!0}),u(i)!=="svelte-5lr4jy"&&(i.innerHTML=w)},m(h,c){l(h,i,c)},p:I,d(h){h&&s(i)}}}function jg(T){let i,w=`Contrary to the <code>httpx.Client</code> that is shared between all calls made by <code>huggingface_hub</code>, the <code>httpx.AsyncClient</code> is not shared.
It is recommended to use an async context manager to ensure the client is properly closed when the context is exited.`;return{c(){i=g("p"),i.innerHTML=w},l(h){i=p(h,"P",{"data-svelte-h":!0}),u(i)!=="svelte-5lr4jy"&&(i.innerHTML=w)},m(h,c){l(h,i,c)},p:I,d(h){h&&s(i)}}}function Cg(T){let i,w="Unlike the synchronous client, the lifecycle of the async client is not managed automatically. Use an async context manager to handle it properly.";return{c(){i=g("p"),i.textContent=w},l(h){i=p(h,"P",{"data-svelte-h":!0}),u(i)!=="svelte-y2fi6r"&&(i.textContent=w)},m(h,c){l(h,i,c)},p:I,d(h){h&&s(i)}}}function Hg(T){let i,w="Example:",h,c,y;return c=new k({props:{code:"JTIwJTIwJTIwJTIwaW1wb3J0JTIwaHR0cHglMEElMjAlMjAlMjAlMjBmcm9tJTIwaHVnZ2luZ2ZhY2VfaHViLnV0aWxzJTIwaW1wb3J0JTIwZ2V0X3Nlc3Npb24lMkMlMjBoZl9yYWlzZV9mb3Jfc3RhdHVzJTJDJTIwSGZIdWJIVFRQRXJyb3IlMEElMEElMjAlMjAlMjAlMjByZXNwb25zZSUyMCUzRCUyMGdldF9zZXNzaW9uKCkucG9zdCguLi4pJTBBJTIwJTIwJTIwJTIwdHJ5JTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwaGZfcmFpc2VfZm9yX3N0YXR1cyhyZXNwb25zZSklMEElMjAlMjAlMjAlMjBleGNlcHQlMjBIZkh1YkhUVFBFcnJvciUyMGFzJTIwZSUzQSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMHByaW50KHN0cihlKSklMjAlMjMlMjBmb3JtYXR0ZWQlMjBtZXNzYWdlJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwZS5yZXF1ZXN0X2lkJTJDJTIwZS5zZXJ2ZXJfbWVzc2FnZSUyMCUyMyUyMGRldGFpbHMlMjByZXR1cm5lZCUyMGJ5JTIwc2VydmVyJTBBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIzJTIwQ29tcGxldGUlMjB0aGUlMjBlcnJvciUyMG1lc3NhZ2UlMjB3aXRoJTIwYWRkaXRpb25hbCUyMGluZm9ybWF0aW9uJTIwb25jZSUyMGl0J3MlMjByYWlzZWQlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBlLmFwcGVuZF90b19tZXNzYWdlKCUyMiUwQWF0ZV9jb21taXQlNjAlMjBleHBlY3RzJTIwdGhlJTIwcmVwb3NpdG9yeSUyMHRvJTIwZXhpc3QuJTIyKSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMHJhaXNl",highlighted:`    <span class="hljs-keyword">import</span> httpx
    <span class="hljs-keyword">from</span> huggingface_hub.utils <span class="hljs-keyword">import</span> get_session, hf_raise_for_status, HfHubHTTPError

    response = get_session().post(...)
    <span class="hljs-keyword">try</span>:
        hf_raise_for_status(response)
    <span class="hljs-keyword">except</span> HfHubHTTPError <span class="hljs-keyword">as</span> e:
        <span class="hljs-built_in">print</span>(<span class="hljs-built_in">str</span>(e)) <span class="hljs-comment"># formatted message</span>
        e.request_id, e.server_message <span class="hljs-comment"># details returned by server</span>

        <span class="hljs-comment"># Complete the error message with additional information once it&#x27;s raised</span>
        e.append_to_message(<span class="hljs-string">&quot;
ate_commit\` expects the repository to exist.&quot;</span>)
        <span class="hljs-keyword">raise</span>`,wrap:!1}}),{c(){i=g("p"),i.textContent=w,h=a(),m(c.$$.fragment)},l(n){i=p(n,"P",{"data-svelte-h":!0}),u(i)!=="svelte-11lpom8"&&(i.textContent=w),h=r(n),b(c.$$.fragment,n)},m(n,v){l(n,i,v),l(n,h,v),_(c,n,v),y=!0},p:I,i(n){y||(d(c.$$.fragment,n),y=!0)},o(n){f(c.$$.fragment,n),y=!1},d(n){n&&(s(i),s(h)),$(c,n)}}}function Jg(T){let i,w="Example:",h,c,y;return c=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMG1vZGVsX2luZm8lMEFtb2RlbF9pbmZvKCUyMiUzQ25vbl9leGlzdGVudF9yZXBvc2l0b3J5JTNFJTIyKSUwQQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> model_info
<span class="hljs-meta">&gt;&gt;&gt; </span>model_info(<span class="hljs-string">&quot;&lt;non_existent_repository&gt;&quot;</span>)
(...)
huggingface_hub.errors.RepositoryNotFoundError: <span class="hljs-number">401</span> Client Error. (Request ID: PvMw_VjBMjVdMz53WKIzP)

Repository Not Found <span class="hljs-keyword">for</span> url: https://huggingface.co/api/models/%3Cnon_existent_repository%3E.
Please make sure you specified the correct \`repo_id\` <span class="hljs-keyword">and</span> \`repo_type\`.
If the repo <span class="hljs-keyword">is</span> private, make sure you are authenticated.
Invalid username <span class="hljs-keyword">or</span> password.`,wrap:!1}}),{c(){i=g("p"),i.textContent=w,h=a(),m(c.$$.fragment)},l(n){i=p(n,"P",{"data-svelte-h":!0}),u(i)!=="svelte-11lpom8"&&(i.textContent=w),h=r(n),b(c.$$.fragment,n)},m(n,v){l(n,i,v),l(n,h,v),_(c,n,v),y=!0},p:I,i(n){y||(d(c.$$.fragment,n),y=!0)},o(n){f(c.$$.fragment,n),y=!1},d(n){n&&(s(i),s(h)),$(c,n)}}}function Eg(T){let i,w="Example:",h,c,y;return c=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMG1vZGVsX2luZm8lMEFtb2RlbF9pbmZvKCUyMiUzQ2dhdGVkX3JlcG9zaXRvcnklM0UlMjIpJTBB",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> model_info
<span class="hljs-meta">&gt;&gt;&gt; </span>model_info(<span class="hljs-string">&quot;&lt;gated_repository&gt;&quot;</span>)
(...)
huggingface_hub.errors.GatedRepoError: <span class="hljs-number">403</span> Client Error. (Request ID: ViT1Bf7O_026LGSQuVqfa)

Cannot access gated repo <span class="hljs-keyword">for</span> url https://huggingface.co/api/models/ardent-figment/gated-model.
Access to model ardent-figment/gated-model <span class="hljs-keyword">is</span> restricted <span class="hljs-keyword">and</span> you are <span class="hljs-keyword">not</span> <span class="hljs-keyword">in</span> the authorized <span class="hljs-built_in">list</span>.
Visit https://huggingface.co/ardent-figment/gated-model to ask <span class="hljs-keyword">for</span> access.`,wrap:!1}}),{c(){i=g("p"),i.textContent=w,h=a(),m(c.$$.fragment)},l(n){i=p(n,"P",{"data-svelte-h":!0}),u(i)!=="svelte-11lpom8"&&(i.textContent=w),h=r(n),b(c.$$.fragment,n)},m(n,v){l(n,i,v),l(n,h,v),_(c,n,v),y=!0},p:I,i(n){y||(d(c.$$.fragment,n),y=!0)},o(n){f(c.$$.fragment,n),y=!1},d(n){n&&(s(i),s(h)),$(c,n)}}}function kg(T){let i,w="Example:",h,c,y;return c=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGhmX2h1Yl9kb3dubG9hZCUwQWhmX2h1Yl9kb3dubG9hZCgnYmVydC1iYXNlLWNhc2VkJyUyQyUyMCdjb25maWcuanNvbiclMkMlMjByZXZpc2lvbiUzRCclM0Nub24tZXhpc3RlbnQtcmV2aXNpb24lM0UnKSUwQQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> hf_hub_download
<span class="hljs-meta">&gt;&gt;&gt; </span>hf_hub_download(<span class="hljs-string">&#x27;bert-base-cased&#x27;</span>, <span class="hljs-string">&#x27;config.json&#x27;</span>, revision=<span class="hljs-string">&#x27;&lt;non-existent-revision&gt;&#x27;</span>)
(...)
huggingface_hub.errors.RevisionNotFoundError: <span class="hljs-number">404</span> Client Error. (Request ID: Mwhe_c3Kt650GcdKEFomX)

Revision Not Found <span class="hljs-keyword">for</span> url: https://huggingface.co/bert-base-cased/resolve/%3Cnon-existent-revision%3E/config.json.`,wrap:!1}}),{c(){i=g("p"),i.textContent=w,h=a(),m(c.$$.fragment)},l(n){i=p(n,"P",{"data-svelte-h":!0}),u(i)!=="svelte-11lpom8"&&(i.textContent=w),h=r(n),b(c.$$.fragment,n)},m(n,v){l(n,i,v),l(n,h,v),_(c,n,v),y=!0},p:I,i(n){y||(d(c.$$.fragment,n),y=!0)},o(n){f(c.$$.fragment,n),y=!1},d(n){n&&(s(i),s(h)),$(c,n)}}}function Ug(T){let i,w="Example:",h,c,y;return c=new k({props:{code:"cmVzcCUyMCUzRCUyMGh0dHB4LnBvc3QoJTIyaGYuY28lMkZhcGklMkZjaGVjayUyMiUyQyUyMC4uLiklMEFoZl9yYWlzZV9mb3Jfc3RhdHVzKHJlc3AlMkMlMjBlbmRwb2ludF9uYW1lJTNEJTIyY2hlY2slMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>resp = httpx.post(<span class="hljs-string">&quot;hf.co/api/check&quot;</span>, ...)
<span class="hljs-meta">&gt;&gt;&gt; </span>hf_raise_for_status(resp, endpoint_name=<span class="hljs-string">&quot;check&quot;</span>)
huggingface_hub.errors.BadRequestError: Bad request <span class="hljs-keyword">for</span> check endpoint: {details} (Request ID: XXX)`,wrap:!1}}),{c(){i=g("p"),i.textContent=w,h=a(),m(c.$$.fragment)},l(n){i=p(n,"P",{"data-svelte-h":!0}),u(i)!=="svelte-11lpom8"&&(i.textContent=w),h=r(n),b(c.$$.fragment,n)},m(n,v){l(n,i,v),l(n,h,v),_(c,n,v),y=!0},p:I,i(n){y||(d(c.$$.fragment,n),y=!0)},o(n){f(c.$$.fragment,n),y=!1},d(n){n&&(s(i),s(h)),$(c,n)}}}function Ig(T){let i,w="Example:",h,c,y;return c=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGhmX2h1Yl9kb3dubG9hZCUwQWhmX2h1Yl9kb3dubG9hZCgnYmVydC1iYXNlLWNhc2VkJyUyQyUyMCclM0Nub24tZXhpc3RlbnQtZmlsZSUzRScpJTBBaGZfaHViX2Rvd25sb2FkKCdiZXJ0LWJhc2UtY2FzZWQnJTJDJTIwJyUzQ25vbi1leGlzdGVudC1maWxlJTNFJyUyQyUyMGxvY2FsX2ZpbGVzX29ubHklM0RUcnVlKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> hf_hub_download
<span class="hljs-meta">&gt;&gt;&gt; </span>hf_hub_download(<span class="hljs-string">&#x27;bert-base-cased&#x27;</span>, <span class="hljs-string">&#x27;&lt;non-existent-file&gt;&#x27;</span>)
(...)
huggingface_hub.errors.RemoteEntryNotFoundError (...)
<span class="hljs-meta">&gt;&gt;&gt; </span>hf_hub_download(<span class="hljs-string">&#x27;bert-base-cased&#x27;</span>, <span class="hljs-string">&#x27;&lt;non-existent-file&gt;&#x27;</span>, local_files_only=<span class="hljs-literal">True</span>)
(...)
huggingface_hub.utils.errors.LocalEntryNotFoundError (...)`,wrap:!1}}),{c(){i=g("p"),i.textContent=w,h=a(),m(c.$$.fragment)},l(n){i=p(n,"P",{"data-svelte-h":!0}),u(i)!=="svelte-11lpom8"&&(i.textContent=w),h=r(n),b(c.$$.fragment,n)},m(n,v){l(n,i,v),l(n,h,v),_(c,n,v),y=!0},p:I,i(n){y||(d(c.$$.fragment,n),y=!0)},o(n){f(c.$$.fragment,n),y=!1},d(n){n&&(s(i),s(h)),$(c,n)}}}function Zg(T){let i,w="Example:",h,c,y;return c=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGhmX2h1Yl9kb3dubG9hZCUwQWhmX2h1Yl9kb3dubG9hZCgnYmVydC1iYXNlLWNhc2VkJyUyQyUyMCclM0Nub24tZXhpc3RlbnQtZmlsZSUzRScpJTBB",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> hf_hub_download
<span class="hljs-meta">&gt;&gt;&gt; </span>hf_hub_download(<span class="hljs-string">&#x27;bert-base-cased&#x27;</span>, <span class="hljs-string">&#x27;&lt;non-existent-file&gt;&#x27;</span>)
(...)
huggingface_hub.errors.EntryNotFoundError: <span class="hljs-number">404</span> Client Error. (Request ID: 53pNl6M0MxsnG5Sw8JA6x)

Entry Not Found <span class="hljs-keyword">for</span> url: https://huggingface.co/bert-base-cased/resolve/main/%3Cnon-existent-file%3E.`,wrap:!1}}),{c(){i=g("p"),i.textContent=w,h=a(),m(c.$$.fragment)},l(n){i=p(n,"P",{"data-svelte-h":!0}),u(i)!=="svelte-11lpom8"&&(i.textContent=w),h=r(n),b(c.$$.fragment,n)},m(n,v){l(n,i,v),l(n,h,v),_(c,n,v),y=!0},p:I,i(n){y||(d(c.$$.fragment,n),y=!0)},o(n){f(c.$$.fragment,n),y=!1},d(n){n&&(s(i),s(h)),$(c,n)}}}function Lg(T){let i,w="Example:",h,c,y;return c=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGhmX2h1Yl9kb3dubG9hZCUwQWhmX2h1Yl9kb3dubG9hZCgnYmVydC1iYXNlLWNhc2VkJyUyQyUyMCclM0Nub24tY2FjaGVkLWZpbGUlM0UnJTJDJTIwJTIwbG9jYWxfZmlsZXNfb25seSUzRFRydWUp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> hf_hub_download
<span class="hljs-meta">&gt;&gt;&gt; </span>hf_hub_download(<span class="hljs-string">&#x27;bert-base-cased&#x27;</span>, <span class="hljs-string">&#x27;&lt;non-cached-file&gt;&#x27;</span>,  local_files_only=<span class="hljs-literal">True</span>)
(...)
huggingface_hub.errors.LocalEntryNotFoundError: Cannot find the requested files <span class="hljs-keyword">in</span> the disk cache <span class="hljs-keyword">and</span> outgoing traffic has been disabled. To enable hf.co look-ups <span class="hljs-keyword">and</span> downloads online, <span class="hljs-built_in">set</span> <span class="hljs-string">&#x27;local_files_only&#x27;</span> to <span class="hljs-literal">False</span>.`,wrap:!1}}),{c(){i=g("p"),i.textContent=w,h=a(),m(c.$$.fragment)},l(n){i=p(n,"P",{"data-svelte-h":!0}),u(i)!=="svelte-11lpom8"&&(i.textContent=w),h=r(n),b(c.$$.fragment,n)},m(n,v){l(n,i,v),l(n,h,v),_(c,n,v),y=!0},p:I,i(n){y||(d(c.$$.fragment,n),y=!0)},o(n){f(c.$$.fragment,n),y=!1},d(n){n&&(s(i),s(h)),$(c,n)}}}function Gg(T){let i,w="Example:",h,c,y;return c=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1Yi51dGlscyUyMGltcG9ydCUyMHNlbmRfdGVsZW1ldHJ5JTBBJTBBc2VuZF90ZWxlbWV0cnkoJTIycGluZyUyMiklMEElMEFzZW5kX3RlbGVtZXRyeSglMjJncmFkaW8lMkZsb2NhbF9saW5rJTIyJTJDJTIwbGlicmFyeV9uYW1lJTNEJTIyZ3JhZGlvJTIyJTJDJTIwbGlicmFyeV92ZXJzaW9uJTNEJTIyMy4yMi4xJTIyKSUwQSUwQXNlbmRfdGVsZW1ldHJ5KCUwQSUyMCUyMCUyMCUyMHRvcGljJTNEJTIyZXhhbXBsZXMlMjIlMkMlMEElMjAlMjAlMjAlMjBsaWJyYXJ5X25hbWUlM0QlMjJ0cmFuc2Zvcm1lcnMlMjIlMkMlMEElMjAlMjAlMjAlMjBsaWJyYXJ5X3ZlcnNpb24lM0QlMjI0LjI2LjAlMjIlMkMlMEElMjAlMjAlMjAlMjB1c2VyX2FnZW50JTNEJTdCJTIycGlwZWxpbmUlMjIlM0ElMjAlMjJ0ZXh0X2NsYXNzaWZpY2F0aW9uJTIyJTJDJTIwJTIyZnJhbWV3b3JrJTIyJTNBJTIwJTIyZmxheCUyMiU3RCUyQyUwQSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub.utils <span class="hljs-keyword">import</span> send_telemetry

<span class="hljs-comment"># Send telemetry without library information</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>send_telemetry(<span class="hljs-string">&quot;ping&quot;</span>)

<span class="hljs-comment"># Send telemetry to subtopic with library information</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>send_telemetry(<span class="hljs-string">&quot;gradio/local_link&quot;</span>, library_name=<span class="hljs-string">&quot;gradio&quot;</span>, library_version=<span class="hljs-string">&quot;3.22.1&quot;</span>)

<span class="hljs-comment"># Send telemetry with additional data</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>send_telemetry(
<span class="hljs-meta">... </span>    topic=<span class="hljs-string">&quot;examples&quot;</span>,
<span class="hljs-meta">... </span>    library_name=<span class="hljs-string">&quot;transformers&quot;</span>,
<span class="hljs-meta">... </span>    library_version=<span class="hljs-string">&quot;4.26.0&quot;</span>,
<span class="hljs-meta">... </span>    user_agent={<span class="hljs-string">&quot;pipeline&quot;</span>: <span class="hljs-string">&quot;text_classification&quot;</span>, <span class="hljs-string">&quot;framework&quot;</span>: <span class="hljs-string">&quot;flax&quot;</span>},
<span class="hljs-meta">... </span>)`,wrap:!1}}),{c(){i=g("p"),i.textContent=w,h=a(),m(c.$$.fragment)},l(n){i=p(n,"P",{"data-svelte-h":!0}),u(i)!=="svelte-11lpom8"&&(i.textContent=w),h=r(n),b(c.$$.fragment,n)},m(n,v){l(n,i,v),l(n,h,v),_(c,n,v),y=!0},p:I,i(n){y||(d(c.$$.fragment,n),y=!0)},o(n){f(c.$$.fragment,n),y=!1},d(n){n&&(s(i),s(h)),$(c,n)}}}function Ng(T){let i,w="Example:",h,c,y;return c=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1Yi51dGlscyUyMGltcG9ydCUyMHZhbGlkYXRlX2hmX2h1Yl9hcmdzJTBBJTBBJTQwdmFsaWRhdGVfaGZfaHViX2FyZ3MlMEFkZWYlMjBteV9jb29sX21ldGhvZChyZXBvX2lkJTNBJTIwc3RyKSUzQSUwQSUyMCUyMCUyMCUyMHByaW50KHJlcG9faWQpJTBBJTBBbXlfY29vbF9tZXRob2QocmVwb19pZCUzRCUyMnZhbGlkX3JlcG9faWQlMjIpJTBBJTBBbXlfY29vbF9tZXRob2QoJTIyb3RoZXIuLnJlcG8uLmlkJTIyKSUwQSUwQW15X2Nvb2xfbWV0aG9kKHJlcG9faWQlM0QlMjJvdGhlci4ucmVwby4uaWQlMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub.utils <span class="hljs-keyword">import</span> validate_hf_hub_args

<span class="hljs-meta">&gt;&gt;&gt; </span>@validate_hf_hub_args
<span class="hljs-meta">... </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">my_cool_method</span>(<span class="hljs-params">repo_id: <span class="hljs-built_in">str</span></span>):
<span class="hljs-meta">... </span>    <span class="hljs-built_in">print</span>(repo_id)

<span class="hljs-meta">&gt;&gt;&gt; </span>my_cool_method(repo_id=<span class="hljs-string">&quot;valid_repo_id&quot;</span>)
valid_repo_id

<span class="hljs-meta">&gt;&gt;&gt; </span>my_cool_method(<span class="hljs-string">&quot;other..repo..id&quot;</span>)
huggingface_hub.utils._validators.HFValidationError: Cannot have -- <span class="hljs-keyword">or</span> .. <span class="hljs-keyword">in</span> repo_id: <span class="hljs-string">&#x27;other..repo..id&#x27;</span>.

<span class="hljs-meta">&gt;&gt;&gt; </span>my_cool_method(repo_id=<span class="hljs-string">&quot;other..repo..id&quot;</span>)
huggingface_hub.utils._validators.HFValidationError: Cannot have -- <span class="hljs-keyword">or</span> .. <span class="hljs-keyword">in</span> repo_id: <span class="hljs-string">&#x27;other..repo..id&#x27;</span>.`,wrap:!1}}),{c(){i=g("p"),i.textContent=w,h=a(),m(c.$$.fragment)},l(n){i=p(n,"P",{"data-svelte-h":!0}),u(i)!=="svelte-11lpom8"&&(i.textContent=w),h=r(n),b(c.$$.fragment,n)},m(n,v){l(n,i,v),l(n,h,v),_(c,n,v),y=!0},p:I,i(n){y||(d(c.$$.fragment,n),y=!0)},o(n){f(c.$$.fragment,n),y=!1},d(n){n&&(s(i),s(h)),$(c,n)}}}function Xg(T){let i,w="Example:",h,c,y;return c=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1Yi51dGlscyUyMGltcG9ydCUyMHZhbGlkYXRlX3JlcG9faWQlMEF2YWxpZGF0ZV9yZXBvX2lkKHJlcG9faWQlM0QlMjJ2YWxpZF9yZXBvX2lkJTIyKSUwQXZhbGlkYXRlX3JlcG9faWQocmVwb19pZCUzRCUyMm90aGVyLi5yZXBvLi5pZCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub.utils <span class="hljs-keyword">import</span> validate_repo_id
<span class="hljs-meta">&gt;&gt;&gt; </span>validate_repo_id(repo_id=<span class="hljs-string">&quot;valid_repo_id&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>validate_repo_id(repo_id=<span class="hljs-string">&quot;other..repo..id&quot;</span>)
huggingface_hub.utils._validators.HFValidationError: Cannot have -- <span class="hljs-keyword">or</span> .. <span class="hljs-keyword">in</span> repo_id: <span class="hljs-string">&#x27;other..repo..id&#x27;</span>.`,wrap:!1}}),{c(){i=g("p"),i.textContent=w,h=a(),m(c.$$.fragment)},l(n){i=p(n,"P",{"data-svelte-h":!0}),u(i)!=="svelte-11lpom8"&&(i.textContent=w),h=r(n),b(c.$$.fragment,n)},m(n,v){l(n,i,v),l(n,h,v),_(c,n,v),y=!0},p:I,i(n){y||(d(c.$$.fragment,n),y=!0)},o(n){f(c.$$.fragment,n),y=!1},d(n){n&&(s(i),s(h)),$(c,n)}}}function Rg(T){let i,w,h,c,y,n,v,aa,qe,ra,Pe,Mo=`The <code>huggingface_hub</code> package exposes a <code>logging</code> utility to control the logging level of the package itself.
You can import it as such:`,la,Ye,oa,We,jo="Then, you may define the verbosity in order to update the amount of logs you’ll see:",ia,Se,ga,ze,Co="The levels should be understood as follows:",pa,Qe,Ho=`<li><code>error</code>: only show critical logs about usage which may result in an error or unexpected behavior.</li> <li><code>warning</code>: show logs that aren’t critical but usage may result in unintended behavior.
Additionally, important informative logs may be shown.</li> <li><code>info</code>: show most logs, including some verbose logging regarding what is happening under the hood.
If something is behaving in an unexpected manner, we recommend switching the verbosity level to this in order
to get more information.</li> <li><code>debug</code>: show all logs, including some internal logs which may be used to track exactly what’s happening
under the hood.</li>`,ca,S,Ae,Qr,Ns,Jo="Return the current level for the HuggingFace Hub’s root logger.",Ar,De,Eo="<p>HuggingFace Hub has following logging levels:</p> <ul><li><code>huggingface_hub.logging.CRITICAL</code>, <code>huggingface_hub.logging.FATAL</code></li> <li><code>huggingface_hub.logging.ERROR</code></li> <li><code>huggingface_hub.logging.WARNING</code>, <code>huggingface_hub.logging.WARN</code></li> <li><code>huggingface_hub.logging.INFO</code></li> <li><code>huggingface_hub.logging.DEBUG</code></li></ul>",ua,pe,Ke,Dr,Xs,ko="Sets the level for the HuggingFace Hub’s root logger.",ha,ce,Oe,Kr,Rs,Uo="Sets the verbosity to <code>logging.INFO</code>.",da,ue,et,Or,Bs,Io="Sets the verbosity to <code>logging.DEBUG</code>.",fa,he,tt,el,Fs,Zo="Sets the verbosity to <code>logging.WARNING</code>.",ma,de,st,tl,Vs,Lo="Sets the verbosity to <code>logging.ERROR</code>.",ba,fe,nt,sl,qs,Go=`Disable propagation of the library log outputs. Note that log propagation is
disabled by default.`,_a,me,at,nl,Ps,No=`Enable propagation of the library log outputs. Please disable the
HuggingFace Hub’s default handler to prevent double logging if the root
logger has been configured.`,$a,rt,ya,lt,Xo=`The methods exposed below are relevant when modifying modules from the <code>huggingface_hub</code> library itself.
Using these shouldn’t be necessary if you use <code>huggingface_hub</code> and you don’t modify them.`,va,z,ot,al,Ys,Ro=`Returns a logger with the specified name. This function is not supposed
to be directly accessed by library users.`,rl,Te,wa,it,Ta,gt,Bo=`Progress bars are a useful tool to display information to the user while a long-running task is being executed (e.g.
when downloading or uploading files). <code>huggingface_hub</code> exposes a <code>tqdm</code> wrapper to display progress bars in a
consistent way across the library.`,xa,pt,Fo=`By default, progress bars are enabled. You can disable them globally by setting <code>HF_HUB_DISABLE_PROGRESS_BARS</code>
environment variable. You can also enable/disable them using <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.utils.enable_progress_bars">enable_progress_bars()</a> and
<a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.utils.disable_progress_bars">disable_progress_bars()</a>. If set, the environment variable has priority on the helpers.`,Ma,ct,ja,ut,Ca,ht,Vo="You can also enable or disable progress bars for specific groups. This allows you to manage progress bar visibility more granularly within different parts of your application or library. When a progress bar is disabled for a group, all subgroups under it are also affected unless explicitly overridden.",Ha,dt,Ja,ft,Ea,Q,mt,ll,Ws,qo="Check if progress bars are disabled globally or for a specific group.",ol,Ss,Po=`This function returns whether progress bars are disabled for a given group or globally.
It checks the <code>HF_HUB_DISABLE_PROGRESS_BARS</code> environment variable first, then the programmatic
settings.`,ka,bt,Ua,A,_t,il,zs,Yo="Disable progress bars either globally or for a specified group.",gl,Qs,Wo=`This function updates the state of progress bars based on a group name.
If no group name is provided, all progress bars are disabled. The operation
respects the <code>HF_HUB_DISABLE_PROGRESS_BARS</code> environment variable’s setting.`,Ia,$t,Za,D,yt,pl,As,So="Enable progress bars either globally or for a specified group.",cl,Ds,zo=`This function sets the progress bars to enabled for the specified group or globally
if no group is specified. The operation is subject to the <code>HF_HUB_DISABLE_PROGRESS_BARS</code>
environment setting.`,La,vt,Ga,xe,Na,wt,Qo='In some setups, you may need to control how HTTP requests are made, for example when working behind a proxy. The <code>huggingface_hub</code> library allows you to configure this globally with <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.set_client_factory">set_client_factory()</a>. After configuration, all requests to the Hub will use your custom settings. Since <code>huggingface_hub</code> relies on <code>httpx.Client</code> under the hood, you can check the <a href="https://www.python-httpx.org/advanced/clients/" rel="nofollow"><code>httpx</code> documentation</a> for details on available parameters.',Xa,Tt,Ao='If you are building a third-party library and need to make direct requests to the Hub, use <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.get_session">get_session()</a> to obtain a correctly configured <code>httpx</code> client. Replace any direct <code>httpx.get(...)</code> calls with <code>get_session().get(...)</code> to ensure proper behavior.',Ra,Z,xt,ul,Ks,Do="Set the HTTP client factory to be used by <code>huggingface_hub</code>.",hl,Os,Ko=`The client factory is a method that returns a <code>httpx.Client</code> object. On the first call to <code>get_client</code> the client factory
will be used to create a new <code>httpx.Client</code> object that will be shared between all calls made by <code>huggingface_hub</code>.`,dl,en,Oo="This can be useful if you are running your scripts in a specific environment requiring custom configuration (e.g. custom proxy or certifications).",fl,tn,ei="Use <code>get_client</code> to get a correctly configured <code>httpx.Client</code>.",Ba,X,Mt,ml,sn,ti="Get a <code>httpx.Client</code> object, using the transport factory from the user.",bl,nn,si="This client is shared between all calls made by <code>huggingface_hub</code>. Therefore you should not close it manually.",_l,an,ni='Use <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.set_client_factory">set_client_factory()</a> to customize the <code>httpx.Client</code>.',Fa,jt,ai='In rare cases, you may want to manually close the current session (for example, after a transient <code>SSLError</code>). You can do this with <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.close_session">close_session()</a>. A new session will automatically be created on the next call to <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.get_session">get_session()</a>.',Va,Ct,ri="Sessions are always closed automatically when the process exits.",qa,R,Ht,$l,rn,li="Close the global <code>httpx.Client</code> used by <code>huggingface_hub</code>.",yl,ln,oi='If a Client is closed, it will be recreated on the next call to <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.get_session">get_session()</a>.',vl,on,ii="Can be useful if e.g. an SSL certificate has been updated.",Pa,Jt,gi='For async code, use <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.set_async_client_factory">set_async_client_factory()</a> to configure an <code>httpx.AsyncClient</code> and <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.get_async_session">get_async_session()</a> to retrieve one.',Ya,B,Et,wl,gn,pi="Set the HTTP async client factory to be used by <code>huggingface_hub</code>.",Tl,pn,ci=`The async client factory is a method that returns a <code>httpx.AsyncClient</code> object.
This can be useful if you are running your scripts in a specific environment requiring custom configuration (e.g. custom proxy or certifications).
Use <code>get_async_client</code> to get a correctly configured <code>httpx.AsyncClient</code>.`,xl,Me,Wa,F,kt,Ml,cn,ui="Return a <code>httpx.AsyncClient</code> object, using the transport factory from the user.",jl,un,hi='Use <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.set_async_client_factory">set_async_client_factory()</a> to customize the <code>httpx.AsyncClient</code>.',Cl,je,Sa,Ce,za,Ut,Qa,It,di=`<code>huggingface_hub</code> defines its own HTTP errors to refine the <code>HTTPError</code> raised by
<code>requests</code> with additional information sent back by the server.`,Aa,Zt,Da,Lt,fi=`<a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.hf_raise_for_status">hf_raise_for_status()</a> is meant to be the central method to “raise for status” from any
request made to the Hub. It wraps the base <code>requests.raise_for_status</code> to provide
additional information. Any <code>HTTPError</code> thrown is converted into a <code>HfHubHTTPError</code>.`,Ka,Gt,Oa,V,Nt,Hl,hn,mi=`Internal version of <code>response.raise_for_status()</code> that will refine a potential HTTPError.
Raised exception will be an instance of <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError">HfHubHTTPError</a>.`,Jl,dn,bi="This helper is meant to be the unique method to raise_for_status when making a call to the Hugging Face Hub.",El,Xt,_i=`<p>Raises when the request has failed:</p> <ul><li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError">RepositoryNotFoundError</a>
If the repository to download from cannot be found. This may be because it
doesn’t exist, because <code>repo_type</code> is not set correctly, or because the repo
is <code>private</code> and you do not have access.</li> <li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.GatedRepoError">GatedRepoError</a>
If the repository exists but is gated and the user is not on the authorized
list.</li> <li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError">RevisionNotFoundError</a>
If the repository exists but the revision couldn’t be found.</li> <li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.EntryNotFoundError">EntryNotFoundError</a>
If the repository exists but the entry (e.g. the requested file) couldn’t be
find.</li> <li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.BadRequestError">BadRequestError</a>
If request failed with a HTTP 400 BadRequest error.</li> <li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError">HfHubHTTPError</a>
If request failed for a reason not listed above.</li></ul>`,er,Rt,tr,Bt,$i="Here is a list of HTTP errors thrown in <code>huggingface_hub</code>.",sr,Ft,nr,Vt,yi=`<code>HfHubHTTPError</code> is the parent class for any HF Hub HTTP error. It takes care of parsing
the server response and format the error message to provide as much information to the
user as possible.`,ar,E,qt,kl,fn,vi="HTTPError to inherit from for any custom HTTP Error raised in HF Hub.",Ul,mn,wi=`Any HTTPError is converted at least into a <code>HfHubHTTPError</code>. If some information is
sent back by the server, it will be added to the error message.`,Il,bn,Ti="Added details:",Zl,_n,xi="<li>Request id from “X-Request-Id” header if exists. If not, fallback to “X-Amzn-Trace-Id” header if exists.</li> <li>Server error message from the header “X-Error-Message”.</li> <li>Server error message if we can found one in the response body.</li>",Ll,He,Gl,Je,Pt,Nl,$n,Mi="Append additional information to the <code>HfHubHTTPError</code> initial message.",rr,Yt,lr,K,Wt,Xl,yn,ji=`Raised when trying to access a hf.co URL with an invalid repository name, or
with a private repo name the user does not have access to.`,Rl,Ee,or,St,ir,q,zt,Bl,vn,Ci=`Raised when trying to access a gated repository for which the user is not on the
authorized list.`,Fl,wn,Hi="Note: derives from <code>RepositoryNotFoundError</code> to ensure backward compatibility.",Vl,ke,gr,Qt,pr,O,At,ql,Tn,Ji=`Raised when trying to access a hf.co URL with a valid repository but an invalid
revision.`,Pl,Ue,cr,Dt,ur,ee,Kt,Yl,xn,Ei="Raised by <code>hf_raise_for_status</code> when the server returns a HTTP 400 error.",Wl,Ie,hr,Ot,dr,te,es,Sl,Mn,ki="Raised when entry not found, either locally or remotely.",zl,Ze,fr,ts,mr,se,ss,Ql,jn,Ui=`Raised when trying to access a hf.co URL with a valid repository and revision
but an invalid filename.`,Al,Le,br,ns,_r,ne,as,Dl,Cn,Ii=`Raised when trying to access a file or snapshot that is not on the disk when network is
disabled or unavailable (connection issue). The entry may exist on the Hub.`,Kl,Ge,$r,rs,yr,be,ls,Ol,Hn,Zi="Raised when a request is made but <code>HF_HUB_OFFLINE=1</code> is set as environment variable.",vr,os,wr,is,Li=`<code>huggingface_hub</code> includes a helper to send telemetry data. This information helps us debug issues and prioritize new features.
Users can disable telemetry collection at any time by setting the <code>HF_HUB_DISABLE_TELEMETRY=1</code> environment variable.
Telemetry is also disabled in offline mode (i.e. when setting HF_HUB_OFFLINE=1).`,Tr,gs,Gi=`If you are maintainer of a third-party library, sending telemetry data is as simple as making a call to <code>send_telemetry</code>.
Data is sent in a separate thread to reduce as much as possible the impact for users.`,xr,L,ps,eo,Jn,Ni="Sends telemetry that helps track usage of different HF libraries.",to,En,Xi=`This usage data helps us debug issues and prioritize new features. However, we understand that not everyone wants
to share additional information, and we respect your privacy. You can disable telemetry collection by setting the
<code>HF_HUB_DISABLE_TELEMETRY=1</code> as environment variable. Telemetry is also disabled in offline mode (i.e. when setting
<code>HF_HUB_OFFLINE=1</code>).`,so,kn,Ri="Telemetry collection is run in a separate thread to minimize impact for the user.",no,Ne,Mr,cs,jr,us,Bi=`<code>huggingface_hub</code> includes custom validators to validate method arguments automatically.
Validation is inspired by the work done in <a href="https://pydantic-docs.helpmanual.io/" rel="nofollow">Pydantic</a>
to validate type hints but with more limited features.`,Cr,hs,Hr,ds,Fi=`<a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.utils.validate_hf_hub_args">validate_hf_hub_args()</a> is a generic decorator to encapsulate
methods that have arguments following <code>huggingface_hub</code>’s naming. By default, all
arguments that has a validator implemented will be validated.`,Jr,fs,Vi=`If an input is not valid, a <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HFValidationError">HFValidationError</a> is thrown. Only
the first non-valid value throws an error and stops the validation process.`,Er,ms,qi="Usage:",kr,bs,Ur,_s,Ir,U,$s,ao,Un,Pi="Validate values received as argument for any public method of <code>huggingface_hub</code>.",ro,In,Yi=`The goal of this decorator is to harmonize validation of arguments reused
everywhere. By default, all defined validators are tested.`,lo,Zn,Wi="Validators:",oo,Ln,Si=`<li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.utils.validate_repo_id">validate_repo_id()</a>: <code>repo_id</code> must be <code>&quot;repo_name&quot;</code>
or <code>&quot;namespace/repo_name&quot;</code>. Namespace is a username or an organization.</li> <li><code>~utils.smoothly_deprecate_legacy_arguments</code>: Ignore <code>proxies</code> when downloading files (should be set globally).</li>`,io,Xe,Zr,ys,Lr,ae,vs,go,Gn,zi="Generic exception thrown by <code>huggingface_hub</code> validators.",po,Nn,Qi='Inherits from <a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>.',Gr,ws,Nr,Ts,Ai=`Validators can also be used individually. Here is a list of all arguments that can be
validated.`,Xr,xs,Rr,H,Ms,co,Xn,Di="Validate <code>repo_id</code> is valid.",uo,Rn,Ki=`This is not meant to replace the proper validation made on the Hub but rather to
avoid local inconsistencies whenever possible (example: passing <code>repo_type</code> in the
<code>repo_id</code> is forbidden).`,ho,Bn,Oi="Rules:",fo,Fn,eg="<li>Between 1 and 96 characters.</li> <li>Either “repo_name” or “namespace/repo_name”</li> <li>[a-zA-Z0-9] or ”-”, ”_”, ”.”</li> <li>”—” and ”..” are forbidden</li>",mo,Vn,tg="Valid: <code>&quot;foo&quot;</code>, <code>&quot;foo/bar&quot;</code>, <code>&quot;123&quot;</code>, <code>&quot;Foo-BAR_foo.bar123&quot;</code>",bo,qn,sg="Not valid: <code>&quot;datasets/foo/bar&quot;</code>, <code>&quot;.repo_id&quot;</code>, <code>&quot;foo--bar&quot;</code>, <code>&quot;foo.git&quot;</code>",_o,Re,$o,Pn,ng=`Discussed in <a href="https://github.com/huggingface/huggingface_hub/issues/1008" rel="nofollow">https://github.com/huggingface/huggingface_hub/issues/1008</a>.
In moon-landing (internal repository):`,yo,Yn,ag='<li><a href="https://github.com/huggingface/moon-landing/blob/main/server/lib/Names.ts#L27" rel="nofollow">https://github.com/huggingface/moon-landing/blob/main/server/lib/Names.ts#L27</a></li> <li><a href="https://github.com/huggingface/moon-landing/blob/main/server/views/components/NewRepoForm/NewRepoForm.svelte#L138" rel="nofollow">https://github.com/huggingface/moon-landing/blob/main/server/views/components/NewRepoForm/NewRepoForm.svelte#L138</a></li>',Br,js,Fr,Cs,rg="Not exactly a validator, but ran as well.",Vr,G,Hs,vo,Wn,lg="Smoothly deprecate legacy arguments in the <code>huggingface_hub</code> codebase.",wo,Sn,og=`This function ignores some deprecated arguments from the kwargs and warns the user they are ignored.
The goal is to avoid breaking existing code while guiding the user to the new way of doing things.`,To,zn,ig="List of deprecated arguments:",xo,Qn,gg=`<li><p><code>proxies</code>:
To set up proxies, user must either use the HTTP_PROXY environment variable or configure the <code>httpx.Client</code>
manually using the <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.set_client_factory">set_client_factory()</a> function.</p> <p>In huggingface_hub 0.x, <code>proxies</code> was a dictionary directly passed to <code>requests.request</code>.
In huggingface_hub 1.x, we migrated to <code>httpx</code> which does not support <code>proxies</code> the same way.
In particular, it is not possible to configure proxies on a per-request basis. The solution is to configure
it globally using the <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.set_client_factory">set_client_factory()</a> function or using the HTTP_PROXY environment variable.</p> <p>For more details, see:</p> <ul><li><a href="https://www.python-httpx.org/advanced/proxies/" rel="nofollow">https://www.python-httpx.org/advanced/proxies/</a></li> <li><a href="https://www.python-httpx.org/compatibility/#proxy-keys" rel="nofollow">https://www.python-httpx.org/compatibility/#proxy-keys</a>.</li></ul></li> <li><p><code>resume_download</code>: deprecated without replacement. <code>huggingface_hub</code> always resumes downloads whenever possible.</p></li> <li><p><code>force_filename</code>: deprecated without replacement. Filename is always the same as on the Hub.</p></li> <li><p><code>local_dir_use_symlinks</code>: deprecated without replacement. Downloading to a local directory does not use symlinks anymore.</p></li>`,qr,Js,Pr,na,Yr;return y=new $g({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),v=new C({props:{title:"Utilities",local:"utilities",headingTag:"h1"}}),qe=new C({props:{title:"Configure logging",local:"huggingface_hub.utils.logging.get_verbosity",headingTag:"h2"}}),Ye=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxvZ2dpbmc=",highlighted:'<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> logging',wrap:!1}}),Se=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxvZ2dpbmclMEElMEFsb2dnaW5nLnNldF92ZXJib3NpdHlfZXJyb3IoKSUwQWxvZ2dpbmcuc2V0X3ZlcmJvc2l0eV93YXJuaW5nKCklMEFsb2dnaW5nLnNldF92ZXJib3NpdHlfaW5mbygpJTBBbG9nZ2luZy5zZXRfdmVyYm9zaXR5X2RlYnVnKCklMEElMEFsb2dnaW5nLnNldF92ZXJib3NpdHkoLi4uKQ==",highlighted:`<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> logging

logging.set_verbosity_error()
logging.set_verbosity_warning()
logging.set_verbosity_info()
logging.set_verbosity_debug()

logging.set_verbosity(...)`,wrap:!1}}),Ae=new j({props:{name:"huggingface_hub.utils.logging.get_verbosity",anchor:"huggingface_hub.utils.logging.get_verbosity",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/logging.py#L105",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Logging level, e.g., <code>huggingface_hub.logging.DEBUG</code> and
<code>huggingface_hub.logging.INFO</code>.</p>
`}}),Ke=new j({props:{name:"huggingface_hub.utils.logging.set_verbosity",anchor:"huggingface_hub.utils.logging.set_verbosity",parameters:[{name:"verbosity",val:": int"}],parametersDescription:[{anchor:"huggingface_hub.utils.logging.set_verbosity.verbosity",description:`<strong>verbosity</strong> (<code>int</code>) &#x2014;
Logging level, e.g., <code>huggingface_hub.logging.DEBUG</code> and
<code>huggingface_hub.logging.INFO</code>.`,name:"verbosity"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/logging.py#L124"}}),Oe=new j({props:{name:"huggingface_hub.utils.logging.set_verbosity_info",anchor:"huggingface_hub.utils.logging.set_verbosity_info",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/logging.py#L136"}}),et=new j({props:{name:"huggingface_hub.utils.logging.set_verbosity_debug",anchor:"huggingface_hub.utils.logging.set_verbosity_debug",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/logging.py#L150"}}),tt=new j({props:{name:"huggingface_hub.utils.logging.set_verbosity_warning",anchor:"huggingface_hub.utils.logging.set_verbosity_warning",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/logging.py#L143"}}),st=new j({props:{name:"huggingface_hub.utils.logging.set_verbosity_error",anchor:"huggingface_hub.utils.logging.set_verbosity_error",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/logging.py#L157"}}),nt=new j({props:{name:"huggingface_hub.utils.logging.disable_propagation",anchor:"huggingface_hub.utils.logging.disable_propagation",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/logging.py#L164"}}),at=new j({props:{name:"huggingface_hub.utils.logging.enable_propagation",anchor:"huggingface_hub.utils.logging.enable_propagation",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/logging.py#L172"}}),rt=new C({props:{title:"Repo-specific helper methods",local:"huggingface_hub.utils.logging.get_logger",headingTag:"h3"}}),ot=new j({props:{name:"huggingface_hub.utils.logging.get_logger",anchor:"huggingface_hub.utils.logging.get_logger",parameters:[{name:"name",val:": typing.Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.utils.logging.get_logger.name",description:`<strong>name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The name of the logger to get, usually the filename`,name:"name"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/logging.py#L80"}}),Te=new W({props:{anchor:"huggingface_hub.utils.logging.get_logger.example",$$slots:{default:[Tg]},$$scope:{ctx:T}}}),it=new C({props:{title:"Configure progress bars",local:"configure-progress-bars",headingTag:"h2"}}),ct=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHNuYXBzaG90X2Rvd25sb2FkJTBBZnJvbSUyMGh1Z2dpbmdmYWNlX2h1Yi51dGlscyUyMGltcG9ydCUyMGFyZV9wcm9ncmVzc19iYXJzX2Rpc2FibGVkJTJDJTIwZGlzYWJsZV9wcm9ncmVzc19iYXJzJTJDJTIwZW5hYmxlX3Byb2dyZXNzX2JhcnMlMEElMEElMjMlMjBEaXNhYmxlJTIwcHJvZ3Jlc3MlMjBiYXJzJTIwZ2xvYmFsbHklMEFkaXNhYmxlX3Byb2dyZXNzX2JhcnMoKSUwQSUwQSUyMyUyMFByb2dyZXNzJTIwYmFyJTIwd2lsbCUyMG5vdCUyMGJlJTIwc2hvd24lMjAhJTBBc25hcHNob3RfZG93bmxvYWQoJTIyZ3B0MiUyMiklMEElMEFhcmVfcHJvZ3Jlc3NfYmFyc19kaXNhYmxlZCgpJTBBJTBBJTIzJTIwUmUtZW5hYmxlJTIwcHJvZ3Jlc3MlMjBiYXJzJTIwZ2xvYmFsbHklMEFlbmFibGVfcHJvZ3Jlc3NfYmFycygp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> snapshot_download
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub.utils <span class="hljs-keyword">import</span> are_progress_bars_disabled, disable_progress_bars, enable_progress_bars

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Disable progress bars globally</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>disable_progress_bars()

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Progress bar will not be shown !</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>snapshot_download(<span class="hljs-string">&quot;gpt2&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>are_progress_bars_disabled()
<span class="hljs-literal">True</span>

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Re-enable progress bars globally</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>enable_progress_bars()`,wrap:!1}}),ut=new C({props:{title:"Group-specific control of progress bars",local:"group-specific-control-of-progress-bars",headingTag:"h3"}}),dt=new k({props:{code:"ZGlzYWJsZV9wcm9ncmVzc19iYXJzKCUyMnBlZnQuZm9vJTIyKSUwQWFzc2VydCUyMG5vdCUyMGFyZV9wcm9ncmVzc19iYXJzX2Rpc2FibGVkKCUyMnBlZnQlMjIpJTBBYXNzZXJ0JTIwbm90JTIwYXJlX3Byb2dyZXNzX2JhcnNfZGlzYWJsZWQoJTIycGVmdC5zb21ldGhpbmclMjIpJTBBYXNzZXJ0JTIwYXJlX3Byb2dyZXNzX2JhcnNfZGlzYWJsZWQoJTIycGVmdC5mb28lMjIpJTBBYXNzZXJ0JTIwYXJlX3Byb2dyZXNzX2JhcnNfZGlzYWJsZWQoJTIycGVmdC5mb28uYmFyJTIyKSUwQSUwQWVuYWJsZV9wcm9ncmVzc19iYXJzKCUyMnBlZnQuZm9vLmJhciUyMiklMEFhc3NlcnQlMjBhcmVfcHJvZ3Jlc3NfYmFyc19kaXNhYmxlZCglMjJwZWZ0LmZvbyUyMiklMEFhc3NlcnQlMjBub3QlMjBhcmVfcHJvZ3Jlc3NfYmFyc19kaXNhYmxlZCglMjJwZWZ0LmZvby5iYXIlMjIpJTBBJTBBZm9yJTIwXyUyMGluJTIwdHFkbShyYW5nZSg1KSUyQyUyMG5hbWUlM0QlMjJwZWZ0LmZvbyUyMiklM0ElMEElMjAlMjAlMjAlMjBwYXNzJTBBJTBBZm9yJTIwXyUyMGluJTIwdHFkbShyYW5nZSg1KSUyQyUyMG5hbWUlM0QlMjJwZWZ0LmZvby5iYXIlMjIpJTNBJTBBJTIwJTIwJTIwJTIwcGFzcw==",highlighted:`<span class="hljs-comment"># Disable progress bars for a specific group</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>disable_progress_bars(<span class="hljs-string">&quot;peft.foo&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">assert</span> <span class="hljs-keyword">not</span> are_progress_bars_disabled(<span class="hljs-string">&quot;peft&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">assert</span> <span class="hljs-keyword">not</span> are_progress_bars_disabled(<span class="hljs-string">&quot;peft.something&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">assert</span> are_progress_bars_disabled(<span class="hljs-string">&quot;peft.foo&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">assert</span> are_progress_bars_disabled(<span class="hljs-string">&quot;peft.foo.bar&quot;</span>)

<span class="hljs-comment"># Re-enable progress bars for a subgroup</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>enable_progress_bars(<span class="hljs-string">&quot;peft.foo.bar&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">assert</span> are_progress_bars_disabled(<span class="hljs-string">&quot;peft.foo&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">assert</span> <span class="hljs-keyword">not</span> are_progress_bars_disabled(<span class="hljs-string">&quot;peft.foo.bar&quot;</span>)

<span class="hljs-comment"># Use groups with tqdm</span>
<span class="hljs-comment"># No progress bar for \`name=&quot;peft.foo&quot;\`</span>
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">for</span> _ <span class="hljs-keyword">in</span> tqdm(<span class="hljs-built_in">range</span>(<span class="hljs-number">5</span>), name=<span class="hljs-string">&quot;peft.foo&quot;</span>):
<span class="hljs-meta">... </span>    <span class="hljs-keyword">pass</span>

<span class="hljs-comment"># Progress bar will be shown for \`name=&quot;peft.foo.bar&quot;\`</span>
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">for</span> _ <span class="hljs-keyword">in</span> tqdm(<span class="hljs-built_in">range</span>(<span class="hljs-number">5</span>), name=<span class="hljs-string">&quot;peft.foo.bar&quot;</span>):
<span class="hljs-meta">... </span>    <span class="hljs-keyword">pass</span>
<span class="hljs-number">100</span>%|███████████████████████████████████████| <span class="hljs-number">5</span>/<span class="hljs-number">5</span> [<span class="hljs-number">00</span>:<span class="hljs-number">00</span>&lt;<span class="hljs-number">00</span>:<span class="hljs-number">00</span>, <span class="hljs-number">117817.53</span>it/s]`,wrap:!1}}),ft=new C({props:{title:"are_progress_bars_disabled",local:"huggingface_hub.utils.are_progress_bars_disabled",headingTag:"h3"}}),mt=new j({props:{name:"huggingface_hub.utils.are_progress_bars_disabled",anchor:"huggingface_hub.utils.are_progress_bars_disabled",parameters:[{name:"name",val:": typing.Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.utils.are_progress_bars_disabled.name",description:`<strong>name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The group name to check; if None, checks the global setting.`,name:"name"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/tqdm.py#L172",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>True if progress bars are disabled, False otherwise.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>bool</code></p>
`}}),bt=new C({props:{title:"disable_progress_bars",local:"huggingface_hub.utils.disable_progress_bars",headingTag:"h3"}}),_t=new j({props:{name:"huggingface_hub.utils.disable_progress_bars",anchor:"huggingface_hub.utils.disable_progress_bars",parameters:[{name:"name",val:": typing.Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.utils.disable_progress_bars.name",description:`<strong>name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The name of the group for which to disable the progress bars. If None,
progress bars are disabled globally.`,name:"name"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/tqdm.py#L108",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>Warning</code> — If the environment variable precludes changes.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Warning</code></p>
`}}),$t=new C({props:{title:"enable_progress_bars",local:"huggingface_hub.utils.enable_progress_bars",headingTag:"h3"}}),yt=new j({props:{name:"huggingface_hub.utils.enable_progress_bars",anchor:"huggingface_hub.utils.enable_progress_bars",parameters:[{name:"name",val:": typing.Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.utils.enable_progress_bars.name",description:`<strong>name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The name of the group for which to enable the progress bars. If None,
progress bars are enabled globally.`,name:"name"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/tqdm.py#L140",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>Warning</code> — If the environment variable precludes changes.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Warning</code></p>
`}}),vt=new C({props:{title:"Configuring the HTTP Backend",local:"huggingface_hub.set_client_factory",headingTag:"h2"}}),xe=new zr({props:{$$slots:{default:[xg]},$$scope:{ctx:T}}}),xt=new j({props:{name:"huggingface_hub.set_client_factory",anchor:"huggingface_hub.set_client_factory",parameters:[{name:"client_factory",val:": typing.Callable[[], httpx.Client]"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_http.py#L158"}}),Mt=new j({props:{name:"huggingface_hub.get_session",anchor:"huggingface_hub.get_session",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_http.py#L194"}}),Ht=new j({props:{name:"huggingface_hub.close_session",anchor:"huggingface_hub.close_session",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_http.py#L225"}}),Et=new j({props:{name:"huggingface_hub.set_async_client_factory",anchor:"huggingface_hub.set_async_client_factory",parameters:[{name:"async_client_factory",val:": typing.Callable[[], httpx.AsyncClient]"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_http.py#L175"}}),Me=new zr({props:{warning:!0,$$slots:{default:[Mg]},$$scope:{ctx:T}}}),kt=new j({props:{name:"huggingface_hub.get_async_session",anchor:"huggingface_hub.get_async_session",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_http.py#L209"}}),je=new zr({props:{warning:!0,$$slots:{default:[jg]},$$scope:{ctx:T}}}),Ce=new zr({props:{$$slots:{default:[Cg]},$$scope:{ctx:T}}}),Ut=new C({props:{title:"Handle HTTP errors",local:"handle-http-errors",headingTag:"h2"}}),Zt=new C({props:{title:"Raise for status",local:"huggingface_hub.hf_raise_for_status",headingTag:"h3"}}),Gt=new k({props:{code:"aW1wb3J0JTIwcmVxdWVzdHMlMEFmcm9tJTIwaHVnZ2luZ2ZhY2VfaHViLnV0aWxzJTIwaW1wb3J0JTIwaGZfcmFpc2VfZm9yX3N0YXR1cyUyQyUyMEhmSHViSFRUUEVycm9yJTBBJTBBcmVzcG9uc2UlMjAlM0QlMjByZXF1ZXN0cy5wb3N0KC4uLiklMEF0cnklM0ElMEElMjAlMjAlMjAlMjBoZl9yYWlzZV9mb3Jfc3RhdHVzKHJlc3BvbnNlKSUwQWV4Y2VwdCUyMEhmSHViSFRUUEVycm9yJTIwYXMlMjBlJTNBJTBBJTIwJTIwJTIwJTIwcHJpbnQoc3RyKGUpKSUyMCUyMyUyMGZvcm1hdHRlZCUyMG1lc3NhZ2UlMEElMjAlMjAlMjAlMjBlLnJlcXVlc3RfaWQlMkMlMjBlLnNlcnZlcl9tZXNzYWdlJTIwJTIzJTIwZGV0YWlscyUyMHJldHVybmVkJTIwYnklMjBzZXJ2ZXIlMEElMEElMjAlMjAlMjAlMjAlMjMlMjBDb21wbGV0ZSUyMHRoZSUyMGVycm9yJTIwbWVzc2FnZSUyMHdpdGglMjBhZGRpdGlvbmFsJTIwaW5mb3JtYXRpb24lMjBvbmNlJTIwaXQncyUyMHJhaXNlZCUwQSUyMCUyMCUyMCUyMGUuYXBwZW5kX3RvX21lc3NhZ2UoJTIyJTVDbiU2MGNyZWF0ZV9jb21taXQlNjAlMjBleHBlY3RzJTIwdGhlJTIwcmVwb3NpdG9yeSUyMHRvJTIwZXhpc3QuJTIyKSUwQSUyMCUyMCUyMCUyMHJhaXNl",highlighted:`<span class="hljs-keyword">import</span> requests
<span class="hljs-keyword">from</span> huggingface_hub.utils <span class="hljs-keyword">import</span> hf_raise_for_status, HfHubHTTPError

response = requests.post(...)
<span class="hljs-keyword">try</span>:
    hf_raise_for_status(response)
<span class="hljs-keyword">except</span> HfHubHTTPError <span class="hljs-keyword">as</span> e:
    <span class="hljs-built_in">print</span>(<span class="hljs-built_in">str</span>(e)) <span class="hljs-comment"># formatted message</span>
    e.request_id, e.server_message <span class="hljs-comment"># details returned by server</span>

    <span class="hljs-comment"># Complete the error message with additional information once it&#x27;s raised</span>
    e.append_to_message(<span class="hljs-string">&quot;\\n\`create_commit\` expects the repository to exist.&quot;</span>)
    <span class="hljs-keyword">raise</span>`,wrap:!1}}),Nt=new j({props:{name:"huggingface_hub.hf_raise_for_status",anchor:"huggingface_hub.hf_raise_for_status",parameters:[{name:"response",val:": Response"},{name:"endpoint_name",val:": typing.Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.hf_raise_for_status.response",description:`<strong>response</strong> (<code>Response</code>) &#x2014;
Response from the server.`,name:"response"},{anchor:"huggingface_hub.hf_raise_for_status.endpoint_name",description:`<strong>endpoint_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Name of the endpoint that has been called. If provided, the error message will be more complete.`,name:"endpoint_name"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_http.py#L519"}}),Rt=new C({props:{title:"HTTP errors",local:"http-errors",headingTag:"h3"}}),Ft=new C({props:{title:"HfHubHTTPError",local:"huggingface_hub.errors.HfHubHTTPError",headingTag:"h4"}}),qt=new j({props:{name:"class huggingface_hub.errors.HfHubHTTPError",anchor:"huggingface_hub.errors.HfHubHTTPError",parameters:[{name:"message",val:": str"},{name:"response",val:": Response"},{name:"server_message",val:": typing.Optional[str] = None"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/errors.py#L40"}}),He=new W({props:{anchor:"huggingface_hub.errors.HfHubHTTPError.example",$$slots:{default:[Hg]},$$scope:{ctx:T}}}),Pt=new j({props:{name:"append_to_message",anchor:"huggingface_hub.errors.HfHubHTTPError.append_to_message",parameters:[{name:"additional_message",val:": str"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/errors.py#L83"}}),Yt=new C({props:{title:"RepositoryNotFoundError",local:"huggingface_hub.errors.RepositoryNotFoundError",headingTag:"h4"}}),Wt=new j({props:{name:"class huggingface_hub.errors.RepositoryNotFoundError",anchor:"huggingface_hub.errors.RepositoryNotFoundError",parameters:[{name:"message",val:": str"},{name:"response",val:": Response"},{name:"server_message",val:": typing.Optional[str] = None"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/errors.py#L181"}}),Ee=new W({props:{anchor:"huggingface_hub.errors.RepositoryNotFoundError.example",$$slots:{default:[Jg]},$$scope:{ctx:T}}}),St=new C({props:{title:"GatedRepoError",local:"huggingface_hub.errors.GatedRepoError",headingTag:"h4"}}),zt=new j({props:{name:"class huggingface_hub.errors.GatedRepoError",anchor:"huggingface_hub.errors.GatedRepoError",parameters:[{name:"message",val:": str"},{name:"response",val:": Response"},{name:"server_message",val:": typing.Optional[str] = None"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/errors.py#L202"}}),ke=new W({props:{anchor:"huggingface_hub.errors.GatedRepoError.example",$$slots:{default:[Eg]},$$scope:{ctx:T}}}),Qt=new C({props:{title:"RevisionNotFoundError",local:"huggingface_hub.errors.RevisionNotFoundError",headingTag:"h4"}}),At=new j({props:{name:"class huggingface_hub.errors.RevisionNotFoundError",anchor:"huggingface_hub.errors.RevisionNotFoundError",parameters:[{name:"message",val:": str"},{name:"response",val:": Response"},{name:"server_message",val:": typing.Optional[str] = None"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/errors.py#L245"}}),Ue=new W({props:{anchor:"huggingface_hub.errors.RevisionNotFoundError.example",$$slots:{default:[kg]},$$scope:{ctx:T}}}),Dt=new C({props:{title:"BadRequestError",local:"huggingface_hub.errors.BadRequestError",headingTag:"h4"}}),Kt=new j({props:{name:"class huggingface_hub.errors.BadRequestError",anchor:"huggingface_hub.errors.BadRequestError",parameters:[{name:"message",val:": str"},{name:"response",val:": Response"},{name:"server_message",val:": typing.Optional[str] = None"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/errors.py#L320"}}),Ie=new W({props:{anchor:"huggingface_hub.errors.BadRequestError.example",$$slots:{default:[Ug]},$$scope:{ctx:T}}}),Ot=new C({props:{title:"EntryNotFoundError",local:"huggingface_hub.errors.EntryNotFoundError",headingTag:"h4"}}),es=new j({props:{name:"class huggingface_hub.errors.EntryNotFoundError",anchor:"huggingface_hub.errors.EntryNotFoundError",parameters:"",source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/errors.py#L264"}}),Ze=new W({props:{anchor:"huggingface_hub.errors.EntryNotFoundError.example",$$slots:{default:[Ig]},$$scope:{ctx:T}}}),ts=new C({props:{title:"RemoteEntryNotFoundError",local:"huggingface_hub.errors.RemoteEntryNotFoundError",headingTag:"h4"}}),ss=new j({props:{name:"class huggingface_hub.errors.RemoteEntryNotFoundError",anchor:"huggingface_hub.errors.RemoteEntryNotFoundError",parameters:[{name:"message",val:": str"},{name:"response",val:": Response"},{name:"server_message",val:": typing.Optional[str] = None"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/errors.py#L282"}}),Le=new W({props:{anchor:"huggingface_hub.errors.RemoteEntryNotFoundError.example",$$slots:{default:[Zg]},$$scope:{ctx:T}}}),ns=new C({props:{title:"LocalEntryNotFoundError",local:"huggingface_hub.errors.LocalEntryNotFoundError",headingTag:"h4"}}),as=new j({props:{name:"class huggingface_hub.errors.LocalEntryNotFoundError",anchor:"huggingface_hub.errors.LocalEntryNotFoundError",parameters:[{name:"message",val:": str"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/errors.py#L300"}}),Ge=new W({props:{anchor:"huggingface_hub.errors.LocalEntryNotFoundError.example",$$slots:{default:[Lg]},$$scope:{ctx:T}}}),rs=new C({props:{title:"OfflineModeIsEnabled",local:"huggingface_hub.errors.OfflineModeIsEnabled",headingTag:"h4"}}),ls=new j({props:{name:"class huggingface_hub.errors.OfflineModeIsEnabled",anchor:"huggingface_hub.errors.OfflineModeIsEnabled",parameters:"",source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/errors.py#L36"}}),os=new C({props:{title:"Telemetry",local:"huggingface_hub.utils.send_telemetry",headingTag:"h2"}}),ps=new j({props:{name:"huggingface_hub.utils.send_telemetry",anchor:"huggingface_hub.utils.send_telemetry",parameters:[{name:"topic",val:": str"},{name:"library_name",val:": typing.Optional[str] = None"},{name:"library_version",val:": typing.Optional[str] = None"},{name:"user_agent",val:": typing.Union[dict, str, NoneType] = None"}],parametersDescription:[{anchor:"huggingface_hub.utils.send_telemetry.topic",description:`<strong>topic</strong> (<code>str</code>) &#x2014;
Name of the topic that is monitored. The topic is directly used to build the URL. If you want to monitor
subtopics, just use &#x201D;/&#x201D; separation. Examples: &#x201C;gradio&#x201D;, &#x201C;transformers/examples&#x201D;,&#x2026;`,name:"topic"},{anchor:"huggingface_hub.utils.send_telemetry.library_name",description:`<strong>library_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The name of the library that is making the HTTP request. Will be added to the user-agent header.`,name:"library_name"},{anchor:"huggingface_hub.utils.send_telemetry.library_version",description:`<strong>library_version</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The version of the library that is making the HTTP request. Will be added to the user-agent header.`,name:"library_version"},{anchor:"huggingface_hub.utils.send_telemetry.user_agent",description:`<strong>user_agent</strong> (<code>str</code>, <code>dict</code>, <em>optional</em>) &#x2014;
The user agent info in the form of a dictionary or a single string. It will be completed with information about the installed packages.`,name:"user_agent"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_telemetry.py#L20"}}),Ne=new W({props:{anchor:"huggingface_hub.utils.send_telemetry.example",$$slots:{default:[Gg]},$$scope:{ctx:T}}}),cs=new C({props:{title:"Validators",local:"validators",headingTag:"h2"}}),hs=new C({props:{title:"Generic decorator",local:"generic-decorator",headingTag:"h3"}}),bs=new k({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1Yi51dGlscyUyMGltcG9ydCUyMHZhbGlkYXRlX2hmX2h1Yl9hcmdzJTBBJTBBJTQwdmFsaWRhdGVfaGZfaHViX2FyZ3MlMEFkZWYlMjBteV9jb29sX21ldGhvZChyZXBvX2lkJTNBJTIwc3RyKSUzQSUwQSUyMCUyMCUyMCUyMHByaW50KHJlcG9faWQpJTBBJTBBbXlfY29vbF9tZXRob2QocmVwb19pZCUzRCUyMnZhbGlkX3JlcG9faWQlMjIpJTBBJTBBbXlfY29vbF9tZXRob2QoJTIyb3RoZXIuLnJlcG8uLmlkJTIyKSUwQSUwQW15X2Nvb2xfbWV0aG9kKHJlcG9faWQlM0QlMjJvdGhlci4ucmVwby4uaWQlMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub.utils <span class="hljs-keyword">import</span> validate_hf_hub_args

<span class="hljs-meta">&gt;&gt;&gt; </span>@validate_hf_hub_args
<span class="hljs-meta">... </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">my_cool_method</span>(<span class="hljs-params">repo_id: <span class="hljs-built_in">str</span></span>):
<span class="hljs-meta">... </span>    <span class="hljs-built_in">print</span>(repo_id)

<span class="hljs-meta">&gt;&gt;&gt; </span>my_cool_method(repo_id=<span class="hljs-string">&quot;valid_repo_id&quot;</span>)
valid_repo_id

<span class="hljs-meta">&gt;&gt;&gt; </span>my_cool_method(<span class="hljs-string">&quot;other..repo..id&quot;</span>)
huggingface_hub.utils._validators.HFValidationError: Cannot have -- <span class="hljs-keyword">or</span> .. <span class="hljs-keyword">in</span> repo_id: <span class="hljs-string">&#x27;other..repo..id&#x27;</span>.

<span class="hljs-meta">&gt;&gt;&gt; </span>my_cool_method(repo_id=<span class="hljs-string">&quot;other..repo..id&quot;</span>)
huggingface_hub.utils._validators.HFValidationError: Cannot have -- <span class="hljs-keyword">or</span> .. <span class="hljs-keyword">in</span> repo_id: <span class="hljs-string">&#x27;other..repo..id&#x27;</span>.`,wrap:!1}}),_s=new C({props:{title:"validate_hf_hub_args",local:"huggingface_hub.utils.validate_hf_hub_args",headingTag:"h4"}}),$s=new j({props:{name:"huggingface_hub.utils.validate_hf_hub_args",anchor:"huggingface_hub.utils.validate_hf_hub_args",parameters:[{name:"fn",val:": ~CallableT"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_validators.py#L42",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HFValidationError"
>HFValidationError</a> —
If an input is not valid.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HFValidationError"
>HFValidationError</a></p>
`}}),Xe=new W({props:{anchor:"huggingface_hub.utils.validate_hf_hub_args.example",$$slots:{default:[Ng]},$$scope:{ctx:T}}}),ys=new C({props:{title:"HFValidationError",local:"huggingface_hub.errors.HFValidationError",headingTag:"h4"}}),vs=new j({props:{name:"class huggingface_hub.errors.HFValidationError",anchor:"huggingface_hub.errors.HFValidationError",parameters:"",source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/errors.py#L157"}}),ws=new C({props:{title:"Argument validators",local:"argument-validators",headingTag:"h3"}}),xs=new C({props:{title:"repo_id",local:"huggingface_hub.utils.validate_repo_id",headingTag:"h4"}}),Ms=new j({props:{name:"huggingface_hub.utils.validate_repo_id",anchor:"huggingface_hub.utils.validate_repo_id",parameters:[{name:"repo_id",val:": str"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_validators.py#L94"}}),Re=new W({props:{anchor:"huggingface_hub.utils.validate_repo_id.example",$$slots:{default:[Xg]},$$scope:{ctx:T}}}),js=new C({props:{title:"smoothly_deprecate_legacy_arguments",local:"huggingface_hub.utils._validators.smoothly_deprecate_legacy_arguments",headingTag:"h4"}}),Hs=new j({props:{name:"huggingface_hub.utils._validators.smoothly_deprecate_legacy_arguments",anchor:"huggingface_hub.utils._validators.smoothly_deprecate_legacy_arguments",parameters:[{name:"fn_name",val:": str"},{name:"kwargs",val:": dict"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_validators.py#L148"}}),Js=new yg({props:{source:"https://github.com/huggingface/huggingface_hub/blob/main/docs/source/en/package_reference/utilities.md"}}),{c(){i=g("meta"),w=a(),h=g("p"),c=a(),m(y.$$.fragment),n=a(),m(v.$$.fragment),aa=a(),m(qe.$$.fragment),ra=a(),Pe=g("p"),Pe.innerHTML=Mo,la=a(),m(Ye.$$.fragment),oa=a(),We=g("p"),We.textContent=jo,ia=a(),m(Se.$$.fragment),ga=a(),ze=g("p"),ze.textContent=Co,pa=a(),Qe=g("ul"),Qe.innerHTML=Ho,ca=a(),S=g("div"),m(Ae.$$.fragment),Qr=a(),Ns=g("p"),Ns.textContent=Jo,Ar=a(),De=g("blockquote"),De.innerHTML=Eo,ua=a(),pe=g("div"),m(Ke.$$.fragment),Dr=a(),Xs=g("p"),Xs.textContent=ko,ha=a(),ce=g("div"),m(Oe.$$.fragment),Kr=a(),Rs=g("p"),Rs.innerHTML=Uo,da=a(),ue=g("div"),m(et.$$.fragment),Or=a(),Bs=g("p"),Bs.innerHTML=Io,fa=a(),he=g("div"),m(tt.$$.fragment),el=a(),Fs=g("p"),Fs.innerHTML=Zo,ma=a(),de=g("div"),m(st.$$.fragment),tl=a(),Vs=g("p"),Vs.innerHTML=Lo,ba=a(),fe=g("div"),m(nt.$$.fragment),sl=a(),qs=g("p"),qs.textContent=Go,_a=a(),me=g("div"),m(at.$$.fragment),nl=a(),Ps=g("p"),Ps.textContent=No,$a=a(),m(rt.$$.fragment),ya=a(),lt=g("p"),lt.innerHTML=Xo,va=a(),z=g("div"),m(ot.$$.fragment),al=a(),Ys=g("p"),Ys.textContent=Ro,rl=a(),m(Te.$$.fragment),wa=a(),m(it.$$.fragment),Ta=a(),gt=g("p"),gt.innerHTML=Bo,xa=a(),pt=g("p"),pt.innerHTML=Fo,Ma=a(),m(ct.$$.fragment),ja=a(),m(ut.$$.fragment),Ca=a(),ht=g("p"),ht.textContent=Vo,Ha=a(),m(dt.$$.fragment),Ja=a(),m(ft.$$.fragment),Ea=a(),Q=g("div"),m(mt.$$.fragment),ll=a(),Ws=g("p"),Ws.textContent=qo,ol=a(),Ss=g("p"),Ss.innerHTML=Po,ka=a(),m(bt.$$.fragment),Ua=a(),A=g("div"),m(_t.$$.fragment),il=a(),zs=g("p"),zs.textContent=Yo,gl=a(),Qs=g("p"),Qs.innerHTML=Wo,Ia=a(),m($t.$$.fragment),Za=a(),D=g("div"),m(yt.$$.fragment),pl=a(),As=g("p"),As.textContent=So,cl=a(),Ds=g("p"),Ds.innerHTML=zo,La=a(),m(vt.$$.fragment),Ga=a(),m(xe.$$.fragment),Na=a(),wt=g("p"),wt.innerHTML=Qo,Xa=a(),Tt=g("p"),Tt.innerHTML=Ao,Ra=a(),Z=g("div"),m(xt.$$.fragment),ul=a(),Ks=g("p"),Ks.innerHTML=Do,hl=a(),Os=g("p"),Os.innerHTML=Ko,dl=a(),en=g("p"),en.textContent=Oo,fl=a(),tn=g("p"),tn.innerHTML=ei,Ba=a(),X=g("div"),m(Mt.$$.fragment),ml=a(),sn=g("p"),sn.innerHTML=ti,bl=a(),nn=g("p"),nn.innerHTML=si,_l=a(),an=g("p"),an.innerHTML=ni,Fa=a(),jt=g("p"),jt.innerHTML=ai,Va=a(),Ct=g("p"),Ct.textContent=ri,qa=a(),R=g("div"),m(Ht.$$.fragment),$l=a(),rn=g("p"),rn.innerHTML=li,yl=a(),ln=g("p"),ln.innerHTML=oi,vl=a(),on=g("p"),on.textContent=ii,Pa=a(),Jt=g("p"),Jt.innerHTML=gi,Ya=a(),B=g("div"),m(Et.$$.fragment),wl=a(),gn=g("p"),gn.innerHTML=pi,Tl=a(),pn=g("p"),pn.innerHTML=ci,xl=a(),m(Me.$$.fragment),Wa=a(),F=g("div"),m(kt.$$.fragment),Ml=a(),cn=g("p"),cn.innerHTML=ui,jl=a(),un=g("p"),un.innerHTML=hi,Cl=a(),m(je.$$.fragment),Sa=a(),m(Ce.$$.fragment),za=a(),m(Ut.$$.fragment),Qa=a(),It=g("p"),It.innerHTML=di,Aa=a(),m(Zt.$$.fragment),Da=a(),Lt=g("p"),Lt.innerHTML=fi,Ka=a(),m(Gt.$$.fragment),Oa=a(),V=g("div"),m(Nt.$$.fragment),Hl=a(),hn=g("p"),hn.innerHTML=mi,Jl=a(),dn=g("p"),dn.textContent=bi,El=a(),Xt=g("blockquote"),Xt.innerHTML=_i,er=a(),m(Rt.$$.fragment),tr=a(),Bt=g("p"),Bt.innerHTML=$i,sr=a(),m(Ft.$$.fragment),nr=a(),Vt=g("p"),Vt.innerHTML=yi,ar=a(),E=g("div"),m(qt.$$.fragment),kl=a(),fn=g("p"),fn.textContent=vi,Ul=a(),mn=g("p"),mn.innerHTML=wi,Il=a(),bn=g("p"),bn.textContent=Ti,Zl=a(),_n=g("ul"),_n.innerHTML=xi,Ll=a(),m(He.$$.fragment),Gl=a(),Je=g("div"),m(Pt.$$.fragment),Nl=a(),$n=g("p"),$n.innerHTML=Mi,rr=a(),m(Yt.$$.fragment),lr=a(),K=g("div"),m(Wt.$$.fragment),Xl=a(),yn=g("p"),yn.textContent=ji,Rl=a(),m(Ee.$$.fragment),or=a(),m(St.$$.fragment),ir=a(),q=g("div"),m(zt.$$.fragment),Bl=a(),vn=g("p"),vn.textContent=Ci,Fl=a(),wn=g("p"),wn.innerHTML=Hi,Vl=a(),m(ke.$$.fragment),gr=a(),m(Qt.$$.fragment),pr=a(),O=g("div"),m(At.$$.fragment),ql=a(),Tn=g("p"),Tn.textContent=Ji,Pl=a(),m(Ue.$$.fragment),cr=a(),m(Dt.$$.fragment),ur=a(),ee=g("div"),m(Kt.$$.fragment),Yl=a(),xn=g("p"),xn.innerHTML=Ei,Wl=a(),m(Ie.$$.fragment),hr=a(),m(Ot.$$.fragment),dr=a(),te=g("div"),m(es.$$.fragment),Sl=a(),Mn=g("p"),Mn.textContent=ki,zl=a(),m(Ze.$$.fragment),fr=a(),m(ts.$$.fragment),mr=a(),se=g("div"),m(ss.$$.fragment),Ql=a(),jn=g("p"),jn.textContent=Ui,Al=a(),m(Le.$$.fragment),br=a(),m(ns.$$.fragment),_r=a(),ne=g("div"),m(as.$$.fragment),Dl=a(),Cn=g("p"),Cn.textContent=Ii,Kl=a(),m(Ge.$$.fragment),$r=a(),m(rs.$$.fragment),yr=a(),be=g("div"),m(ls.$$.fragment),Ol=a(),Hn=g("p"),Hn.innerHTML=Zi,vr=a(),m(os.$$.fragment),wr=a(),is=g("p"),is.innerHTML=Li,Tr=a(),gs=g("p"),gs.innerHTML=Gi,xr=a(),L=g("div"),m(ps.$$.fragment),eo=a(),Jn=g("p"),Jn.textContent=Ni,to=a(),En=g("p"),En.innerHTML=Xi,so=a(),kn=g("p"),kn.textContent=Ri,no=a(),m(Ne.$$.fragment),Mr=a(),m(cs.$$.fragment),jr=a(),us=g("p"),us.innerHTML=Bi,Cr=a(),m(hs.$$.fragment),Hr=a(),ds=g("p"),ds.innerHTML=Fi,Jr=a(),fs=g("p"),fs.innerHTML=Vi,Er=a(),ms=g("p"),ms.textContent=qi,kr=a(),m(bs.$$.fragment),Ur=a(),m(_s.$$.fragment),Ir=a(),U=g("div"),m($s.$$.fragment),ao=a(),Un=g("p"),Un.innerHTML=Pi,ro=a(),In=g("p"),In.textContent=Yi,lo=a(),Zn=g("p"),Zn.textContent=Wi,oo=a(),Ln=g("ul"),Ln.innerHTML=Si,io=a(),m(Xe.$$.fragment),Zr=a(),m(ys.$$.fragment),Lr=a(),ae=g("div"),m(vs.$$.fragment),go=a(),Gn=g("p"),Gn.innerHTML=zi,po=a(),Nn=g("p"),Nn.innerHTML=Qi,Gr=a(),m(ws.$$.fragment),Nr=a(),Ts=g("p"),Ts.textContent=Ai,Xr=a(),m(xs.$$.fragment),Rr=a(),H=g("div"),m(Ms.$$.fragment),co=a(),Xn=g("p"),Xn.innerHTML=Di,uo=a(),Rn=g("p"),Rn.innerHTML=Ki,ho=a(),Bn=g("p"),Bn.textContent=Oi,fo=a(),Fn=g("ul"),Fn.innerHTML=eg,mo=a(),Vn=g("p"),Vn.innerHTML=tg,bo=a(),qn=g("p"),qn.innerHTML=sg,_o=a(),m(Re.$$.fragment),$o=a(),Pn=g("p"),Pn.innerHTML=ng,yo=a(),Yn=g("ul"),Yn.innerHTML=ag,Br=a(),m(js.$$.fragment),Fr=a(),Cs=g("p"),Cs.textContent=rg,Vr=a(),G=g("div"),m(Hs.$$.fragment),vo=a(),Wn=g("p"),Wn.innerHTML=lg,wo=a(),Sn=g("p"),Sn.textContent=og,To=a(),zn=g("p"),zn.textContent=ig,xo=a(),Qn=g("ul"),Qn.innerHTML=gg,qr=a(),m(Js.$$.fragment),Pr=a(),na=g("p"),this.h()},l(e){const t=_g("svelte-u9bgzb",document.head);i=p(t,"META",{name:!0,content:!0}),t.forEach(s),w=r(e),h=p(e,"P",{}),M(h).forEach(s),c=r(e),b(y.$$.fragment,e),n=r(e),b(v.$$.fragment,e),aa=r(e),b(qe.$$.fragment,e),ra=r(e),Pe=p(e,"P",{"data-svelte-h":!0}),u(Pe)!=="svelte-1f5ostn"&&(Pe.innerHTML=Mo),la=r(e),b(Ye.$$.fragment,e),oa=r(e),We=p(e,"P",{"data-svelte-h":!0}),u(We)!=="svelte-1bq70jp"&&(We.textContent=jo),ia=r(e),b(Se.$$.fragment,e),ga=r(e),ze=p(e,"P",{"data-svelte-h":!0}),u(ze)!=="svelte-c6nxob"&&(ze.textContent=Co),pa=r(e),Qe=p(e,"UL",{"data-svelte-h":!0}),u(Qe)!=="svelte-1592m28"&&(Qe.innerHTML=Ho),ca=r(e),S=p(e,"DIV",{class:!0});var _e=M(S);b(Ae.$$.fragment,_e),Qr=r(_e),Ns=p(_e,"P",{"data-svelte-h":!0}),u(Ns)!=="svelte-tfh5y3"&&(Ns.textContent=Jo),Ar=r(_e),De=p(_e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),u(De)!=="svelte-1dkic07"&&(De.innerHTML=Eo),_e.forEach(s),ua=r(e),pe=p(e,"DIV",{class:!0});var Es=M(pe);b(Ke.$$.fragment,Es),Dr=r(Es),Xs=p(Es,"P",{"data-svelte-h":!0}),u(Xs)!=="svelte-fuws7x"&&(Xs.textContent=ko),Es.forEach(s),ha=r(e),ce=p(e,"DIV",{class:!0});var ks=M(ce);b(Oe.$$.fragment,ks),Kr=r(ks),Rs=p(ks,"P",{"data-svelte-h":!0}),u(Rs)!=="svelte-4hjbj0"&&(Rs.innerHTML=Uo),ks.forEach(s),da=r(e),ue=p(e,"DIV",{class:!0});var Us=M(ue);b(et.$$.fragment,Us),Or=r(Us),Bs=p(Us,"P",{"data-svelte-h":!0}),u(Bs)!=="svelte-13bnwpz"&&(Bs.innerHTML=Io),Us.forEach(s),fa=r(e),he=p(e,"DIV",{class:!0});var Is=M(he);b(tt.$$.fragment,Is),el=r(Is),Fs=p(Is,"P",{"data-svelte-h":!0}),u(Fs)!=="svelte-11c3s8"&&(Fs.innerHTML=Zo),Is.forEach(s),ma=r(e),de=p(e,"DIV",{class:!0});var Zs=M(de);b(st.$$.fragment,Zs),tl=r(Zs),Vs=p(Zs,"P",{"data-svelte-h":!0}),u(Vs)!=="svelte-1sxvz7m"&&(Vs.innerHTML=Lo),Zs.forEach(s),ba=r(e),fe=p(e,"DIV",{class:!0});var Ls=M(fe);b(nt.$$.fragment,Ls),sl=r(Ls),qs=p(Ls,"P",{"data-svelte-h":!0}),u(qs)!=="svelte-1n8oxia"&&(qs.textContent=Go),Ls.forEach(s),_a=r(e),me=p(e,"DIV",{class:!0});var Gs=M(me);b(at.$$.fragment,Gs),nl=r(Gs),Ps=p(Gs,"P",{"data-svelte-h":!0}),u(Ps)!=="svelte-18llblw"&&(Ps.textContent=No),Gs.forEach(s),$a=r(e),b(rt.$$.fragment,e),ya=r(e),lt=p(e,"P",{"data-svelte-h":!0}),u(lt)!=="svelte-1hfu347"&&(lt.innerHTML=Xo),va=r(e),z=p(e,"DIV",{class:!0});var $e=M(z);b(ot.$$.fragment,$e),al=r($e),Ys=p($e,"P",{"data-svelte-h":!0}),u(Ys)!=="svelte-8tg1b"&&(Ys.textContent=Ro),rl=r($e),b(Te.$$.fragment,$e),$e.forEach(s),wa=r(e),b(it.$$.fragment,e),Ta=r(e),gt=p(e,"P",{"data-svelte-h":!0}),u(gt)!=="svelte-1bp9gzk"&&(gt.innerHTML=Bo),xa=r(e),pt=p(e,"P",{"data-svelte-h":!0}),u(pt)!=="svelte-w2wyc7"&&(pt.innerHTML=Fo),Ma=r(e),b(ct.$$.fragment,e),ja=r(e),b(ut.$$.fragment,e),Ca=r(e),ht=p(e,"P",{"data-svelte-h":!0}),u(ht)!=="svelte-asuhsf"&&(ht.textContent=Vo),Ha=r(e),b(dt.$$.fragment,e),Ja=r(e),b(ft.$$.fragment,e),Ea=r(e),Q=p(e,"DIV",{class:!0});var ye=M(Q);b(mt.$$.fragment,ye),ll=r(ye),Ws=p(ye,"P",{"data-svelte-h":!0}),u(Ws)!=="svelte-s7l868"&&(Ws.textContent=qo),ol=r(ye),Ss=p(ye,"P",{"data-svelte-h":!0}),u(Ss)!=="svelte-qycej6"&&(Ss.innerHTML=Po),ye.forEach(s),ka=r(e),b(bt.$$.fragment,e),Ua=r(e),A=p(e,"DIV",{class:!0});var ve=M(A);b(_t.$$.fragment,ve),il=r(ve),zs=p(ve,"P",{"data-svelte-h":!0}),u(zs)!=="svelte-7nu4ca"&&(zs.textContent=Yo),gl=r(ve),Qs=p(ve,"P",{"data-svelte-h":!0}),u(Qs)!=="svelte-1ndoahc"&&(Qs.innerHTML=Wo),ve.forEach(s),Ia=r(e),b($t.$$.fragment,e),Za=r(e),D=p(e,"DIV",{class:!0});var we=M(D);b(yt.$$.fragment,we),pl=r(we),As=p(we,"P",{"data-svelte-h":!0}),u(As)!=="svelte-1wxkxyz"&&(As.textContent=So),cl=r(we),Ds=p(we,"P",{"data-svelte-h":!0}),u(Ds)!=="svelte-120yih6"&&(Ds.innerHTML=zo),we.forEach(s),La=r(e),b(vt.$$.fragment,e),Ga=r(e),b(xe.$$.fragment,e),Na=r(e),wt=p(e,"P",{"data-svelte-h":!0}),u(wt)!=="svelte-x13rvu"&&(wt.innerHTML=Qo),Xa=r(e),Tt=p(e,"P",{"data-svelte-h":!0}),u(Tt)!=="svelte-v4dpvy"&&(Tt.innerHTML=Ao),Ra=r(e),Z=p(e,"DIV",{class:!0});var P=M(Z);b(xt.$$.fragment,P),ul=r(P),Ks=p(P,"P",{"data-svelte-h":!0}),u(Ks)!=="svelte-xbmqgz"&&(Ks.innerHTML=Do),hl=r(P),Os=p(P,"P",{"data-svelte-h":!0}),u(Os)!=="svelte-4sidql"&&(Os.innerHTML=Ko),dl=r(P),en=p(P,"P",{"data-svelte-h":!0}),u(en)!=="svelte-1t6egmp"&&(en.textContent=Oo),fl=r(P),tn=p(P,"P",{"data-svelte-h":!0}),u(tn)!=="svelte-1mgjcdh"&&(tn.innerHTML=ei),P.forEach(s),Ba=r(e),X=p(e,"DIV",{class:!0});var re=M(X);b(Mt.$$.fragment,re),ml=r(re),sn=p(re,"P",{"data-svelte-h":!0}),u(sn)!=="svelte-nak98"&&(sn.innerHTML=ti),bl=r(re),nn=p(re,"P",{"data-svelte-h":!0}),u(nn)!=="svelte-1r17zcq"&&(nn.innerHTML=si),_l=r(re),an=p(re,"P",{"data-svelte-h":!0}),u(an)!=="svelte-1m3dh7k"&&(an.innerHTML=ni),re.forEach(s),Fa=r(e),jt=p(e,"P",{"data-svelte-h":!0}),u(jt)!=="svelte-13qxe7j"&&(jt.innerHTML=ai),Va=r(e),Ct=p(e,"P",{"data-svelte-h":!0}),u(Ct)!=="svelte-1d7j586"&&(Ct.textContent=ri),qa=r(e),R=p(e,"DIV",{class:!0});var le=M(R);b(Ht.$$.fragment,le),$l=r(le),rn=p(le,"P",{"data-svelte-h":!0}),u(rn)!=="svelte-l06qx"&&(rn.innerHTML=li),yl=r(le),ln=p(le,"P",{"data-svelte-h":!0}),u(ln)!=="svelte-9vv8xc"&&(ln.innerHTML=oi),vl=r(le),on=p(le,"P",{"data-svelte-h":!0}),u(on)!=="svelte-ndnmvh"&&(on.textContent=ii),le.forEach(s),Pa=r(e),Jt=p(e,"P",{"data-svelte-h":!0}),u(Jt)!=="svelte-btj3qd"&&(Jt.innerHTML=gi),Ya=r(e),B=p(e,"DIV",{class:!0});var oe=M(B);b(Et.$$.fragment,oe),wl=r(oe),gn=p(oe,"P",{"data-svelte-h":!0}),u(gn)!=="svelte-1l2g1lr"&&(gn.innerHTML=pi),Tl=r(oe),pn=p(oe,"P",{"data-svelte-h":!0}),u(pn)!=="svelte-lyygfr"&&(pn.innerHTML=ci),xl=r(oe),b(Me.$$.fragment,oe),oe.forEach(s),Wa=r(e),F=p(e,"DIV",{class:!0});var Be=M(F);b(kt.$$.fragment,Be),Ml=r(Be),cn=p(Be,"P",{"data-svelte-h":!0}),u(cn)!=="svelte-3rrcie"&&(cn.innerHTML=ui),jl=r(Be),un=p(Be,"P",{"data-svelte-h":!0}),u(un)!=="svelte-1lhrbxs"&&(un.innerHTML=hi),Cl=r(Be),b(je.$$.fragment,Be),Be.forEach(s),Sa=r(e),b(Ce.$$.fragment,e),za=r(e),b(Ut.$$.fragment,e),Qa=r(e),It=p(e,"P",{"data-svelte-h":!0}),u(It)!=="svelte-1pwej93"&&(It.innerHTML=di),Aa=r(e),b(Zt.$$.fragment,e),Da=r(e),Lt=p(e,"P",{"data-svelte-h":!0}),u(Lt)!=="svelte-jg6xcn"&&(Lt.innerHTML=fi),Ka=r(e),b(Gt.$$.fragment,e),Oa=r(e),V=p(e,"DIV",{class:!0});var Fe=M(V);b(Nt.$$.fragment,Fe),Hl=r(Fe),hn=p(Fe,"P",{"data-svelte-h":!0}),u(hn)!=="svelte-w9kt4q"&&(hn.innerHTML=mi),Jl=r(Fe),dn=p(Fe,"P",{"data-svelte-h":!0}),u(dn)!=="svelte-4s807r"&&(dn.textContent=bi),El=r(Fe),Xt=p(Fe,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),u(Xt)!=="svelte-14busa7"&&(Xt.innerHTML=_i),Fe.forEach(s),er=r(e),b(Rt.$$.fragment,e),tr=r(e),Bt=p(e,"P",{"data-svelte-h":!0}),u(Bt)!=="svelte-1uk88ij"&&(Bt.innerHTML=$i),sr=r(e),b(Ft.$$.fragment,e),nr=r(e),Vt=p(e,"P",{"data-svelte-h":!0}),u(Vt)!=="svelte-vytdbq"&&(Vt.innerHTML=yi),ar=r(e),E=p(e,"DIV",{class:!0});var N=M(E);b(qt.$$.fragment,N),kl=r(N),fn=p(N,"P",{"data-svelte-h":!0}),u(fn)!=="svelte-18strew"&&(fn.textContent=vi),Ul=r(N),mn=p(N,"P",{"data-svelte-h":!0}),u(mn)!=="svelte-avbd3z"&&(mn.innerHTML=wi),Il=r(N),bn=p(N,"P",{"data-svelte-h":!0}),u(bn)!=="svelte-crgpwu"&&(bn.textContent=Ti),Zl=r(N),_n=p(N,"UL",{"data-svelte-h":!0}),u(_n)!=="svelte-1x1ae2d"&&(_n.innerHTML=xi),Ll=r(N),b(He.$$.fragment,N),Gl=r(N),Je=p(N,"DIV",{class:!0});var Wr=M(Je);b(Pt.$$.fragment,Wr),Nl=r(Wr),$n=p(Wr,"P",{"data-svelte-h":!0}),u($n)!=="svelte-7adl8o"&&($n.innerHTML=Mi),Wr.forEach(s),N.forEach(s),rr=r(e),b(Yt.$$.fragment,e),lr=r(e),K=p(e,"DIV",{class:!0});var An=M(K);b(Wt.$$.fragment,An),Xl=r(An),yn=p(An,"P",{"data-svelte-h":!0}),u(yn)!=="svelte-sh3izq"&&(yn.textContent=ji),Rl=r(An),b(Ee.$$.fragment,An),An.forEach(s),or=r(e),b(St.$$.fragment,e),ir=r(e),q=p(e,"DIV",{class:!0});var Ve=M(q);b(zt.$$.fragment,Ve),Bl=r(Ve),vn=p(Ve,"P",{"data-svelte-h":!0}),u(vn)!=="svelte-124smaa"&&(vn.textContent=Ci),Fl=r(Ve),wn=p(Ve,"P",{"data-svelte-h":!0}),u(wn)!=="svelte-op3w3s"&&(wn.innerHTML=Hi),Vl=r(Ve),b(ke.$$.fragment,Ve),Ve.forEach(s),gr=r(e),b(Qt.$$.fragment,e),pr=r(e),O=p(e,"DIV",{class:!0});var Dn=M(O);b(At.$$.fragment,Dn),ql=r(Dn),Tn=p(Dn,"P",{"data-svelte-h":!0}),u(Tn)!=="svelte-1y14njt"&&(Tn.textContent=Ji),Pl=r(Dn),b(Ue.$$.fragment,Dn),Dn.forEach(s),cr=r(e),b(Dt.$$.fragment,e),ur=r(e),ee=p(e,"DIV",{class:!0});var Kn=M(ee);b(Kt.$$.fragment,Kn),Yl=r(Kn),xn=p(Kn,"P",{"data-svelte-h":!0}),u(xn)!=="svelte-1yqsf92"&&(xn.innerHTML=Ei),Wl=r(Kn),b(Ie.$$.fragment,Kn),Kn.forEach(s),hr=r(e),b(Ot.$$.fragment,e),dr=r(e),te=p(e,"DIV",{class:!0});var On=M(te);b(es.$$.fragment,On),Sl=r(On),Mn=p(On,"P",{"data-svelte-h":!0}),u(Mn)!=="svelte-17il5dk"&&(Mn.textContent=ki),zl=r(On),b(Ze.$$.fragment,On),On.forEach(s),fr=r(e),b(ts.$$.fragment,e),mr=r(e),se=p(e,"DIV",{class:!0});var ea=M(se);b(ss.$$.fragment,ea),Ql=r(ea),jn=p(ea,"P",{"data-svelte-h":!0}),u(jn)!=="svelte-3wgqhz"&&(jn.textContent=Ui),Al=r(ea),b(Le.$$.fragment,ea),ea.forEach(s),br=r(e),b(ns.$$.fragment,e),_r=r(e),ne=p(e,"DIV",{class:!0});var ta=M(ne);b(as.$$.fragment,ta),Dl=r(ta),Cn=p(ta,"P",{"data-svelte-h":!0}),u(Cn)!=="svelte-xav5c8"&&(Cn.textContent=Ii),Kl=r(ta),b(Ge.$$.fragment,ta),ta.forEach(s),$r=r(e),b(rs.$$.fragment,e),yr=r(e),be=p(e,"DIV",{class:!0});var Sr=M(be);b(ls.$$.fragment,Sr),Ol=r(Sr),Hn=p(Sr,"P",{"data-svelte-h":!0}),u(Hn)!=="svelte-17km46a"&&(Hn.innerHTML=Zi),Sr.forEach(s),vr=r(e),b(os.$$.fragment,e),wr=r(e),is=p(e,"P",{"data-svelte-h":!0}),u(is)!=="svelte-nhuyfz"&&(is.innerHTML=Li),Tr=r(e),gs=p(e,"P",{"data-svelte-h":!0}),u(gs)!=="svelte-k49iiw"&&(gs.innerHTML=Gi),xr=r(e),L=p(e,"DIV",{class:!0});var ie=M(L);b(ps.$$.fragment,ie),eo=r(ie),Jn=p(ie,"P",{"data-svelte-h":!0}),u(Jn)!=="svelte-1ywkzn2"&&(Jn.textContent=Ni),to=r(ie),En=p(ie,"P",{"data-svelte-h":!0}),u(En)!=="svelte-1w41bga"&&(En.innerHTML=Xi),so=r(ie),kn=p(ie,"P",{"data-svelte-h":!0}),u(kn)!=="svelte-yxaifj"&&(kn.textContent=Ri),no=r(ie),b(Ne.$$.fragment,ie),ie.forEach(s),Mr=r(e),b(cs.$$.fragment,e),jr=r(e),us=p(e,"P",{"data-svelte-h":!0}),u(us)!=="svelte-1sy4xpm"&&(us.innerHTML=Bi),Cr=r(e),b(hs.$$.fragment,e),Hr=r(e),ds=p(e,"P",{"data-svelte-h":!0}),u(ds)!=="svelte-7v8vkv"&&(ds.innerHTML=Fi),Jr=r(e),fs=p(e,"P",{"data-svelte-h":!0}),u(fs)!=="svelte-nz6kyp"&&(fs.innerHTML=Vi),Er=r(e),ms=p(e,"P",{"data-svelte-h":!0}),u(ms)!=="svelte-5wyjqd"&&(ms.textContent=qi),kr=r(e),b(bs.$$.fragment,e),Ur=r(e),b(_s.$$.fragment,e),Ir=r(e),U=p(e,"DIV",{class:!0});var Y=M(U);b($s.$$.fragment,Y),ao=r(Y),Un=p(Y,"P",{"data-svelte-h":!0}),u(Un)!=="svelte-1ie7wvp"&&(Un.innerHTML=Pi),ro=r(Y),In=p(Y,"P",{"data-svelte-h":!0}),u(In)!=="svelte-s9eemq"&&(In.textContent=Yi),lo=r(Y),Zn=p(Y,"P",{"data-svelte-h":!0}),u(Zn)!=="svelte-gm0f4r"&&(Zn.textContent=Wi),oo=r(Y),Ln=p(Y,"UL",{"data-svelte-h":!0}),u(Ln)!=="svelte-qmreah"&&(Ln.innerHTML=Si),io=r(Y),b(Xe.$$.fragment,Y),Y.forEach(s),Zr=r(e),b(ys.$$.fragment,e),Lr=r(e),ae=p(e,"DIV",{class:!0});var sa=M(ae);b(vs.$$.fragment,sa),go=r(sa),Gn=p(sa,"P",{"data-svelte-h":!0}),u(Gn)!=="svelte-18mocqd"&&(Gn.innerHTML=zi),po=r(sa),Nn=p(sa,"P",{"data-svelte-h":!0}),u(Nn)!=="svelte-1x4lpy7"&&(Nn.innerHTML=Qi),sa.forEach(s),Gr=r(e),b(ws.$$.fragment,e),Nr=r(e),Ts=p(e,"P",{"data-svelte-h":!0}),u(Ts)!=="svelte-lrn6fl"&&(Ts.textContent=Ai),Xr=r(e),b(xs.$$.fragment,e),Rr=r(e),H=p(e,"DIV",{class:!0});var J=M(H);b(Ms.$$.fragment,J),co=r(J),Xn=p(J,"P",{"data-svelte-h":!0}),u(Xn)!=="svelte-a7trx5"&&(Xn.innerHTML=Di),uo=r(J),Rn=p(J,"P",{"data-svelte-h":!0}),u(Rn)!=="svelte-j8tpz5"&&(Rn.innerHTML=Ki),ho=r(J),Bn=p(J,"P",{"data-svelte-h":!0}),u(Bn)!=="svelte-1k3ttfh"&&(Bn.textContent=Oi),fo=r(J),Fn=p(J,"UL",{"data-svelte-h":!0}),u(Fn)!=="svelte-btlkju"&&(Fn.innerHTML=eg),mo=r(J),Vn=p(J,"P",{"data-svelte-h":!0}),u(Vn)!=="svelte-1gfzn2"&&(Vn.innerHTML=tg),bo=r(J),qn=p(J,"P",{"data-svelte-h":!0}),u(qn)!=="svelte-dpfzvw"&&(qn.innerHTML=sg),_o=r(J),b(Re.$$.fragment,J),$o=r(J),Pn=p(J,"P",{"data-svelte-h":!0}),u(Pn)!=="svelte-u984v5"&&(Pn.innerHTML=ng),yo=r(J),Yn=p(J,"UL",{"data-svelte-h":!0}),u(Yn)!=="svelte-p5ztoo"&&(Yn.innerHTML=ag),J.forEach(s),Br=r(e),b(js.$$.fragment,e),Fr=r(e),Cs=p(e,"P",{"data-svelte-h":!0}),u(Cs)!=="svelte-1nxvghg"&&(Cs.textContent=rg),Vr=r(e),G=p(e,"DIV",{class:!0});var ge=M(G);b(Hs.$$.fragment,ge),vo=r(ge),Wn=p(ge,"P",{"data-svelte-h":!0}),u(Wn)!=="svelte-1x0qe4i"&&(Wn.innerHTML=lg),wo=r(ge),Sn=p(ge,"P",{"data-svelte-h":!0}),u(Sn)!=="svelte-103e5sp"&&(Sn.textContent=og),To=r(ge),zn=p(ge,"P",{"data-svelte-h":!0}),u(zn)!=="svelte-1as14mk"&&(zn.textContent=ig),xo=r(ge),Qn=p(ge,"UL",{"data-svelte-h":!0}),u(Qn)!=="svelte-kjifme"&&(Qn.innerHTML=gg),ge.forEach(s),qr=r(e),b(Js.$$.fragment,e),Pr=r(e),na=p(e,"P",{}),M(na).forEach(s),this.h()},h(){x(i,"name","hf:doc:metadata"),x(i,"content",Bg),x(De,"class","tip"),x(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(he,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(de,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(Q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(X,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(Xt,"class","warning"),x(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(Je,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(K,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(te,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(be,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(ae,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,t){o(document.head,i),l(e,w,t),l(e,h,t),l(e,c,t),_(y,e,t),l(e,n,t),_(v,e,t),l(e,aa,t),_(qe,e,t),l(e,ra,t),l(e,Pe,t),l(e,la,t),_(Ye,e,t),l(e,oa,t),l(e,We,t),l(e,ia,t),_(Se,e,t),l(e,ga,t),l(e,ze,t),l(e,pa,t),l(e,Qe,t),l(e,ca,t),l(e,S,t),_(Ae,S,null),o(S,Qr),o(S,Ns),o(S,Ar),o(S,De),l(e,ua,t),l(e,pe,t),_(Ke,pe,null),o(pe,Dr),o(pe,Xs),l(e,ha,t),l(e,ce,t),_(Oe,ce,null),o(ce,Kr),o(ce,Rs),l(e,da,t),l(e,ue,t),_(et,ue,null),o(ue,Or),o(ue,Bs),l(e,fa,t),l(e,he,t),_(tt,he,null),o(he,el),o(he,Fs),l(e,ma,t),l(e,de,t),_(st,de,null),o(de,tl),o(de,Vs),l(e,ba,t),l(e,fe,t),_(nt,fe,null),o(fe,sl),o(fe,qs),l(e,_a,t),l(e,me,t),_(at,me,null),o(me,nl),o(me,Ps),l(e,$a,t),_(rt,e,t),l(e,ya,t),l(e,lt,t),l(e,va,t),l(e,z,t),_(ot,z,null),o(z,al),o(z,Ys),o(z,rl),_(Te,z,null),l(e,wa,t),_(it,e,t),l(e,Ta,t),l(e,gt,t),l(e,xa,t),l(e,pt,t),l(e,Ma,t),_(ct,e,t),l(e,ja,t),_(ut,e,t),l(e,Ca,t),l(e,ht,t),l(e,Ha,t),_(dt,e,t),l(e,Ja,t),_(ft,e,t),l(e,Ea,t),l(e,Q,t),_(mt,Q,null),o(Q,ll),o(Q,Ws),o(Q,ol),o(Q,Ss),l(e,ka,t),_(bt,e,t),l(e,Ua,t),l(e,A,t),_(_t,A,null),o(A,il),o(A,zs),o(A,gl),o(A,Qs),l(e,Ia,t),_($t,e,t),l(e,Za,t),l(e,D,t),_(yt,D,null),o(D,pl),o(D,As),o(D,cl),o(D,Ds),l(e,La,t),_(vt,e,t),l(e,Ga,t),_(xe,e,t),l(e,Na,t),l(e,wt,t),l(e,Xa,t),l(e,Tt,t),l(e,Ra,t),l(e,Z,t),_(xt,Z,null),o(Z,ul),o(Z,Ks),o(Z,hl),o(Z,Os),o(Z,dl),o(Z,en),o(Z,fl),o(Z,tn),l(e,Ba,t),l(e,X,t),_(Mt,X,null),o(X,ml),o(X,sn),o(X,bl),o(X,nn),o(X,_l),o(X,an),l(e,Fa,t),l(e,jt,t),l(e,Va,t),l(e,Ct,t),l(e,qa,t),l(e,R,t),_(Ht,R,null),o(R,$l),o(R,rn),o(R,yl),o(R,ln),o(R,vl),o(R,on),l(e,Pa,t),l(e,Jt,t),l(e,Ya,t),l(e,B,t),_(Et,B,null),o(B,wl),o(B,gn),o(B,Tl),o(B,pn),o(B,xl),_(Me,B,null),l(e,Wa,t),l(e,F,t),_(kt,F,null),o(F,Ml),o(F,cn),o(F,jl),o(F,un),o(F,Cl),_(je,F,null),l(e,Sa,t),_(Ce,e,t),l(e,za,t),_(Ut,e,t),l(e,Qa,t),l(e,It,t),l(e,Aa,t),_(Zt,e,t),l(e,Da,t),l(e,Lt,t),l(e,Ka,t),_(Gt,e,t),l(e,Oa,t),l(e,V,t),_(Nt,V,null),o(V,Hl),o(V,hn),o(V,Jl),o(V,dn),o(V,El),o(V,Xt),l(e,er,t),_(Rt,e,t),l(e,tr,t),l(e,Bt,t),l(e,sr,t),_(Ft,e,t),l(e,nr,t),l(e,Vt,t),l(e,ar,t),l(e,E,t),_(qt,E,null),o(E,kl),o(E,fn),o(E,Ul),o(E,mn),o(E,Il),o(E,bn),o(E,Zl),o(E,_n),o(E,Ll),_(He,E,null),o(E,Gl),o(E,Je),_(Pt,Je,null),o(Je,Nl),o(Je,$n),l(e,rr,t),_(Yt,e,t),l(e,lr,t),l(e,K,t),_(Wt,K,null),o(K,Xl),o(K,yn),o(K,Rl),_(Ee,K,null),l(e,or,t),_(St,e,t),l(e,ir,t),l(e,q,t),_(zt,q,null),o(q,Bl),o(q,vn),o(q,Fl),o(q,wn),o(q,Vl),_(ke,q,null),l(e,gr,t),_(Qt,e,t),l(e,pr,t),l(e,O,t),_(At,O,null),o(O,ql),o(O,Tn),o(O,Pl),_(Ue,O,null),l(e,cr,t),_(Dt,e,t),l(e,ur,t),l(e,ee,t),_(Kt,ee,null),o(ee,Yl),o(ee,xn),o(ee,Wl),_(Ie,ee,null),l(e,hr,t),_(Ot,e,t),l(e,dr,t),l(e,te,t),_(es,te,null),o(te,Sl),o(te,Mn),o(te,zl),_(Ze,te,null),l(e,fr,t),_(ts,e,t),l(e,mr,t),l(e,se,t),_(ss,se,null),o(se,Ql),o(se,jn),o(se,Al),_(Le,se,null),l(e,br,t),_(ns,e,t),l(e,_r,t),l(e,ne,t),_(as,ne,null),o(ne,Dl),o(ne,Cn),o(ne,Kl),_(Ge,ne,null),l(e,$r,t),_(rs,e,t),l(e,yr,t),l(e,be,t),_(ls,be,null),o(be,Ol),o(be,Hn),l(e,vr,t),_(os,e,t),l(e,wr,t),l(e,is,t),l(e,Tr,t),l(e,gs,t),l(e,xr,t),l(e,L,t),_(ps,L,null),o(L,eo),o(L,Jn),o(L,to),o(L,En),o(L,so),o(L,kn),o(L,no),_(Ne,L,null),l(e,Mr,t),_(cs,e,t),l(e,jr,t),l(e,us,t),l(e,Cr,t),_(hs,e,t),l(e,Hr,t),l(e,ds,t),l(e,Jr,t),l(e,fs,t),l(e,Er,t),l(e,ms,t),l(e,kr,t),_(bs,e,t),l(e,Ur,t),_(_s,e,t),l(e,Ir,t),l(e,U,t),_($s,U,null),o(U,ao),o(U,Un),o(U,ro),o(U,In),o(U,lo),o(U,Zn),o(U,oo),o(U,Ln),o(U,io),_(Xe,U,null),l(e,Zr,t),_(ys,e,t),l(e,Lr,t),l(e,ae,t),_(vs,ae,null),o(ae,go),o(ae,Gn),o(ae,po),o(ae,Nn),l(e,Gr,t),_(ws,e,t),l(e,Nr,t),l(e,Ts,t),l(e,Xr,t),_(xs,e,t),l(e,Rr,t),l(e,H,t),_(Ms,H,null),o(H,co),o(H,Xn),o(H,uo),o(H,Rn),o(H,ho),o(H,Bn),o(H,fo),o(H,Fn),o(H,mo),o(H,Vn),o(H,bo),o(H,qn),o(H,_o),_(Re,H,null),o(H,$o),o(H,Pn),o(H,yo),o(H,Yn),l(e,Br,t),_(js,e,t),l(e,Fr,t),l(e,Cs,t),l(e,Vr,t),l(e,G,t),_(Hs,G,null),o(G,vo),o(G,Wn),o(G,wo),o(G,Sn),o(G,To),o(G,zn),o(G,xo),o(G,Qn),l(e,qr,t),_(Js,e,t),l(e,Pr,t),l(e,na,t),Yr=!0},p(e,[t]){const _e={};t&2&&(_e.$$scope={dirty:t,ctx:e}),Te.$set(_e);const Es={};t&2&&(Es.$$scope={dirty:t,ctx:e}),xe.$set(Es);const ks={};t&2&&(ks.$$scope={dirty:t,ctx:e}),Me.$set(ks);const Us={};t&2&&(Us.$$scope={dirty:t,ctx:e}),je.$set(Us);const Is={};t&2&&(Is.$$scope={dirty:t,ctx:e}),Ce.$set(Is);const Zs={};t&2&&(Zs.$$scope={dirty:t,ctx:e}),He.$set(Zs);const Ls={};t&2&&(Ls.$$scope={dirty:t,ctx:e}),Ee.$set(Ls);const Gs={};t&2&&(Gs.$$scope={dirty:t,ctx:e}),ke.$set(Gs);const $e={};t&2&&($e.$$scope={dirty:t,ctx:e}),Ue.$set($e);const ye={};t&2&&(ye.$$scope={dirty:t,ctx:e}),Ie.$set(ye);const ve={};t&2&&(ve.$$scope={dirty:t,ctx:e}),Ze.$set(ve);const we={};t&2&&(we.$$scope={dirty:t,ctx:e}),Le.$set(we);const P={};t&2&&(P.$$scope={dirty:t,ctx:e}),Ge.$set(P);const re={};t&2&&(re.$$scope={dirty:t,ctx:e}),Ne.$set(re);const le={};t&2&&(le.$$scope={dirty:t,ctx:e}),Xe.$set(le);const oe={};t&2&&(oe.$$scope={dirty:t,ctx:e}),Re.$set(oe)},i(e){Yr||(d(y.$$.fragment,e),d(v.$$.fragment,e),d(qe.$$.fragment,e),d(Ye.$$.fragment,e),d(Se.$$.fragment,e),d(Ae.$$.fragment,e),d(Ke.$$.fragment,e),d(Oe.$$.fragment,e),d(et.$$.fragment,e),d(tt.$$.fragment,e),d(st.$$.fragment,e),d(nt.$$.fragment,e),d(at.$$.fragment,e),d(rt.$$.fragment,e),d(ot.$$.fragment,e),d(Te.$$.fragment,e),d(it.$$.fragment,e),d(ct.$$.fragment,e),d(ut.$$.fragment,e),d(dt.$$.fragment,e),d(ft.$$.fragment,e),d(mt.$$.fragment,e),d(bt.$$.fragment,e),d(_t.$$.fragment,e),d($t.$$.fragment,e),d(yt.$$.fragment,e),d(vt.$$.fragment,e),d(xe.$$.fragment,e),d(xt.$$.fragment,e),d(Mt.$$.fragment,e),d(Ht.$$.fragment,e),d(Et.$$.fragment,e),d(Me.$$.fragment,e),d(kt.$$.fragment,e),d(je.$$.fragment,e),d(Ce.$$.fragment,e),d(Ut.$$.fragment,e),d(Zt.$$.fragment,e),d(Gt.$$.fragment,e),d(Nt.$$.fragment,e),d(Rt.$$.fragment,e),d(Ft.$$.fragment,e),d(qt.$$.fragment,e),d(He.$$.fragment,e),d(Pt.$$.fragment,e),d(Yt.$$.fragment,e),d(Wt.$$.fragment,e),d(Ee.$$.fragment,e),d(St.$$.fragment,e),d(zt.$$.fragment,e),d(ke.$$.fragment,e),d(Qt.$$.fragment,e),d(At.$$.fragment,e),d(Ue.$$.fragment,e),d(Dt.$$.fragment,e),d(Kt.$$.fragment,e),d(Ie.$$.fragment,e),d(Ot.$$.fragment,e),d(es.$$.fragment,e),d(Ze.$$.fragment,e),d(ts.$$.fragment,e),d(ss.$$.fragment,e),d(Le.$$.fragment,e),d(ns.$$.fragment,e),d(as.$$.fragment,e),d(Ge.$$.fragment,e),d(rs.$$.fragment,e),d(ls.$$.fragment,e),d(os.$$.fragment,e),d(ps.$$.fragment,e),d(Ne.$$.fragment,e),d(cs.$$.fragment,e),d(hs.$$.fragment,e),d(bs.$$.fragment,e),d(_s.$$.fragment,e),d($s.$$.fragment,e),d(Xe.$$.fragment,e),d(ys.$$.fragment,e),d(vs.$$.fragment,e),d(ws.$$.fragment,e),d(xs.$$.fragment,e),d(Ms.$$.fragment,e),d(Re.$$.fragment,e),d(js.$$.fragment,e),d(Hs.$$.fragment,e),d(Js.$$.fragment,e),Yr=!0)},o(e){f(y.$$.fragment,e),f(v.$$.fragment,e),f(qe.$$.fragment,e),f(Ye.$$.fragment,e),f(Se.$$.fragment,e),f(Ae.$$.fragment,e),f(Ke.$$.fragment,e),f(Oe.$$.fragment,e),f(et.$$.fragment,e),f(tt.$$.fragment,e),f(st.$$.fragment,e),f(nt.$$.fragment,e),f(at.$$.fragment,e),f(rt.$$.fragment,e),f(ot.$$.fragment,e),f(Te.$$.fragment,e),f(it.$$.fragment,e),f(ct.$$.fragment,e),f(ut.$$.fragment,e),f(dt.$$.fragment,e),f(ft.$$.fragment,e),f(mt.$$.fragment,e),f(bt.$$.fragment,e),f(_t.$$.fragment,e),f($t.$$.fragment,e),f(yt.$$.fragment,e),f(vt.$$.fragment,e),f(xe.$$.fragment,e),f(xt.$$.fragment,e),f(Mt.$$.fragment,e),f(Ht.$$.fragment,e),f(Et.$$.fragment,e),f(Me.$$.fragment,e),f(kt.$$.fragment,e),f(je.$$.fragment,e),f(Ce.$$.fragment,e),f(Ut.$$.fragment,e),f(Zt.$$.fragment,e),f(Gt.$$.fragment,e),f(Nt.$$.fragment,e),f(Rt.$$.fragment,e),f(Ft.$$.fragment,e),f(qt.$$.fragment,e),f(He.$$.fragment,e),f(Pt.$$.fragment,e),f(Yt.$$.fragment,e),f(Wt.$$.fragment,e),f(Ee.$$.fragment,e),f(St.$$.fragment,e),f(zt.$$.fragment,e),f(ke.$$.fragment,e),f(Qt.$$.fragment,e),f(At.$$.fragment,e),f(Ue.$$.fragment,e),f(Dt.$$.fragment,e),f(Kt.$$.fragment,e),f(Ie.$$.fragment,e),f(Ot.$$.fragment,e),f(es.$$.fragment,e),f(Ze.$$.fragment,e),f(ts.$$.fragment,e),f(ss.$$.fragment,e),f(Le.$$.fragment,e),f(ns.$$.fragment,e),f(as.$$.fragment,e),f(Ge.$$.fragment,e),f(rs.$$.fragment,e),f(ls.$$.fragment,e),f(os.$$.fragment,e),f(ps.$$.fragment,e),f(Ne.$$.fragment,e),f(cs.$$.fragment,e),f(hs.$$.fragment,e),f(bs.$$.fragment,e),f(_s.$$.fragment,e),f($s.$$.fragment,e),f(Xe.$$.fragment,e),f(ys.$$.fragment,e),f(vs.$$.fragment,e),f(ws.$$.fragment,e),f(xs.$$.fragment,e),f(Ms.$$.fragment,e),f(Re.$$.fragment,e),f(js.$$.fragment,e),f(Hs.$$.fragment,e),f(Js.$$.fragment,e),Yr=!1},d(e){e&&(s(w),s(h),s(c),s(n),s(aa),s(ra),s(Pe),s(la),s(oa),s(We),s(ia),s(ga),s(ze),s(pa),s(Qe),s(ca),s(S),s(ua),s(pe),s(ha),s(ce),s(da),s(ue),s(fa),s(he),s(ma),s(de),s(ba),s(fe),s(_a),s(me),s($a),s(ya),s(lt),s(va),s(z),s(wa),s(Ta),s(gt),s(xa),s(pt),s(Ma),s(ja),s(Ca),s(ht),s(Ha),s(Ja),s(Ea),s(Q),s(ka),s(Ua),s(A),s(Ia),s(Za),s(D),s(La),s(Ga),s(Na),s(wt),s(Xa),s(Tt),s(Ra),s(Z),s(Ba),s(X),s(Fa),s(jt),s(Va),s(Ct),s(qa),s(R),s(Pa),s(Jt),s(Ya),s(B),s(Wa),s(F),s(Sa),s(za),s(Qa),s(It),s(Aa),s(Da),s(Lt),s(Ka),s(Oa),s(V),s(er),s(tr),s(Bt),s(sr),s(nr),s(Vt),s(ar),s(E),s(rr),s(lr),s(K),s(or),s(ir),s(q),s(gr),s(pr),s(O),s(cr),s(ur),s(ee),s(hr),s(dr),s(te),s(fr),s(mr),s(se),s(br),s(_r),s(ne),s($r),s(yr),s(be),s(vr),s(wr),s(is),s(Tr),s(gs),s(xr),s(L),s(Mr),s(jr),s(us),s(Cr),s(Hr),s(ds),s(Jr),s(fs),s(Er),s(ms),s(kr),s(Ur),s(Ir),s(U),s(Zr),s(Lr),s(ae),s(Gr),s(Nr),s(Ts),s(Xr),s(Rr),s(H),s(Br),s(Fr),s(Cs),s(Vr),s(G),s(qr),s(Pr),s(na)),s(i),$(y,e),$(v,e),$(qe,e),$(Ye,e),$(Se,e),$(Ae),$(Ke),$(Oe),$(et),$(tt),$(st),$(nt),$(at),$(rt,e),$(ot),$(Te),$(it,e),$(ct,e),$(ut,e),$(dt,e),$(ft,e),$(mt),$(bt,e),$(_t),$($t,e),$(yt),$(vt,e),$(xe,e),$(xt),$(Mt),$(Ht),$(Et),$(Me),$(kt),$(je),$(Ce,e),$(Ut,e),$(Zt,e),$(Gt,e),$(Nt),$(Rt,e),$(Ft,e),$(qt),$(He),$(Pt),$(Yt,e),$(Wt),$(Ee),$(St,e),$(zt),$(ke),$(Qt,e),$(At),$(Ue),$(Dt,e),$(Kt),$(Ie),$(Ot,e),$(es),$(Ze),$(ts,e),$(ss),$(Le),$(ns,e),$(as),$(Ge),$(rs,e),$(ls),$(os,e),$(ps),$(Ne),$(cs,e),$(hs,e),$(bs,e),$(_s,e),$($s),$(Xe),$(ys,e),$(vs),$(ws,e),$(xs,e),$(Ms),$(Re),$(js,e),$(Hs),$(Js,e)}}}const Bg='{"title":"Utilities","local":"utilities","sections":[{"title":"Configure logging","local":"huggingface_hub.utils.logging.get_verbosity","sections":[{"title":"Repo-specific helper methods","local":"huggingface_hub.utils.logging.get_logger","sections":[],"depth":3}],"depth":2},{"title":"Configure progress bars","local":"configure-progress-bars","sections":[{"title":"Group-specific control of progress bars","local":"group-specific-control-of-progress-bars","sections":[],"depth":3},{"title":"are_progress_bars_disabled","local":"huggingface_hub.utils.are_progress_bars_disabled","sections":[],"depth":3},{"title":"disable_progress_bars","local":"huggingface_hub.utils.disable_progress_bars","sections":[],"depth":3},{"title":"enable_progress_bars","local":"huggingface_hub.utils.enable_progress_bars","sections":[],"depth":3}],"depth":2},{"title":"Configuring the HTTP Backend","local":"huggingface_hub.set_client_factory","sections":[],"depth":2},{"title":"Handle HTTP errors","local":"handle-http-errors","sections":[{"title":"Raise for status","local":"huggingface_hub.hf_raise_for_status","sections":[],"depth":3},{"title":"HTTP errors","local":"http-errors","sections":[{"title":"HfHubHTTPError","local":"huggingface_hub.errors.HfHubHTTPError","sections":[],"depth":4},{"title":"RepositoryNotFoundError","local":"huggingface_hub.errors.RepositoryNotFoundError","sections":[],"depth":4},{"title":"GatedRepoError","local":"huggingface_hub.errors.GatedRepoError","sections":[],"depth":4},{"title":"RevisionNotFoundError","local":"huggingface_hub.errors.RevisionNotFoundError","sections":[],"depth":4},{"title":"BadRequestError","local":"huggingface_hub.errors.BadRequestError","sections":[],"depth":4},{"title":"EntryNotFoundError","local":"huggingface_hub.errors.EntryNotFoundError","sections":[],"depth":4},{"title":"RemoteEntryNotFoundError","local":"huggingface_hub.errors.RemoteEntryNotFoundError","sections":[],"depth":4},{"title":"LocalEntryNotFoundError","local":"huggingface_hub.errors.LocalEntryNotFoundError","sections":[],"depth":4},{"title":"OfflineModeIsEnabled","local":"huggingface_hub.errors.OfflineModeIsEnabled","sections":[],"depth":4}],"depth":3}],"depth":2},{"title":"Telemetry","local":"huggingface_hub.utils.send_telemetry","sections":[],"depth":2},{"title":"Validators","local":"validators","sections":[{"title":"Generic decorator","local":"generic-decorator","sections":[{"title":"validate_hf_hub_args","local":"huggingface_hub.utils.validate_hf_hub_args","sections":[],"depth":4},{"title":"HFValidationError","local":"huggingface_hub.errors.HFValidationError","sections":[],"depth":4}],"depth":3},{"title":"Argument validators","local":"argument-validators","sections":[{"title":"repo_id","local":"huggingface_hub.utils.validate_repo_id","sections":[],"depth":4},{"title":"smoothly_deprecate_legacy_arguments","local":"huggingface_hub.utils._validators.smoothly_deprecate_legacy_arguments","sections":[],"depth":4}],"depth":3}],"depth":2}],"depth":1}';function Fg(T){return bg(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Qg extends cg{constructor(i){super(),ug(this,i,Fg,Rg,pg,{})}}export{Qg as component};
