import{s as yI,o as vI,n as U}from"../chunks/scheduler.0cf4ef2e.js";import{S as xI,i as wI,e as r,s as o,c as u,h as $I,a as i,d as p,b as a,f as T,g as h,j as d,k as j,l as e,m as k,n as f,t as m,o as _,p as b}from"../chunks/index.abc433bf.js";import{C as kI}from"../chunks/CopyLLMTxtMenu.efc6b005.js";import{D as M}from"../chunks/Docstring.e4170f41.js";import{C as H}from"../chunks/CodeBlock.00dcd05e.js";import{E as I}from"../chunks/ExampleCodeBlock.9d6d4e26.js";import{H as A,E as jI}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.86d448e2.js";function TI(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGFkZF9jb2xsZWN0aW9uX2l0ZW0lMEFjb2xsZWN0aW9uJTIwJTNEJTIwYWRkX2NvbGxlY3Rpb25faXRlbSglMEElMjAlMjAlMjAlMjBjb2xsZWN0aW9uX3NsdWclM0QlMjJkYXZhbnN0cmllbiUyRmNsaW1hdGUtNjRmOTlkYzJhNTA2N2Y2YjY1NTMxYmFiJTIyJTJDJTBBJTIwJTIwJTIwJTIwaXRlbV9pZCUzRCUyMnBpZXJyZS1sb2ljJTJGY2xpbWF0ZS1uZXdzLWFydGljbGVzJTIyJTJDJTBBJTIwJTIwJTIwJTIwaXRlbV90eXBlJTNEJTIyZGF0YXNldCUyMiUwQSklMEFjb2xsZWN0aW9uLml0ZW1zJTVCLTElNUQuaXRlbV9pZCUwQSUwQWFkZF9jb2xsZWN0aW9uX2l0ZW0oJTBBJTIwJTIwJTIwJTIwY29sbGVjdGlvbl9zbHVnJTNEJTIyZGF2YW5zdHJpZW4lMkZjbGltYXRlLTY0Zjk5ZGMyYTUwNjdmNmI2NTUzMWJhYiUyMiUyQyUwQSUyMCUyMCUyMCUyMGl0ZW1faWQlM0QlMjJkYXRhc2V0cyUyRmNsaW1hdGVfZmV2ZXIlMjIlMkMlMEElMjAlMjAlMjAlMjBpdGVtX3R5cGUlM0QlMjJkYXRhc2V0JTIyJTBBJTIwJTIwJTIwJTIwbm90ZSUzRCUyMlRoaXMlMjBkYXRhc2V0JTIwYWRvcHRzJTIwdGhlJTIwRkVWRVIlMjBtZXRob2RvbG9neSUyMHRoYXQlMjBjb25zaXN0cyUyMG9mJTIwMSUyQzUzNSUyMHJlYWwtd29ybGQlMjBjbGFpbXMlMjByZWdhcmRpbmclMjBjbGltYXRlLWNoYW5nZSUyMGNvbGxlY3RlZCUyMG9uJTIwdGhlJTIwaW50ZXJuZXQuJTIyJTBBKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> add_collection_item
<span class="hljs-meta">&gt;&gt;&gt; </span>collection = add_collection_item(
<span class="hljs-meta">... </span>    collection_slug=<span class="hljs-string">&quot;davanstrien/climate-64f99dc2a5067f6b65531bab&quot;</span>,
<span class="hljs-meta">... </span>    item_id=<span class="hljs-string">&quot;pierre-loic/climate-news-articles&quot;</span>,
<span class="hljs-meta">... </span>    item_type=<span class="hljs-string">&quot;dataset&quot;</span>
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>collection.items[-<span class="hljs-number">1</span>].item_id
<span class="hljs-string">&quot;pierre-loic/climate-news-articles&quot;</span>
<span class="hljs-comment"># ^item got added to the collection on last position</span>

<span class="hljs-comment"># Add item with a note</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>add_collection_item(
<span class="hljs-meta">... </span>    collection_slug=<span class="hljs-string">&quot;davanstrien/climate-64f99dc2a5067f6b65531bab&quot;</span>,
<span class="hljs-meta">... </span>    item_id=<span class="hljs-string">&quot;datasets/climate_fever&quot;</span>,
<span class="hljs-meta">... </span>    item_type=<span class="hljs-string">&quot;dataset&quot;</span>
<span class="hljs-meta">... </span>    note=<span class="hljs-string">&quot;This dataset adopts the FEVER methodology that consists of 1,535 real-world claims regarding climate-change collected on the internet.&quot;</span>
<span class="hljs-meta">... </span>)
(...)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function MI(q){let s,$="Check if the user has access to a repository:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGF1dGhfY2hlY2slMEFmcm9tJTIwaHVnZ2luZ2ZhY2VfaHViLnV0aWxzJTIwaW1wb3J0JTIwR2F0ZWRSZXBvRXJyb3IlMkMlMjBSZXBvc2l0b3J5Tm90Rm91bmRFcnJvciUwQQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> auth_check
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub.utils <span class="hljs-keyword">import</span> GatedRepoError, RepositoryNotFoundError

<span class="hljs-keyword">try</span>:
    auth_check(<span class="hljs-string">&quot;user/my-cool-model&quot;</span>)
<span class="hljs-keyword">except</span> GatedRepoError:
    <span class="hljs-comment"># Handle gated repository error</span>
    <span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;You do not have permission to access this gated repository.&quot;</span>)
<span class="hljs-keyword">except</span> RepositoryNotFoundError:
    <span class="hljs-comment"># Handle repository not found error</span>
    <span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;The repository was not found or you do not have access.&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-12u7bhh"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function qI(q){let s,$="Examples:",l,c,g;return c=new H({props:{code:"bmV3X3RpdGxlJTIwJTNEJTIwJTIyTmV3JTIwdGl0bGUlMkMlMjBmaXhpbmclMjBhJTIwdHlwbyUyMiUwQUhmQXBpKCkucmVuYW1lX2Rpc2N1c3Npb24oJTBBJTIwJTIwJTIwJTIwcmVwb19pZCUzRCUyMnVzZXJuYW1lJTJGcmVwb19uYW1lJTIyJTJDJTBBJTIwJTIwJTIwJTIwZGlzY3Vzc2lvbl9udW0lM0QzNCUwQSUyMCUyMCUyMCUyMG5ld190aXRsZSUzRG5ld190aXRsZSUwQSklMEE=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>new_title = <span class="hljs-string">&quot;New title, fixing a typo&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>HfApi().rename_discussion(
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;username/repo_name&quot;</span>,
<span class="hljs-meta">... </span>    discussion_num=<span class="hljs-number">34</span>
<span class="hljs-meta">... </span>    new_title=new_title
<span class="hljs-meta">... </span>)
<span class="hljs-comment"># DiscussionStatusChange(id=&#x27;deadbeef0000000&#x27;, type=&#x27;status-change&#x27;, ...)</span>
`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-kvfsh7"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function HI(q){let s,$="Examples:",l,c,g;return c=new H({props:{code:"JTBBY29tbWVudCUyMCUzRCUyMCUyMiUyMiUyMiUwQUhlbGxvJTIwJTQwb3RoZXJ1c2VyISUwQSUyMyUyMFRoaXMlMjBpcyUyMGElMjB0aXRsZSUwQSoqVGhpcyUyMGlzJTIwYm9sZCoqJTJDJTIwKnRoaXMlMjBpcyUyMGl0YWxpYyolMjBhbmQlMjB+dGhpcyUyMGlzJTIwc3RyaWtldGhyb3VnaH4lMEFBbmQlMjAlNUJ0aGlzJTVEKGh0dHAlM0ElMkYlMkZ1cmwpJTIwaXMlMjBhJTIwbGluayUwQSUyMiUyMiUyMiUwQSUwQUhmQXBpKCkuY29tbWVudF9kaXNjdXNzaW9uKCUwQSUyMCUyMCUyMCUyMHJlcG9faWQlM0QlMjJ1c2VybmFtZSUyRnJlcG9fbmFtZSUyMiUyQyUwQSUyMCUyMCUyMCUyMGRpc2N1c3Npb25fbnVtJTNEMzQlMEElMjAlMjAlMjAlMjBjb21tZW50JTNEY29tbWVudCUwQSklMEE=",highlighted:`
<span class="hljs-meta">&gt;&gt;&gt; </span>comment = <span class="hljs-string">&quot;&quot;&quot;
<span class="hljs-meta">... </span>Hello @otheruser!
...
<span class="hljs-meta">... </span># This is a title
...
<span class="hljs-meta">... </span>**This is bold**, *this is italic* and ~this is strikethrough~
<span class="hljs-meta">... </span>And [this](http://url) is a link
<span class="hljs-meta">... </span>&quot;&quot;&quot;</span>

<span class="hljs-meta">&gt;&gt;&gt; </span>HfApi().comment_discussion(
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;username/repo_name&quot;</span>,
<span class="hljs-meta">... </span>    discussion_num=<span class="hljs-number">34</span>
<span class="hljs-meta">... </span>    comment=comment
<span class="hljs-meta">... </span>)
<span class="hljs-comment"># DiscussionComment(id=&#x27;deadbeef0000000&#x27;, type=&#x27;comment&#x27;, ...)</span>
`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-kvfsh7"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function II(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGNyZWF0ZV9jb2xsZWN0aW9uJTBBY29sbGVjdGlvbiUyMCUzRCUyMGNyZWF0ZV9jb2xsZWN0aW9uKCUwQSUyMCUyMCUyMCUyMHRpdGxlJTNEJTIySUNDViUyMDIwMjMlMjIlMkMlMEElMjAlMjAlMjAlMjBkZXNjcmlwdGlvbiUzRCUyMlBvcnRmb2xpbyUyMG9mJTIwbW9kZWxzJTJDJTIwcGFwZXJzJTIwYW5kJTIwZGVtb3MlMjBJJTIwcHJlc2VudGVkJTIwYXQlMjBJQ0NWJTIwMjAyMyUyMiUyQyUwQSklMEFjb2xsZWN0aW9uLnNsdWc=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> create_collection
<span class="hljs-meta">&gt;&gt;&gt; </span>collection = create_collection(
<span class="hljs-meta">... </span>    title=<span class="hljs-string">&quot;ICCV 2023&quot;</span>,
<span class="hljs-meta">... </span>    description=<span class="hljs-string">&quot;Portfolio of models, papers and demos I presented at ICCV 2023&quot;</span>,
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>collection.slug
<span class="hljs-string">&quot;username/iccv-2023-64f9a55bb3115b4f513ec026&quot;</span>`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function UI(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQWVuZHBvaW50JTIwJTNEJTIwYXBpLmNyZWF0ZV9pbmZlcmVuY2VfZW5kcG9pbnQoJTBBJTIwJTIwJTIwJTIwJTIybXktZW5kcG9pbnQtbmFtZSUyMiUyQyUwQSUyMCUyMCUyMCUyMHJlcG9zaXRvcnklM0QlMjJncHQyJTIyJTJDJTBBJTIwJTIwJTIwJTIwZnJhbWV3b3JrJTNEJTIycHl0b3JjaCUyMiUyQyUwQSUyMCUyMCUyMCUyMHRhc2slM0QlMjJ0ZXh0LWdlbmVyYXRpb24lMjIlMkMlMEElMjAlMjAlMjAlMjBhY2NlbGVyYXRvciUzRCUyMmNwdSUyMiUyQyUwQSUyMCUyMCUyMCUyMHZlbmRvciUzRCUyMmF3cyUyMiUyQyUwQSUyMCUyMCUyMCUyMHJlZ2lvbiUzRCUyMnVzLWVhc3QtMSUyMiUyQyUwQSUyMCUyMCUyMCUyMHR5cGUlM0QlMjJwcm90ZWN0ZWQlMjIlMkMlMEElMjAlMjAlMjAlMjBpbnN0YW5jZV9zaXplJTNEJTIyeDIlMjIlMkMlMEElMjAlMjAlMjAlMjBpbnN0YW5jZV90eXBlJTNEJTIyaW50ZWwtaWNsJTIyJTJDJTBBKSUwQWVuZHBvaW50JTBBJTBBZW5kcG9pbnQuY2xpZW50LnRleHRfZ2VuZXJhdGlvbiguLi4p",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi
<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()
<span class="hljs-meta">&gt;&gt;&gt; </span>endpoint = api.create_inference_endpoint(
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;my-endpoint-name&quot;</span>,
<span class="hljs-meta">... </span>    repository=<span class="hljs-string">&quot;gpt2&quot;</span>,
<span class="hljs-meta">... </span>    framework=<span class="hljs-string">&quot;pytorch&quot;</span>,
<span class="hljs-meta">... </span>    task=<span class="hljs-string">&quot;text-generation&quot;</span>,
<span class="hljs-meta">... </span>    accelerator=<span class="hljs-string">&quot;cpu&quot;</span>,
<span class="hljs-meta">... </span>    vendor=<span class="hljs-string">&quot;aws&quot;</span>,
<span class="hljs-meta">... </span>    region=<span class="hljs-string">&quot;us-east-1&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;protected&quot;</span>,
<span class="hljs-meta">... </span>    instance_size=<span class="hljs-string">&quot;x2&quot;</span>,
<span class="hljs-meta">... </span>    instance_type=<span class="hljs-string">&quot;intel-icl&quot;</span>,
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>endpoint
InferenceEndpoint(name=<span class="hljs-string">&#x27;my-endpoint-name&#x27;</span>, status=<span class="hljs-string">&quot;pending&quot;</span>,...)

<span class="hljs-comment"># Run inference on the endpoint</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>endpoint.client.text_generation(...)
<span class="hljs-string">&quot;...&quot;</span>`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function CI(q){let s,$;return s=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQWVuZHBvaW50JTIwJTNEJTIwYXBpLmNyZWF0ZV9pbmZlcmVuY2VfZW5kcG9pbnQoJTBBJTIwJTIwJTIwJTIwJTIyYXdzLXplcGh5ci03Yi1iZXRhLTA0ODYlMjIlMkMlMEElMjAlMjAlMjAlMjByZXBvc2l0b3J5JTNEJTIySHVnZ2luZ0ZhY2VINCUyRnplcGh5ci03Yi1iZXRhJTIyJTJDJTBBJTIwJTIwJTIwJTIwZnJhbWV3b3JrJTNEJTIycHl0b3JjaCUyMiUyQyUwQSUyMCUyMCUyMCUyMHRhc2slM0QlMjJ0ZXh0LWdlbmVyYXRpb24lMjIlMkMlMEElMjAlMjAlMjAlMjBhY2NlbGVyYXRvciUzRCUyMmdwdSUyMiUyQyUwQSUyMCUyMCUyMCUyMHZlbmRvciUzRCUyMmF3cyUyMiUyQyUwQSUyMCUyMCUyMCUyMHJlZ2lvbiUzRCUyMnVzLWVhc3QtMSUyMiUyQyUwQSUyMCUyMCUyMCUyMHR5cGUlM0QlMjJwcm90ZWN0ZWQlMjIlMkMlMEElMjAlMjAlMjAlMjBpbnN0YW5jZV9zaXplJTNEJTIyeDElMjIlMkMlMEElMjAlMjAlMjAlMjBpbnN0YW5jZV90eXBlJTNEJTIybnZpZGlhLWExMGclMjIlMkMlMEElMjAlMjAlMjAlMjBlbnYlM0QlN0IlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjJNQVhfQkFUQ0hfUFJFRklMTF9UT0tFTlMlMjIlM0ElMjAlMjIyMDQ4JTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIyTUFYX0lOUFVUX0xFTkdUSCUyMiUzQSUyMCUyMjEwMjQlMjIlMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjJNQVhfVE9UQUxfVE9LRU5TJTIyJTNBJTIwJTIyMTUxMiUyMiUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMk1PREVMX0lEJTIyJTNBJTIwJTIyJTJGcmVwb3NpdG9yeSUyMiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCU3RCUyQyUwQSUyMCUyMCUyMCUyMGN1c3RvbV9pbWFnZSUzRCU3QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMmhlYWx0aF9yb3V0ZSUyMiUzQSUyMCUyMiUyRmhlYWx0aCUyMiUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMnVybCUyMiUzQSUyMCUyMmdoY3IuaW8lMkZodWdnaW5nZmFjZSUyRnRleHQtZ2VuZXJhdGlvbi1pbmZlcmVuY2UlM0ExLjEuMCUyMiUyQyUwQSUyMCUyMCUyMCUyMCU3RCUyQyUwQSUyMCUyMCUyMHNlY3JldHMlM0QlN0IlMjJNWV9TRUNSRVRfS0VZJTIyJTNBJTIwJTIyc2VjcmV0X3ZhbHVlJTIyJTdEJTJDJTBBJTIwJTIwJTIwdGFncyUzRCU1QiUyMmRldiUyMiUyQyUyMCUyMnRleHQtZ2VuZXJhdGlvbiUyMiU1RCUyQyUwQSk=",highlighted:`<span class="hljs-comment"># Start an Inference Endpoint running Zephyr-7b-beta on TGI</span>
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi
<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()
<span class="hljs-meta">&gt;&gt;&gt; </span>endpoint = api.create_inference_endpoint(
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;aws-zephyr-7b-beta-0486&quot;</span>,
<span class="hljs-meta">... </span>    repository=<span class="hljs-string">&quot;HuggingFaceH4/zephyr-7b-beta&quot;</span>,
<span class="hljs-meta">... </span>    framework=<span class="hljs-string">&quot;pytorch&quot;</span>,
<span class="hljs-meta">... </span>    task=<span class="hljs-string">&quot;text-generation&quot;</span>,
<span class="hljs-meta">... </span>    accelerator=<span class="hljs-string">&quot;gpu&quot;</span>,
<span class="hljs-meta">... </span>    vendor=<span class="hljs-string">&quot;aws&quot;</span>,
<span class="hljs-meta">... </span>    region=<span class="hljs-string">&quot;us-east-1&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;protected&quot;</span>,
<span class="hljs-meta">... </span>    instance_size=<span class="hljs-string">&quot;x1&quot;</span>,
<span class="hljs-meta">... </span>    instance_type=<span class="hljs-string">&quot;nvidia-a10g&quot;</span>,
<span class="hljs-meta">... </span>    env={
<span class="hljs-meta">... </span>          <span class="hljs-string">&quot;MAX_BATCH_PREFILL_TOKENS&quot;</span>: <span class="hljs-string">&quot;2048&quot;</span>,
<span class="hljs-meta">... </span>          <span class="hljs-string">&quot;MAX_INPUT_LENGTH&quot;</span>: <span class="hljs-string">&quot;1024&quot;</span>,
<span class="hljs-meta">... </span>          <span class="hljs-string">&quot;MAX_TOTAL_TOKENS&quot;</span>: <span class="hljs-string">&quot;1512&quot;</span>,
<span class="hljs-meta">... </span>          <span class="hljs-string">&quot;MODEL_ID&quot;</span>: <span class="hljs-string">&quot;/repository&quot;</span>
<span class="hljs-meta">... </span>        },
<span class="hljs-meta">... </span>    custom_image={
<span class="hljs-meta">... </span>        <span class="hljs-string">&quot;health_route&quot;</span>: <span class="hljs-string">&quot;/health&quot;</span>,
<span class="hljs-meta">... </span>        <span class="hljs-string">&quot;url&quot;</span>: <span class="hljs-string">&quot;ghcr.io/huggingface/text-generation-inference:1.1.0&quot;</span>,
<span class="hljs-meta">... </span>    },
<span class="hljs-meta">... </span>   secrets={<span class="hljs-string">&quot;MY_SECRET_KEY&quot;</span>: <span class="hljs-string">&quot;secret_value&quot;</span>},
<span class="hljs-meta">... </span>   tags=[<span class="hljs-string">&quot;dev&quot;</span>, <span class="hljs-string">&quot;text-generation&quot;</span>],
<span class="hljs-meta">... </span>)`,wrap:!1}}),{c(){u(s.$$.fragment)},l(l){h(s.$$.fragment,l)},m(l,c){f(s,l,c),$=!0},p:U,i(l){$||(m(s.$$.fragment,l),$=!0)},o(l){_(s.$$.fragment,l),$=!1},d(l){b(s,l)}}}function JI(q){let s,$;return s=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQWVuZHBvaW50JTIwJTNEJTIwYXBpLmNyZWF0ZV9pbmZlcmVuY2VfZW5kcG9pbnQoJTBBJTIwJTIwJTIwJTIwJTIyZmluYmVydC1jbGFzc2lmaWVyJTIyJTJDJTBBJTIwJTIwJTIwJTIwcmVwb3NpdG9yeSUzRCUyMlByb3N1c0FJJTJGZmluYmVydCUyMiUyQyUwQSUyMCUyMCUyMCUyMGZyYW1ld29yayUzRCUyMnB5dG9yY2glMjIlMkMlMEElMjAlMjAlMjAlMjB0YXNrJTNEJTIydGV4dC1jbGFzc2lmaWNhdGlvbiUyMiUyQyUwQSUyMCUyMCUyMCUyMG1pbl9yZXBsaWNhJTNEMCUyQyUwQSUyMCUyMCUyMCUyMHNjYWxlX3RvX3plcm9fdGltZW91dCUzRDE1JTJDJTBBJTIwJTIwJTIwJTIwYWNjZWxlcmF0b3IlM0QlMjJjcHUlMjIlMkMlMEElMjAlMjAlMjAlMjB2ZW5kb3IlM0QlMjJhd3MlMjIlMkMlMEElMjAlMjAlMjAlMjByZWdpb24lM0QlMjJ1cy1lYXN0LTElMjIlMkMlMEElMjAlMjAlMjAlMjB0eXBlJTNEJTIycHJvdGVjdGVkJTIyJTJDJTBBJTIwJTIwJTIwJTIwaW5zdGFuY2Vfc2l6ZSUzRCUyMngyJTIyJTJDJTBBJTIwJTIwJTIwJTIwaW5zdGFuY2VfdHlwZSUzRCUyMmludGVsLWljbCUyMiUyQyUwQSklMEFlbmRwb2ludC53YWl0KHRpbWVvdXQlM0QzMDApJTBBZW5kcG9pbnQuY2xpZW50LnRleHRfZ2VuZXJhdGlvbiguLi4p",highlighted:`<span class="hljs-comment"># Start an Inference Endpoint running ProsusAI/finbert while scaling to zero in 15 minutes</span>
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi
<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()
<span class="hljs-meta">&gt;&gt;&gt; </span>endpoint = api.create_inference_endpoint(
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;finbert-classifier&quot;</span>,
<span class="hljs-meta">... </span>    repository=<span class="hljs-string">&quot;ProsusAI/finbert&quot;</span>,
<span class="hljs-meta">... </span>    framework=<span class="hljs-string">&quot;pytorch&quot;</span>,
<span class="hljs-meta">... </span>    task=<span class="hljs-string">&quot;text-classification&quot;</span>,
<span class="hljs-meta">... </span>    min_replica=<span class="hljs-number">0</span>,
<span class="hljs-meta">... </span>    scale_to_zero_timeout=<span class="hljs-number">15</span>,
<span class="hljs-meta">... </span>    accelerator=<span class="hljs-string">&quot;cpu&quot;</span>,
<span class="hljs-meta">... </span>    vendor=<span class="hljs-string">&quot;aws&quot;</span>,
<span class="hljs-meta">... </span>    region=<span class="hljs-string">&quot;us-east-1&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;protected&quot;</span>,
<span class="hljs-meta">... </span>    instance_size=<span class="hljs-string">&quot;x2&quot;</span>,
<span class="hljs-meta">... </span>    instance_type=<span class="hljs-string">&quot;intel-icl&quot;</span>,
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>endpoint.wait(timeout=<span class="hljs-number">300</span>)
<span class="hljs-comment"># Run inference on the endpoint</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>endpoint.client.text_generation(...)
TextClassificationOutputElement(label=<span class="hljs-string">&#x27;positive&#x27;</span>, score=<span class="hljs-number">0.8983615040779114</span>)`,wrap:!1}}),{c(){u(s.$$.fragment)},l(l){h(s.$$.fragment,l)},m(l,c){f(s,l,c),$=!0},p:U,i(l){$||(m(s.$$.fragment,l),$=!0)},o(l){_(s.$$.fragment,l),$=!1},d(l){b(s,l)}}}function AI(q){let s,$="Create your first scheduled Job:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGNyZWF0ZV9zY2hlZHVsZWRfam9iJTBBY3JlYXRlX3NjaGVkdWxlZF9qb2IoaW1hZ2UlM0QlMjJweXRob24lM0EzLjEyJTIyJTJDJTIwY29tbWFuZCUzRCU1QiUyMnB5dGhvbiUyMiUyQyUyMCUyMi1jJTIyJTIwJTJDJTIycHJpbnQoJ0hlbGxvJTIwZnJvbSUyMEhGJTIwY29tcHV0ZSEnKSUyMiU1RCUyQyUyMHNjaGVkdWxlJTNEJTIyJTQwaG91cmx5JTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> create_scheduled_job
<span class="hljs-meta">&gt;&gt;&gt; </span>create_scheduled_job(image=<span class="hljs-string">&quot;python:3.12&quot;</span>, command=[<span class="hljs-string">&quot;python&quot;</span>, <span class="hljs-string">&quot;-c&quot;</span> ,<span class="hljs-string">&quot;print(&#x27;Hello from HF compute!&#x27;)&quot;</span>], schedule=<span class="hljs-string">&quot;@hourly&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-1n2fn9b"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function NI(q){let s,$="Use a CRON schedule expression:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGNyZWF0ZV9zY2hlZHVsZWRfam9iJTBBY3JlYXRlX3NjaGVkdWxlZF9qb2IoaW1hZ2UlM0QlMjJweXRob24lM0EzLjEyJTIyJTJDJTIwY29tbWFuZCUzRCU1QiUyMnB5dGhvbiUyMiUyQyUyMCUyMi1jJTIyJTIwJTJDJTIycHJpbnQoJ3RoaXMlMjBydW5zJTIwZXZlcnklMjA1bWluJyklMjIlNUQlMkMlMjBzY2hlZHVsZSUzRCUyMiolMkY1JTIwKiUyMColMjAqJTIwKiUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> create_scheduled_job
<span class="hljs-meta">&gt;&gt;&gt; </span>create_scheduled_job(image=<span class="hljs-string">&quot;python:3.12&quot;</span>, command=[<span class="hljs-string">&quot;python&quot;</span>, <span class="hljs-string">&quot;-c&quot;</span> ,<span class="hljs-string">&quot;print(&#x27;this runs every 5min&#x27;)&quot;</span>], schedule=<span class="hljs-string">&quot;*/5 * * * *&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-1ax4n75"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function EI(q){let s,$="Create a scheduled GPU Job:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGNyZWF0ZV9zY2hlZHVsZWRfam9iJTBBaW1hZ2UlMjAlM0QlMjAlMjJweXRvcmNoJTJGcHl0b3JjaCUzQTIuNi4wLWN1ZGExMi40LWN1ZG5uOS1kZXZlbCUyMiUwQWNvbW1hbmQlMjAlM0QlMjAlNUIlMjJweXRob24lMjIlMkMlMjAlMjItYyUyMiUyQyUyMCUyMmltcG9ydCUyMHRvcmNoJTNCJTIwcHJpbnQoZiUyMlRoaXMlMjBjb2RlJTIwcmFuJTIwd2l0aCUyMHRoZSUyMGZvbGxvd2luZyUyMEdQVSUzQSUyMCU3QnRvcmNoLmN1ZGEuZ2V0X2RldmljZV9uYW1lKCklN0QlMjIpJTIyJTVEJTBBY3JlYXRlX3NjaGVkdWxlZF9qb2IoaW1hZ2UlMkMlMjBjb21tYW5kJTJDJTIwZmxhdm9yJTNEJTIyYTEwZy1zbWFsbCUyMiUyQyUyMHNjaGVkdWxlJTNEJTIyJTQwaG91cmx5JTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> create_scheduled_job
<span class="hljs-meta">&gt;&gt;&gt; </span>image = <span class="hljs-string">&quot;pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>command = [<span class="hljs-string">&quot;python&quot;</span>, <span class="hljs-string">&quot;-c&quot;</span>, <span class="hljs-string">&quot;import torch; print(f&quot;</span>This code ran <span class="hljs-keyword">with</span> the following GPU: {torch.cuda.get_device_name()}<span class="hljs-string">&quot;)&quot;</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>create_scheduled_job(image, command, flavor=<span class="hljs-string">&quot;a10g-small&quot;</span>, schedule=<span class="hljs-string">&quot;@hourly&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-l75qip"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function RI(q){let s,$="Schedule a script from a URL:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGNyZWF0ZV9zY2hlZHVsZWRfdXZfam9iJTBBc2NyaXB0JTIwJTNEJTIwJTIyaHR0cHMlM0ElMkYlMkZyYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tJTJGaHVnZ2luZ2ZhY2UlMkZ0cmwlMkZyZWZzJTJGaGVhZHMlMkZtYWluJTJGdHJsJTJGc2NyaXB0cyUyRnNmdC5weSUyMiUwQXNjcmlwdF9hcmdzJTIwJTNEJTIwJTVCJTIyLS1tb2RlbF9uYW1lX29yX3BhdGglMjIlMkMlMjAlMjJRd2VuJTJGUXdlbjItMC41QiUyMiUyQyUyMCUyMi0tZGF0YXNldF9uYW1lJTIyJTJDJTIwJTIydHJsLWxpYiUyRkNhcHliYXJhJTIyJTJDJTIwJTIyLS1wdXNoX3RvX2h1YiUyMiU1RCUwQWNyZWF0ZV9zY2hlZHVsZWRfdXZfam9iKHNjcmlwdCUyQyUyMHNjcmlwdF9hcmdzJTNEc2NyaXB0X2FyZ3MlMkMlMjBkZXBlbmRlbmNpZXMlM0QlNUIlMjJ0cmwlMjIlNUQlMkMlMjBmbGF2b3IlM0QlMjJhMTBnLXNtYWxsJTIyJTJDJTIwc2NoZWR1bGUlM0QlMjIlNDB3ZWVrbHklMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> create_scheduled_uv_job
<span class="hljs-meta">&gt;&gt;&gt; </span>script = <span class="hljs-string">&quot;https://raw.githubusercontent.com/huggingface/trl/refs/heads/main/trl/scripts/sft.py&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>script_args = [<span class="hljs-string">&quot;--model_name_or_path&quot;</span>, <span class="hljs-string">&quot;Qwen/Qwen2-0.5B&quot;</span>, <span class="hljs-string">&quot;--dataset_name&quot;</span>, <span class="hljs-string">&quot;trl-lib/Capybara&quot;</span>, <span class="hljs-string">&quot;--push_to_hub&quot;</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>create_scheduled_uv_job(script, script_args=script_args, dependencies=[<span class="hljs-string">&quot;trl&quot;</span>], flavor=<span class="hljs-string">&quot;a10g-small&quot;</span>, schedule=<span class="hljs-string">&quot;@weekly&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-q3fkmx"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function DI(q){let s,$="Schedule a local script:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGNyZWF0ZV9zY2hlZHVsZWRfdXZfam9iJTBBc2NyaXB0JTIwJTNEJTIwJTIybXlfc2Z0LnB5JTIyJTBBc2NyaXB0X2FyZ3MlMjAlM0QlMjAlNUIlMjItLW1vZGVsX25hbWVfb3JfcGF0aCUyMiUyQyUyMCUyMlF3ZW4lMkZRd2VuMi0wLjVCJTIyJTJDJTIwJTIyLS1kYXRhc2V0X25hbWUlMjIlMkMlMjAlMjJ0cmwtbGliJTJGQ2FweWJhcmElMjIlMkMlMjAlMjItLXB1c2hfdG9faHViJTIyJTVEJTBBY3JlYXRlX3NjaGVkdWxlZF91dl9qb2Ioc2NyaXB0JTJDJTIwc2NyaXB0X2FyZ3MlM0RzY3JpcHRfYXJncyUyQyUyMGRlcGVuZGVuY2llcyUzRCU1QiUyMnRybCUyMiU1RCUyQyUyMGZsYXZvciUzRCUyMmExMGctc21hbGwlMjIlMkMlMjBzY2hlZHVsZSUzRCUyMiU0MHdlZWtseSUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> create_scheduled_uv_job
<span class="hljs-meta">&gt;&gt;&gt; </span>script = <span class="hljs-string">&quot;my_sft.py&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>script_args = [<span class="hljs-string">&quot;--model_name_or_path&quot;</span>, <span class="hljs-string">&quot;Qwen/Qwen2-0.5B&quot;</span>, <span class="hljs-string">&quot;--dataset_name&quot;</span>, <span class="hljs-string">&quot;trl-lib/Capybara&quot;</span>, <span class="hljs-string">&quot;--push_to_hub&quot;</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>create_scheduled_uv_job(script, script_args=script_args, dependencies=[<span class="hljs-string">&quot;trl&quot;</span>], flavor=<span class="hljs-string">&quot;a10g-small&quot;</span>, schedule=<span class="hljs-string">&quot;@weekly&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-n7nqq"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function GI(q){let s,$="Schedule a command:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGNyZWF0ZV9zY2hlZHVsZWRfdXZfam9iJTBBc2NyaXB0JTIwJTNEJTIwJTIybGlnaHRldmFsJTIyJTBBc2NyaXB0X2FyZ3MlM0QlMjAlNUIlMjJlbmRwb2ludCUyMiUyQyUyMCUyMmluZmVyZW5jZS1wcm92aWRlcnMlMjIlMkMlMjAlMjJtb2RlbF9uYW1lJTNEb3BlbmFpJTJGZ3B0LW9zcy0yMGIlMkNwcm92aWRlciUzRGF1dG8lMjIlMkMlMjAlMjJsaWdodGV2YWwlN0Nnc204ayU3QzAlN0MwJTIyJTVEJTBBY3JlYXRlX3NjaGVkdWxlZF91dl9qb2Ioc2NyaXB0JTJDJTIwc2NyaXB0X2FyZ3MlM0RzY3JpcHRfYXJncyUyQyUyMGRlcGVuZGVuY2llcyUzRCU1QiUyMmxpZ2h0ZXZhbCUyMiU1RCUyQyUyMGZsYXZvciUzRCUyMmExMGctc21hbGwlMjIlMkMlMjBzY2hlZHVsZSUzRCUyMiU0MHdlZWtseSUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> create_scheduled_uv_job
<span class="hljs-meta">&gt;&gt;&gt; </span>script = <span class="hljs-string">&quot;lighteval&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>script_args= [<span class="hljs-string">&quot;endpoint&quot;</span>, <span class="hljs-string">&quot;inference-providers&quot;</span>, <span class="hljs-string">&quot;model_name=openai/gpt-oss-20b,provider=auto&quot;</span>, <span class="hljs-string">&quot;lighteval|gsm8k|0|0&quot;</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>create_scheduled_uv_job(script, script_args=script_args, dependencies=[<span class="hljs-string">&quot;lighteval&quot;</span>], flavor=<span class="hljs-string">&quot;a10g-small&quot;</span>, schedule=<span class="hljs-string">&quot;@weekly&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-l2cd0v"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function ZI(q){let s,$;return s=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGNyZWF0ZV93ZWJob29rJTBBcGF5bG9hZCUyMCUzRCUyMGNyZWF0ZV93ZWJob29rKCUwQSUyMCUyMCUyMCUyMHdhdGNoZWQlM0QlNUIlN0IlMjJ0eXBlJTIyJTNBJTIwJTIydXNlciUyMiUyQyUyMCUyMm5hbWUlMjIlM0ElMjAlMjJqdWxpZW4tYyUyMiU3RCUyQyUyMCU3QiUyMnR5cGUlMjIlM0ElMjAlMjJvcmclMjIlMkMlMjAlMjJuYW1lJTIyJTNBJTIwJTIySHVnZ2luZ0ZhY2VINCUyMiU3RCU1RCUyQyUwQSUyMCUyMCUyMCUyMHVybCUzRCUyMmh0dHBzJTNBJTJGJTJGd2ViaG9vay5zaXRlJTJGYTIxNzZlODItNTcyMC00M2VlLTllMDYtZjkxY2I0YzkxNTQ4JTIyJTJDJTBBJTIwJTIwJTIwJTIwZG9tYWlucyUzRCU1QiUyMnJlcG8lMjIlMkMlMjAlMjJkaXNjdXNzaW9uJTIyJTVEJTJDJTBBJTIwJTIwJTIwJTIwc2VjcmV0JTNEJTIybXktc2VjcmV0JTIyJTJDJTBBKSUwQXByaW50KHBheWxvYWQp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> create_webhook
<span class="hljs-meta">&gt;&gt;&gt; </span>payload = create_webhook(
<span class="hljs-meta">... </span>    watched=[{<span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-string">&quot;user&quot;</span>, <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;julien-c&quot;</span>}, {<span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-string">&quot;org&quot;</span>, <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;HuggingFaceH4&quot;</span>}],
<span class="hljs-meta">... </span>    url=<span class="hljs-string">&quot;https://webhook.site/a2176e82-5720-43ee-9e06-f91cb4c91548&quot;</span>,
<span class="hljs-meta">... </span>    domains=[<span class="hljs-string">&quot;repo&quot;</span>, <span class="hljs-string">&quot;discussion&quot;</span>],
<span class="hljs-meta">... </span>    secret=<span class="hljs-string">&quot;my-secret&quot;</span>,
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(payload)
WebhookInfo(
    <span class="hljs-built_in">id</span>=<span class="hljs-string">&quot;654bbbc16f2ec14d77f109cc&quot;</span>,
    url=<span class="hljs-string">&quot;https://webhook.site/a2176e82-5720-43ee-9e06-f91cb4c91548&quot;</span>,
    job=<span class="hljs-literal">None</span>,
    watched=[WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;user&quot;</span>, name=<span class="hljs-string">&quot;julien-c&quot;</span>), WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;org&quot;</span>, name=<span class="hljs-string">&quot;HuggingFaceH4&quot;</span>)],
    domains=[<span class="hljs-string">&quot;repo&quot;</span>, <span class="hljs-string">&quot;discussion&quot;</span>],
    secret=<span class="hljs-string">&quot;my-secret&quot;</span>,
    disabled=<span class="hljs-literal">False</span>,
)`,wrap:!1}}),{c(){u(s.$$.fragment)},l(l){h(s.$$.fragment,l)},m(l,c){f(s,l,c),$=!0},p:U,i(l){$||(m(s.$$.fragment,l),$=!0)},o(l){_(s.$$.fragment,l),$=!1},d(l){b(s,l)}}}function FI(q){let s,$;return s=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGNyZWF0ZV93ZWJob29rJTJDJTIwcnVuX2pvYiUwQWpvYiUyMCUzRCUyMHJ1bl9qb2IoJTBBJTIwJTIwJTIwJTIwaW1hZ2UlM0QlMjJ1YnVudHUlMjIlMkMlMEElMjAlMjAlMjAlMjBjb21tYW5kJTNEJTVCJTIyYmFzaCUyMiUyQyUyMCUyMi1jJTIyJTJDJTIwciUyMmVjaG8lMjBBbiUyMGV2ZW50JTIwb2NjdXJlZCUyMGluJTIwJTI0V0VCSE9PS19SRVBPX0lEJTNBJTIwJTI0V0VCSE9PS19QQVlMT0FEJTIyJTVEJTJDJTBBKSUwQXBheWxvYWQlMjAlM0QlMjBjcmVhdGVfd2ViaG9vayglMEElMjAlMjAlMjAlMjB3YXRjaGVkJTNEJTVCJTdCJTIydHlwZSUyMiUzQSUyMCUyMnVzZXIlMjIlMkMlMjAlMjJuYW1lJTIyJTNBJTIwJTIyanVsaWVuLWMlMjIlN0QlMkMlMjAlN0IlMjJ0eXBlJTIyJTNBJTIwJTIyb3JnJTIyJTJDJTIwJTIybmFtZSUyMiUzQSUyMCUyMkh1Z2dpbmdGYWNlSDQlMjIlN0QlNUQlMkMlMEElMjAlMjAlMjAlMjBqb2JfaWQlM0Rqb2IuaWQlMkMlMEElMjAlMjAlMjAlMjBkb21haW5zJTNEJTVCJTIycmVwbyUyMiUyQyUyMCUyMmRpc2N1c3Npb24lMjIlNUQlMkMlMEElMjAlMjAlMjAlMjBzZWNyZXQlM0QlMjJteS1zZWNyZXQlMjIlMkMlMEEpJTBBcHJpbnQocGF5bG9hZCk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> create_webhook, run_job
<span class="hljs-meta">&gt;&gt;&gt; </span>job = run_job(
<span class="hljs-meta">... </span>    image=<span class="hljs-string">&quot;ubuntu&quot;</span>,
<span class="hljs-meta">... </span>    command=[<span class="hljs-string">&quot;bash&quot;</span>, <span class="hljs-string">&quot;-c&quot;</span>, <span class="hljs-string">r&quot;echo An event occured in $WEBHOOK_REPO_ID: $WEBHOOK_PAYLOAD&quot;</span>],
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>payload = create_webhook(
<span class="hljs-meta">... </span>    watched=[{<span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-string">&quot;user&quot;</span>, <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;julien-c&quot;</span>}, {<span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-string">&quot;org&quot;</span>, <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;HuggingFaceH4&quot;</span>}],
<span class="hljs-meta">... </span>    job_id=job.<span class="hljs-built_in">id</span>,
<span class="hljs-meta">... </span>    domains=[<span class="hljs-string">&quot;repo&quot;</span>, <span class="hljs-string">&quot;discussion&quot;</span>],
<span class="hljs-meta">... </span>    secret=<span class="hljs-string">&quot;my-secret&quot;</span>,
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(payload)
WebhookInfo(
    <span class="hljs-built_in">id</span>=<span class="hljs-string">&quot;654bbbc16f2ec14d77f109cc&quot;</span>,
    url=<span class="hljs-literal">None</span>,
    job=JobSpec(
        docker_image=<span class="hljs-string">&#x27;ubuntu&#x27;</span>,
        space_id=<span class="hljs-literal">None</span>,
        command=[<span class="hljs-string">&#x27;bash&#x27;</span>, <span class="hljs-string">&#x27;-c&#x27;</span>, <span class="hljs-string">&#x27;echo An event occured in $WEBHOOK_REPO_ID: $WEBHOOK_PAYLOAD&#x27;</span>],
        arguments=[],
        environment={},
        secrets=[],
        flavor=<span class="hljs-string">&#x27;cpu-basic&#x27;</span>,
        timeout=<span class="hljs-literal">None</span>,
        tags=<span class="hljs-literal">None</span>,
        arch=<span class="hljs-literal">None</span>
    ),
    watched=[WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;user&quot;</span>, name=<span class="hljs-string">&quot;julien-c&quot;</span>), WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;org&quot;</span>, name=<span class="hljs-string">&quot;HuggingFaceH4&quot;</span>)],
    domains=[<span class="hljs-string">&quot;repo&quot;</span>, <span class="hljs-string">&quot;discussion&quot;</span>],
    secret=<span class="hljs-string">&quot;my-secret&quot;</span>,
    disabled=<span class="hljs-literal">False</span>,
)`,wrap:!1}}),{c(){u(s.$$.fragment)},l(l){h(s.$$.fragment,l)},m(l,c){f(s,l,c),$=!0},p:U,i(l){$||(m(s.$$.fragment,l),$=!0)},o(l){_(s.$$.fragment,l),$=!1},d(l){b(s,l)}}}function SI(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGRlbGV0ZV9jb2xsZWN0aW9uJTBBY29sbGVjdGlvbiUyMCUzRCUyMGRlbGV0ZV9jb2xsZWN0aW9uKCUyMnVzZXJuYW1lJTJGdXNlbGVzcy1jb2xsZWN0aW9uLTY0ZjlhNTViYjMxMTViNGY1MTNlYzAyNiUyMiUyQyUyMG1pc3Npbmdfb2slM0RUcnVlKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> delete_collection
<span class="hljs-meta">&gt;&gt;&gt; </span>collection = delete_collection(<span class="hljs-string">&quot;username/useless-collection-64f9a55bb3115b4f513ec026&quot;</span>, missing_ok=<span class="hljs-literal">True</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function WI(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF9jb2xsZWN0aW9uJTJDJTIwZGVsZXRlX2NvbGxlY3Rpb25faXRlbSUwQSUwQWNvbGxlY3Rpb24lMjAlM0QlMjBnZXRfY29sbGVjdGlvbiglMjJUaGVCbG9rZSUyRnJlY2VudC1tb2RlbHMtNjRmOWE1NWJiMzExNWI0ZjUxM2VjMDI2JTIyKSUwQSUwQWRlbGV0ZV9jb2xsZWN0aW9uX2l0ZW0oJTBBJTIwJTIwJTIwJTIwY29sbGVjdGlvbl9zbHVnJTNEJTIyVGhlQmxva2UlMkZyZWNlbnQtbW9kZWxzLTY0ZjlhNTViYjMxMTViNGY1MTNlYzAyNiUyMiUyQyUwQSUyMCUyMCUyMCUyMGl0ZW1fb2JqZWN0X2lkJTNEY29sbGVjdGlvbi5pdGVtcyU1Qi0xJTVELml0ZW1fb2JqZWN0X2lkJTJDJTBBKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> get_collection, delete_collection_item

<span class="hljs-comment"># Get collection first</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>collection = get_collection(<span class="hljs-string">&quot;TheBloke/recent-models-64f9a55bb3115b4f513ec026&quot;</span>)

<span class="hljs-comment"># Delete item based on its ID</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>delete_collection_item(
<span class="hljs-meta">... </span>    collection_slug=<span class="hljs-string">&quot;TheBloke/recent-models-64f9a55bb3115b4f513ec026&quot;</span>,
<span class="hljs-meta">... </span>    item_object_id=collection.items[-<span class="hljs-number">1</span>].item_object_id,
<span class="hljs-meta">... </span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function LI(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGRlbGV0ZV93ZWJob29rJTBBZGVsZXRlX3dlYmhvb2soJTIyNjU0YmJiYzE2ZjJlYzE0ZDc3ZjEwOWNjJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> delete_webhook
<span class="hljs-meta">&gt;&gt;&gt; </span>delete_webhook(<span class="hljs-string">&quot;654bbbc16f2ec14d77f109cc&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function BI(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGRpc2FibGVfd2ViaG9vayUwQWRpc2FibGVkX3dlYmhvb2slMjAlM0QlMjBkaXNhYmxlX3dlYmhvb2soJTIyNjU0YmJiYzE2ZjJlYzE0ZDc3ZjEwOWNjJTIyKSUwQWRpc2FibGVkX3dlYmhvb2s=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> disable_webhook
<span class="hljs-meta">&gt;&gt;&gt; </span>disabled_webhook = disable_webhook(<span class="hljs-string">&quot;654bbbc16f2ec14d77f109cc&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>disabled_webhook
WebhookInfo(
    <span class="hljs-built_in">id</span>=<span class="hljs-string">&quot;654bbbc16f2ec14d77f109cc&quot;</span>,
    url=<span class="hljs-string">&quot;https://webhook.site/a2176e82-5720-43ee-9e06-f91cb4c91548&quot;</span>,
    jon=<span class="hljs-literal">None</span>,
    watched=[WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;user&quot;</span>, name=<span class="hljs-string">&quot;julien-c&quot;</span>), WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;org&quot;</span>, name=<span class="hljs-string">&quot;HuggingFaceH4&quot;</span>)],
    domains=[<span class="hljs-string">&quot;repo&quot;</span>, <span class="hljs-string">&quot;discussion&quot;</span>],
    secret=<span class="hljs-string">&quot;my-secret&quot;</span>,
    disabled=<span class="hljs-literal">True</span>,
)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function VI(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGR1cGxpY2F0ZV9zcGFjZSUwQSUwQWR1cGxpY2F0ZV9zcGFjZSglMjJtdWx0aW1vZGFsYXJ0JTJGZHJlYW1ib290aC10cmFpbmluZyUyMiklMEElMEFkdXBsaWNhdGVfc3BhY2UoJTIybXVsdGltb2RhbGFydCUyRmRyZWFtYm9vdGgtdHJhaW5pbmclMjIlMkMlMjB0b19pZCUzRCUyMm15LWRyZWFtYm9vdGglMjIlMkMlMjBwcml2YXRlJTNEVHJ1ZSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> duplicate_space

<span class="hljs-comment"># Duplicate a Space to your account</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>duplicate_space(<span class="hljs-string">&quot;multimodalart/dreambooth-training&quot;</span>)
RepoUrl(<span class="hljs-string">&#x27;https://huggingface.co/spaces/nateraw/dreambooth-training&#x27;</span>,...)

<span class="hljs-comment"># Can set custom destination id and visibility flag.</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>duplicate_space(<span class="hljs-string">&quot;multimodalart/dreambooth-training&quot;</span>, to_id=<span class="hljs-string">&quot;my-dreambooth&quot;</span>, private=<span class="hljs-literal">True</span>)
RepoUrl(<span class="hljs-string">&#x27;https://huggingface.co/spaces/nateraw/my-dreambooth&#x27;</span>,...)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function YI(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGVuYWJsZV93ZWJob29rJTBBZW5hYmxlZF93ZWJob29rJTIwJTNEJTIwZW5hYmxlX3dlYmhvb2soJTIyNjU0YmJiYzE2ZjJlYzE0ZDc3ZjEwOWNjJTIyKSUwQWVuYWJsZWRfd2ViaG9vaw==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> enable_webhook
<span class="hljs-meta">&gt;&gt;&gt; </span>enabled_webhook = enable_webhook(<span class="hljs-string">&quot;654bbbc16f2ec14d77f109cc&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>enabled_webhook
WebhookInfo(
    <span class="hljs-built_in">id</span>=<span class="hljs-string">&quot;654bbbc16f2ec14d77f109cc&quot;</span>,
    job=<span class="hljs-literal">None</span>,
    url=<span class="hljs-string">&quot;https://webhook.site/a2176e82-5720-43ee-9e06-f91cb4c91548&quot;</span>,
    watched=[WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;user&quot;</span>, name=<span class="hljs-string">&quot;julien-c&quot;</span>), WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;org&quot;</span>, name=<span class="hljs-string">&quot;HuggingFaceH4&quot;</span>)],
    domains=[<span class="hljs-string">&quot;repo&quot;</span>, <span class="hljs-string">&quot;discussion&quot;</span>],
    secret=<span class="hljs-string">&quot;my-secret&quot;</span>,
    disabled=<span class="hljs-literal">False</span>,
)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function XI(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGZldGNoX2pvYl9sb2dzJTJDJTIwcnVuX2pvYiUwQWpvYiUyMCUzRCUyMHJ1bl9qb2IoaW1hZ2UlM0QlMjJweXRob24lM0EzLjEyJTIyJTJDJTIwY29tbWFuZCUzRCU1QiUyMnB5dGhvbiUyMiUyQyUyMCUyMi1jJTIyJTIwJTJDJTIycHJpbnQoJ0hlbGxvJTIwZnJvbSUyMEhGJTIwY29tcHV0ZSEnKSUyMiU1RCklMEFmb3IlMjBsb2clMjBpbiUyMGZldGNoX2pvYl9sb2dzKGpvYi5pZCklM0ElMEElMjAlMjAlMjAlMjBwcmludChsb2cp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> fetch_job_logs, run_job
<span class="hljs-meta">&gt;&gt;&gt; </span>job = run_job(image=<span class="hljs-string">&quot;python:3.12&quot;</span>, command=[<span class="hljs-string">&quot;python&quot;</span>, <span class="hljs-string">&quot;-c&quot;</span> ,<span class="hljs-string">&quot;print(&#x27;Hello from HF compute!&#x27;)&quot;</span>])
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">for</span> log <span class="hljs-keyword">in</span> fetch_job_logs(job.<span class="hljs-built_in">id</span>):
<span class="hljs-meta">... </span>    <span class="hljs-built_in">print</span>(log)
Hello <span class="hljs-keyword">from</span> HF compute!`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function PI(q){let s,$="Examples:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGZpbGVfZXhpc3RzJTBBZmlsZV9leGlzdHMoJTIyYmlnY29kZSUyRnN0YXJjb2RlciUyMiUyQyUyMCUyMmNvbmZpZy5qc29uJTIyKSUwQWZpbGVfZXhpc3RzKCUyMmJpZ2NvZGUlMkZzdGFyY29kZXIlMjIlMkMlMjAlMjJub3QtYS1maWxlJTIyKSUwQWZpbGVfZXhpc3RzKCUyMmJpZ2NvZGUlMkZub3QtYS1yZXBvJTIyJTJDJTIwJTIyY29uZmlnLmpzb24lMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> file_exists
<span class="hljs-meta">&gt;&gt;&gt; </span>file_exists(<span class="hljs-string">&quot;bigcode/starcoder&quot;</span>, <span class="hljs-string">&quot;config.json&quot;</span>)
<span class="hljs-literal">True</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>file_exists(<span class="hljs-string">&quot;bigcode/starcoder&quot;</span>, <span class="hljs-string">&quot;not-a-file&quot;</span>)
<span class="hljs-literal">False</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>file_exists(<span class="hljs-string">&quot;bigcode/not-a-repo&quot;</span>, <span class="hljs-string">&quot;config.json&quot;</span>)
<span class="hljs-literal">False</span>`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-kvfsh7"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function zI(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF9jb2xsZWN0aW9uJTBBY29sbGVjdGlvbiUyMCUzRCUyMGdldF9jb2xsZWN0aW9uKCUyMlRoZUJsb2tlJTJGcmVjZW50LW1vZGVscy02NGY5YTU1YmIzMTE1YjRmNTEzZWMwMjYlMjIpJTBBY29sbGVjdGlvbi50aXRsZSUwQWxlbihjb2xsZWN0aW9uLml0ZW1zKSUwQWNvbGxlY3Rpb24uaXRlbXMlNUIwJTVE",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> get_collection
<span class="hljs-meta">&gt;&gt;&gt; </span>collection = get_collection(<span class="hljs-string">&quot;TheBloke/recent-models-64f9a55bb3115b4f513ec026&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>collection.title
<span class="hljs-string">&#x27;Recent models&#x27;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">len</span>(collection.items)
<span class="hljs-number">37</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>collection.items[<span class="hljs-number">0</span>]
CollectionItem(
    item_object_id=<span class="hljs-string">&#x27;651446103cd773a050bf64c2&#x27;</span>,
    item_id=<span class="hljs-string">&#x27;TheBloke/U-Amethyst-20B-AWQ&#x27;</span>,
    item_type=<span class="hljs-string">&#x27;model&#x27;</span>,
    position=<span class="hljs-number">88</span>,
    note=<span class="hljs-literal">None</span>
)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function OI(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQWVuZHBvaW50JTIwJTNEJTIwYXBpLmdldF9pbmZlcmVuY2VfZW5kcG9pbnQoJTIybXktdGV4dC10by1pbWFnZSUyMiklMEFlbmRwb2ludCUwQSUwQWVuZHBvaW50LnN0YXR1cyUwQWVuZHBvaW50LnVybCUwQSUwQWVuZHBvaW50LmNsaWVudC50ZXh0X3RvX2ltYWdlKC4uLik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi
<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()
<span class="hljs-meta">&gt;&gt;&gt; </span>endpoint = api.get_inference_endpoint(<span class="hljs-string">&quot;my-text-to-image&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>endpoint
InferenceEndpoint(name=<span class="hljs-string">&#x27;my-text-to-image&#x27;</span>, ...)

<span class="hljs-comment"># Get status</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>endpoint.status
<span class="hljs-string">&#x27;running&#x27;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>endpoint.url
<span class="hljs-string">&#x27;https://my-text-to-image.region.vendor.endpoints.huggingface.cloud&#x27;</span>

<span class="hljs-comment"># Run inference</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>endpoint.client.text_to_image(...)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function QI(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF9wYXRoc19pbmZvJTBBcGF0aHNfaW5mbyUyMCUzRCUyMGdldF9wYXRoc19pbmZvKCUyMmFsbGVuYWklMkZjNCUyMiUyQyUyMCU1QiUyMlJFQURNRS5tZCUyMiUyQyUyMCUyMmVuJTIyJTVEJTJDJTIwcmVwb190eXBlJTNEJTIyZGF0YXNldCUyMiklMEFwYXRoc19pbmZv",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> get_paths_info
<span class="hljs-meta">&gt;&gt;&gt; </span>paths_info = get_paths_info(<span class="hljs-string">&quot;allenai/c4&quot;</span>, [<span class="hljs-string">&quot;README.md&quot;</span>, <span class="hljs-string">&quot;en&quot;</span>], repo_type=<span class="hljs-string">&quot;dataset&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>paths_info
[
    RepoFile(path=<span class="hljs-string">&#x27;README.md&#x27;</span>, size=<span class="hljs-number">2379</span>, blob_id=<span class="hljs-string">&#x27;f84cb4c97182890fc1dbdeaf1a6a468fd27b4fff&#x27;</span>, lfs=<span class="hljs-literal">None</span>, last_commit=<span class="hljs-literal">None</span>, security=<span class="hljs-literal">None</span>),
    RepoFolder(path=<span class="hljs-string">&#x27;en&#x27;</span>, tree_id=<span class="hljs-string">&#x27;dc943c4c40f53d02b31ced1defa7e5f438d5862e&#x27;</span>, last_commit=<span class="hljs-literal">None</span>)
]`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function KI(q){let s,$="Collecting all discussions of a repo in a list:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF9yZXBvX2Rpc2N1c3Npb25zJTBBZGlzY3Vzc2lvbnNfbGlzdCUyMCUzRCUyMGxpc3QoZ2V0X3JlcG9fZGlzY3Vzc2lvbnMocmVwb19pZCUzRCUyMmJlcnQtYmFzZS11bmNhc2VkJTIyKSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> get_repo_discussions
<span class="hljs-meta">&gt;&gt;&gt; </span>discussions_list = <span class="hljs-built_in">list</span>(get_repo_discussions(repo_id=<span class="hljs-string">&quot;bert-base-uncased&quot;</span>))`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-1p6axsk"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function e4(q){let s,$="Iterating over discussions of a repo:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF9yZXBvX2Rpc2N1c3Npb25zJTBBZm9yJTIwZGlzY3Vzc2lvbiUyMGluJTIwZ2V0X3JlcG9fZGlzY3Vzc2lvbnMocmVwb19pZCUzRCUyMmJlcnQtYmFzZS11bmNhc2VkJTIyKSUzQSUwQSUyMCUyMCUyMCUyMHByaW50KGRpc2N1c3Npb24ubnVtJTJDJTIwZGlzY3Vzc2lvbi50aXRsZSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> get_repo_discussions
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">for</span> discussion <span class="hljs-keyword">in</span> get_repo_discussions(repo_id=<span class="hljs-string">&quot;bert-base-uncased&quot;</span>):
<span class="hljs-meta">... </span>    <span class="hljs-built_in">print</span>(discussion.num, discussion.title)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-121l6g4"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function t4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"bWV0YWRhdGElMjAlM0QlMjBnZXRfc2FmZXRlbnNvcnNfbWV0YWRhdGEoJTIyYmlnc2NpZW5jZSUyRmJsb29tei01NjBtJTIyKSUwQW1ldGFkYXRhJTBBbWV0YWRhdGEuZmlsZXNfbWV0YWRhdGElNUIlMjJtb2RlbC5zYWZldGVuc29ycyUyMiU1RC5tZXRhZGF0YSUwQSUwQW1ldGFkYXRhJTIwJTNEJTIwZ2V0X3NhZmV0ZW5zb3JzX21ldGFkYXRhKCUyMmJpZ3NjaWVuY2UlMkZibG9vbSUyMiklMEFtZXRhZGF0YSUwQWxlbihtZXRhZGF0YS5maWxlc19tZXRhZGF0YSklMEElMEFnZXRfc2FmZXRlbnNvcnNfbWV0YWRhdGEoJTIycnVud2F5bWwlMkZzdGFibGUtZGlmZnVzaW9uLXYxLTUlMjIp",highlighted:`<span class="hljs-comment"># Parse repo with single weights file</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>metadata = get_safetensors_metadata(<span class="hljs-string">&quot;bigscience/bloomz-560m&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>metadata
SafetensorsRepoMetadata(
    metadata=<span class="hljs-literal">None</span>,
    sharded=<span class="hljs-literal">False</span>,
    weight_map={<span class="hljs-string">&#x27;h.0.input_layernorm.bias&#x27;</span>: <span class="hljs-string">&#x27;model.safetensors&#x27;</span>, ...},
    files_metadata={<span class="hljs-string">&#x27;model.safetensors&#x27;</span>: SafetensorsFileMetadata(...)}
)
<span class="hljs-meta">&gt;&gt;&gt; </span>metadata.files_metadata[<span class="hljs-string">&quot;model.safetensors&quot;</span>].metadata
{<span class="hljs-string">&#x27;format&#x27;</span>: <span class="hljs-string">&#x27;pt&#x27;</span>}

<span class="hljs-comment"># Parse repo with sharded model</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>metadata = get_safetensors_metadata(<span class="hljs-string">&quot;bigscience/bloom&quot;</span>)
Parse safetensors files: <span class="hljs-number">100</span>%|██████████████████████████████████████████| <span class="hljs-number">72</span>/<span class="hljs-number">72</span> [<span class="hljs-number">00</span>:<span class="hljs-number">12</span>&lt;<span class="hljs-number">00</span>:<span class="hljs-number">00</span>,  <span class="hljs-number">5.78</span>it/s]
<span class="hljs-meta">&gt;&gt;&gt; </span>metadata
SafetensorsRepoMetadata(metadata={<span class="hljs-string">&#x27;total_size&#x27;</span>: <span class="hljs-number">352494542848</span>}, sharded=<span class="hljs-literal">True</span>, weight_map={...}, files_metadata={...})
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">len</span>(metadata.files_metadata)
<span class="hljs-number">72</span>  <span class="hljs-comment"># All safetensors files have been fetched</span>

<span class="hljs-comment"># Parse repo with sharded model</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>get_safetensors_metadata(<span class="hljs-string">&quot;runwayml/stable-diffusion-v1-5&quot;</span>)
NotASafetensorsRepoError: <span class="hljs-string">&#x27;runwayml/stable-diffusion-v1-5&#x27;</span> <span class="hljs-keyword">is</span> <span class="hljs-keyword">not</span> a safetensors repo. Couldn<span class="hljs-string">&#x27;t find &#x27;</span>model.safetensors.index.json<span class="hljs-string">&#x27; or &#x27;</span>model.safetensors<span class="hljs-string">&#x27; files.</span>`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function n4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF93ZWJob29rJTBBd2ViaG9vayUyMCUzRCUyMGdldF93ZWJob29rKCUyMjY1NGJiYmMxNmYyZWMxNGQ3N2YxMDljYyUyMiklMEFwcmludCh3ZWJob29rKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> get_webhook
<span class="hljs-meta">&gt;&gt;&gt; </span>webhook = get_webhook(<span class="hljs-string">&quot;654bbbc16f2ec14d77f109cc&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(webhook)
WebhookInfo(
    <span class="hljs-built_in">id</span>=<span class="hljs-string">&quot;654bbbc16f2ec14d77f109cc&quot;</span>,
    job=<span class="hljs-literal">None</span>,
    watched=[WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;user&quot;</span>, name=<span class="hljs-string">&quot;julien-c&quot;</span>), WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;org&quot;</span>, name=<span class="hljs-string">&quot;HuggingFaceH4&quot;</span>)],
    url=<span class="hljs-string">&quot;https://webhook.site/a2176e82-5720-43ee-9e06-f91cb4c91548&quot;</span>,
    secret=<span class="hljs-string">&quot;my-secret&quot;</span>,
    domains=[<span class="hljs-string">&quot;repo&quot;</span>, <span class="hljs-string">&quot;discussion&quot;</span>],
    disabled=<span class="hljs-literal">False</span>,
)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function o4(q){let s,$;return s=new H({props:{code:"JTVCJTIwJTIwOTYlNUQlMjAlMjAuJTBBJUUyJTk0JTk0JUUyJTk0JTgwJUUyJTk0JTgwJTIwJTVCJTIwMTYwJTVEJTIwJTIwbW9kZWxzLS1qdWxpZW4tYy0tRXNwZXJCRVJUby1zbWFsbCUwQSUyMCUyMCUyMCUyMCVFMiU5NCU5QyVFMiU5NCU4MCVFMiU5NCU4MCUyMCU1QiUyMDE2MCU1RCUyMCUyMGJsb2JzJTBBJTIwJTIwJTIwJTIwJUUyJTk0JTgyJTIwJTIwJTIwJUUyJTk0JTlDJUUyJTk0JTgwJUUyJTk0JTgwJTIwJTVCMzIxTSU1RCUyMCUyMDQwMzQ1MGUyMzRkNjU5NDNhN2RjZjdlMDVhNzcxY2UzYzkyZmFhODRkZDA3ZGI0YWMyMGY1OTIwMzdhMWU0YmQlMEElMjAlMjAlMjAlMjAlRTIlOTQlODIlMjAlMjAlMjAlRTIlOTQlOUMlRTIlOTQlODAlRTIlOTQlODAlMjAlNUIlMjAzOTglNUQlMjAlMjA3Y2IxOGRjOWJhZmJmY2Y3NDYyOWE0Yjc2MGFmMWIxNjA5NTdhODNlJTBBJTIwJTIwJTIwJTIwJUUyJTk0JTgyJTIwJTIwJTIwJUUyJTk0JTk0JUUyJTk0JTgwJUUyJTk0JTgwJTIwJTVCMS40SyU1RCUyMCUyMGQ3ZWRmNmJkMmE2ODFmYjAxNzVmNzczNTI5OTgzMWVlMWIyMmI4MTIlMEElMjAlMjAlMjAlMjAlRTIlOTQlOUMlRTIlOTQlODAlRTIlOTQlODAlMjAlNUIlMjAlMjA5NiU1RCUyMCUyMHJlZnMlMEElMjAlMjAlMjAlMjAlRTIlOTQlODIlMjAlMjAlMjAlRTIlOTQlOTQlRTIlOTQlODAlRTIlOTQlODAlMjAlNUIlMjAlMjA0MCU1RCUyMCUyMG1haW4lMEElMjAlMjAlMjAlMjAlRTIlOTQlOTQlRTIlOTQlODAlRTIlOTQlODAlMjAlNUIlMjAxMjglNUQlMjAlMjBzbmFwc2hvdHMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlRTIlOTQlOUMlRTIlOTQlODAlRTIlOTQlODAlMjAlNUIlMjAxMjglNUQlMjAlMjAyNDM5ZjYwZWYzM2EwZDQ2ZDg1ZGE1MDAxZDUyYWVkYTViMDBjZTlmJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJUUyJTk0JTgyJTIwJTIwJTIwJUUyJTk0JTlDJUUyJTk0JTgwJUUyJTk0JTgwJTIwJTVCJTIwJTIwNTIlNUQlMjAlMjBSRUFETUUubWQlMjAtJTNFJTIwLi4lMkYuLiUyRmJsb2JzJTJGZDdlZGY2YmQyYTY4MWZiMDE3NWY3NzM1Mjk5ODMxZWUxYjIyYjgxMiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCVFMiU5NCU4MiUyMCUyMCUyMCVFMiU5NCU5NCVFMiU5NCU4MCVFMiU5NCU4MCUyMCU1QiUyMCUyMDc2JTVEJTIwJTIwcHl0b3JjaF9tb2RlbC5iaW4lMjAtJTNFJTIwLi4lMkYuLiUyRmJsb2JzJTJGNDAzNDUwZTIzNGQ2NTk0M2E3ZGNmN2UwNWE3NzFjZTNjOTJmYWE4NGRkMDdkYjRhYzIwZjU5MjAzN2ExZTRiZCUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCVFMiU5NCU5NCVFMiU5NCU4MCVFMiU5NCU4MCUyMCU1QiUyMDEyOCU1RCUyMCUyMGJiYzc3YzgxMzJhZjFjYzVjZjY3OGRhM2YxZGRmMmRlNDM2MDZkNDglMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlRTIlOTQlOUMlRTIlOTQlODAlRTIlOTQlODAlMjAlNUIlMjAlMjA1MiU1RCUyMCUyMFJFQURNRS5tZCUyMC0lM0UlMjAuLiUyRi4uJTJGYmxvYnMlMkY3Y2IxOGRjOWJhZmJmY2Y3NDYyOWE0Yjc2MGFmMWIxNjA5NTdhODNlJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJUUyJTk0JTk0JUUyJTk0JTgwJUUyJTk0JTgwJTIwJTVCJTIwJTIwNzYlNUQlMjAlMjBweXRvcmNoX21vZGVsLmJpbiUyMC0lM0UlMjAuLiUyRi4uJTJGYmxvYnMlMkY0MDM0NTBlMjM0ZDY1OTQzYTdkY2Y3ZTA1YTc3MWNlM2M5MmZhYTg0ZGQwN2RiNGFjMjBmNTkyMDM3YTFlNGJk",highlighted:`<span class="hljs-selector-attr">[  96]</span>  .
└── <span class="hljs-selector-attr">[ 160]</span>  models<span class="hljs-attr">--julien-c--EsperBERTo-small</span>
    ├── <span class="hljs-selector-attr">[ 160]</span>  blobs
    │   ├── <span class="hljs-selector-attr">[321M]</span>  <span class="hljs-number">403450</span>e234d65943a7dcf7e05a771ce3c92faa84dd07db4ac20f592037a1e4bd
    │   ├── <span class="hljs-selector-attr">[ 398]</span>  <span class="hljs-number">7</span>cb18dc9bafbfcf74629a4b760af1b160957a83e
    │   └── <span class="hljs-selector-attr">[1.4K]</span>  d7edf6bd2a681fb0175f7735299831ee1b22b812
    ├── <span class="hljs-selector-attr">[  96]</span>  refs
    │   └── <span class="hljs-selector-attr">[  40]</span>  <span class="hljs-selector-tag">main</span>
    └── <span class="hljs-selector-attr">[ 128]</span>  snapshots
        ├── <span class="hljs-selector-attr">[ 128]</span>  <span class="hljs-number">2439</span>f60ef33a0d46d85da5001d52aeda5b00ce9f
        │   ├── <span class="hljs-selector-attr">[  52]</span>  README<span class="hljs-selector-class">.md</span> -&gt; ../../blobs/d7edf6bd2a681fb0175f7735299831ee1b22b812
        │   └── <span class="hljs-selector-attr">[  76]</span>  pytorch_model<span class="hljs-selector-class">.bin</span> -&gt; ../../blobs/<span class="hljs-number">403450</span>e234d65943a7dcf7e05a771ce3c92faa84dd07db4ac20f592037a1e4bd
        └── <span class="hljs-selector-attr">[ 128]</span>  bbc77c8132af1cc5cf678da3f1ddf2de43606d48
            ├── <span class="hljs-selector-attr">[  52]</span>  README<span class="hljs-selector-class">.md</span> -&gt; ../../blobs/<span class="hljs-number">7</span>cb18dc9bafbfcf74629a4b760af1b160957a83e
            └── <span class="hljs-selector-attr">[  76]</span>  pytorch_model<span class="hljs-selector-class">.bin</span> -&gt; ../../blobs/<span class="hljs-number">403450</span>e234d65943a7dcf7e05a771ce3c92faa84dd07db4ac20f592037a1e4bd`,wrap:!1}}),{c(){u(s.$$.fragment)},l(l){h(s.$$.fragment,l)},m(l,c){f(s,l,c),$=!0},p:U,i(l){$||(m(s.$$.fragment,l),$=!0)},o(l){_(s.$$.fragment,l),$=!1},d(l){b(s,l)}}}function a4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGluc3BlY3Rfam9iJTJDJTIwcnVuX2pvYiUwQWpvYiUyMCUzRCUyMHJ1bl9qb2IoaW1hZ2UlM0QlMjJweXRob24lM0EzLjEyJTIyJTJDJTIwY29tbWFuZCUzRCU1QiUyMnB5dGhvbiUyMiUyQyUyMCUyMi1jJTIyJTIwJTJDJTIycHJpbnQoJ0hlbGxvJTIwZnJvbSUyMEhGJTIwY29tcHV0ZSEnKSUyMiU1RCklMEFpbnNwZWN0X2pvYihqb2IuaWQp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> inspect_job, run_job
<span class="hljs-meta">&gt;&gt;&gt; </span>job = run_job(image=<span class="hljs-string">&quot;python:3.12&quot;</span>, command=[<span class="hljs-string">&quot;python&quot;</span>, <span class="hljs-string">&quot;-c&quot;</span> ,<span class="hljs-string">&quot;print(&#x27;Hello from HF compute!&#x27;)&quot;</span>])
<span class="hljs-meta">&gt;&gt;&gt; </span>inspect_job(job.<span class="hljs-built_in">id</span>)
JobInfo(
    <span class="hljs-built_in">id</span>=<span class="hljs-string">&#x27;68780d00bbe36d38803f645f&#x27;</span>,
    created_at=datetime.datetime(<span class="hljs-number">2025</span>, <span class="hljs-number">7</span>, <span class="hljs-number">16</span>, <span class="hljs-number">20</span>, <span class="hljs-number">35</span>, <span class="hljs-number">12</span>, <span class="hljs-number">808000</span>, tzinfo=datetime.timezone.utc),
    docker_image=<span class="hljs-string">&#x27;python:3.12&#x27;</span>,
    space_id=<span class="hljs-literal">None</span>,
    command=[<span class="hljs-string">&#x27;python&#x27;</span>, <span class="hljs-string">&#x27;-c&#x27;</span>, <span class="hljs-string">&quot;print(&#x27;Hello from HF compute!&#x27;)&quot;</span>],
    arguments=[],
    environment={},
    secrets={},
    flavor=<span class="hljs-string">&#x27;cpu-basic&#x27;</span>,
    status=JobStatus(stage=<span class="hljs-string">&#x27;RUNNING&#x27;</span>, message=<span class="hljs-literal">None</span>)
)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function s4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGluc3BlY3Rfam9iJTJDJTIwY3JlYXRlX3NjaGVkdWxlZF9qb2IlMEFzY2hlZHVsZWRfam9iJTIwJTNEJTIwY3JlYXRlX3NjaGVkdWxlZF9qb2IoaW1hZ2UlM0QlMjJweXRob24lM0EzLjEyJTIyJTJDJTIwY29tbWFuZCUzRCU1QiUyMnB5dGhvbiUyMiUyQyUyMCUyMi1jJTIyJTIwJTJDJTIycHJpbnQoJ0hlbGxvJTIwZnJvbSUyMEhGJTIwY29tcHV0ZSEnKSUyMiU1RCUyQyUyMHNjaGVkdWxlJTNEJTIyJTQwaG91cmx5JTIyKSUwQWluc3BlY3Rfc2NoZWR1bGVkX2pvYihzY2hlZHVsZWRfam9iLmlkKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> inspect_job, create_scheduled_job
<span class="hljs-meta">&gt;&gt;&gt; </span>scheduled_job = create_scheduled_job(image=<span class="hljs-string">&quot;python:3.12&quot;</span>, command=[<span class="hljs-string">&quot;python&quot;</span>, <span class="hljs-string">&quot;-c&quot;</span> ,<span class="hljs-string">&quot;print(&#x27;Hello from HF compute!&#x27;)&quot;</span>], schedule=<span class="hljs-string">&quot;@hourly&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>inspect_scheduled_job(scheduled_job.<span class="hljs-built_in">id</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function r4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpc3RfYWNjZXB0ZWRfYWNjZXNzX3JlcXVlc3RzJTBBJTBBcmVxdWVzdHMlMjAlM0QlMjBsaXN0X2FjY2VwdGVkX2FjY2Vzc19yZXF1ZXN0cyglMjJtZXRhLWxsYW1hJTJGTGxhbWEtMi03YiUyMiklMEFsZW4ocmVxdWVzdHMpJTBBcmVxdWVzdHMlNUIwJTVE",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_accepted_access_requests

<span class="hljs-meta">&gt;&gt;&gt; </span>requests = list_accepted_access_requests(<span class="hljs-string">&quot;meta-llama/Llama-2-7b&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">len</span>(requests)
<span class="hljs-number">411</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>requests[<span class="hljs-number">0</span>]
[
    AccessRequest(
        username=<span class="hljs-string">&#x27;clem&#x27;</span>,
        fullname=<span class="hljs-string">&#x27;Clem 🤗&#x27;</span>,
        email=<span class="hljs-string">&#x27;***&#x27;</span>,
        timestamp=datetime.datetime(<span class="hljs-number">2023</span>, <span class="hljs-number">11</span>, <span class="hljs-number">23</span>, <span class="hljs-number">18</span>, <span class="hljs-number">4</span>, <span class="hljs-number">53</span>, <span class="hljs-number">828000</span>, tzinfo=datetime.timezone.utc),
        status=<span class="hljs-string">&#x27;accepted&#x27;</span>,
        fields=<span class="hljs-literal">None</span>,
    ),
    ...
]`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function i4(q){let s,$="Example usage with the <code>filter</code> argument:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQSUwQWFwaS5saXN0X2RhdGFzZXRzKCklMEElMEElMEFhcGkubGlzdF9kYXRhc2V0cyhmaWx0ZXIlM0QlMjJ0YXNrX2NhdGVnb3JpZXMlM0F0ZXh0LWNsYXNzaWZpY2F0aW9uJTIyKSUwQSUwQSUwQWFwaS5saXN0X2RhdGFzZXRzKCUwQSUyMCUyMCUyMCUyMGZpbHRlciUzRCglMjJsYW5ndWFnZSUzQXJ1JTIyJTJDJTIwJTIydGFza19pZHMlM0FsYW5ndWFnZS1tb2RlbGluZyUyMiklMEEpJTBBJTBBYXBpLmxpc3RfZGF0YXNldHModGFncyUzRCUyMmZpZnR5b25lJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi

<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()

<span class="hljs-comment"># List all datasets</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_datasets()


<span class="hljs-comment"># List only the text classification datasets</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_datasets(<span class="hljs-built_in">filter</span>=<span class="hljs-string">&quot;task_categories:text-classification&quot;</span>)


<span class="hljs-comment"># List only the datasets in russian for language modeling</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_datasets(
<span class="hljs-meta">... </span>    <span class="hljs-built_in">filter</span>=(<span class="hljs-string">&quot;language:ru&quot;</span>, <span class="hljs-string">&quot;task_ids:language-modeling&quot;</span>)
<span class="hljs-meta">... </span>)

<span class="hljs-comment"># List FiftyOne datasets (identified by the tag &quot;fiftyone&quot; in dataset card)</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_datasets(tags=<span class="hljs-string">&quot;fiftyone&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.innerHTML=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-1lrmw6w"&&(s.innerHTML=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function c4(q){let s,$="Example usage with the <code>search</code> argument:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQSUwQWFwaS5saXN0X2RhdGFzZXRzKHNlYXJjaCUzRCUyMnRleHQlMjIpJTBBJTBBYXBpLmxpc3RfZGF0YXNldHMoc2VhcmNoJTNEJTIydGV4dCUyMiUyQyUyMGF1dGhvciUzRCUyMmdvb2dsZSUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi

<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()

<span class="hljs-comment"># List all datasets with &quot;text&quot; in their name</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_datasets(search=<span class="hljs-string">&quot;text&quot;</span>)

<span class="hljs-comment"># List all datasets with &quot;text&quot; in their name made by google</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_datasets(search=<span class="hljs-string">&quot;text&quot;</span>, author=<span class="hljs-string">&quot;google&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.innerHTML=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-1oyacuq"&&(s.innerHTML=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function l4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQWFwaS5saXN0X2luZmVyZW5jZV9lbmRwb2ludHMoKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi
<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_inference_endpoints()
[InferenceEndpoint(name=<span class="hljs-string">&#x27;my-endpoint&#x27;</span>, ...), ...]`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function d4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQWxmc19maWxlcyUyMCUzRCUyMGFwaS5saXN0X2xmc19maWxlcyglMjJ1c2VybmFtZSUyRm15LWNvb2wtcmVwbyUyMiklMEElMEFsZnNfZmlsZXNfdG9fZGVsZXRlJTIwJTNEJTIwKGxmc19maWxlJTIwZm9yJTIwbGZzX2ZpbGUlMjBpbiUyMGxmc19maWxlcyUyMGlmJTIwbGZzX2ZpbGUuZmlsZW5hbWUuc3RhcnRzd2l0aCglMjJjaGVja3BvaW50cyUyRiUyMikpJTBBJTBBYXBpLnBlcm1hbmVudGx5X2RlbGV0ZV9sZnNfZmlsZXMoJTIydXNlcm5hbWUlMkZteS1jb29sLXJlcG8lMjIlMkMlMjBsZnNfZmlsZXNfdG9fZGVsZXRlKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi
<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()
<span class="hljs-meta">&gt;&gt;&gt; </span>lfs_files = api.list_lfs_files(<span class="hljs-string">&quot;username/my-cool-repo&quot;</span>)

<span class="hljs-comment"># Filter files files to delete based on a combination of \`filename\`, \`pushed_at\`, \`ref\` or \`size\`.</span>
<span class="hljs-comment"># e.g. select only LFS files in the &quot;checkpoints&quot; folder</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>lfs_files_to_delete = (lfs_file <span class="hljs-keyword">for</span> lfs_file <span class="hljs-keyword">in</span> lfs_files <span class="hljs-keyword">if</span> lfs_file.filename.startswith(<span class="hljs-string">&quot;checkpoints/&quot;</span>))

<span class="hljs-comment"># Permanently delete LFS files</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.permanently_delete_lfs_files(<span class="hljs-string">&quot;username/my-cool-repo&quot;</span>, lfs_files_to_delete)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function p4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpc3RfbGlrZWRfcmVwb3MlMEElMEFsaWtlcyUyMCUzRCUyMGxpc3RfbGlrZWRfcmVwb3MoJTIyanVsaWVuLWMlMjIpJTBBJTBBbGlrZXMudXNlciUwQSUwQWxpa2VzLm1vZGVscw==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_liked_repos

<span class="hljs-meta">&gt;&gt;&gt; </span>likes = list_liked_repos(<span class="hljs-string">&quot;julien-c&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>likes.user
<span class="hljs-string">&quot;julien-c&quot;</span>

<span class="hljs-meta">&gt;&gt;&gt; </span>likes.models
[<span class="hljs-string">&quot;osanseviero/streamlit_1.15&quot;</span>, <span class="hljs-string">&quot;Xhaheen/ChatGPT_HF&quot;</span>, ...]`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function g4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQSUwQWFwaS5saXN0X21vZGVscygpJTBBJTBBYXBpLmxpc3RfbW9kZWxzKGZpbHRlciUzRCUyMnRleHQtY2xhc3NpZmljYXRpb24lMjIpJTBBJTBBYXBpLmxpc3RfbW9kZWxzKGZpbHRlciUzRCUyMmtlcmFzLWh1YiUyMiklMEElMEFhcGkubGlzdF9tb2RlbHMoaW5mZXJlbmNlX3Byb3ZpZGVyJTNEJTIyY29oZXJlJTIyKSUwQSUwQWFwaS5saXN0X21vZGVscyhzZWFyY2glM0QlMjJiZXJ0JTIyKSUwQSUwQWFwaS5saXN0X21vZGVscyhzZWFyY2glM0QlMjJiZXJ0JTIyJTJDJTIwYXV0aG9yJTNEJTIyZ29vZ2xlJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi

<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()

<span class="hljs-comment"># List all models</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_models()

<span class="hljs-comment"># List text classification models</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_models(<span class="hljs-built_in">filter</span>=<span class="hljs-string">&quot;text-classification&quot;</span>)

<span class="hljs-comment"># List models from the KerasHub library</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_models(<span class="hljs-built_in">filter</span>=<span class="hljs-string">&quot;keras-hub&quot;</span>)

<span class="hljs-comment"># List models served by Cohere</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_models(inference_provider=<span class="hljs-string">&quot;cohere&quot;</span>)

<span class="hljs-comment"># List models with &quot;bert&quot; in their name</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_models(search=<span class="hljs-string">&quot;bert&quot;</span>)

<span class="hljs-comment"># List models with &quot;bert&quot; in their name and pushed by google</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_models(search=<span class="hljs-string">&quot;bert&quot;</span>, author=<span class="hljs-string">&quot;google&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function u4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQSUwQWFwaS5saXN0X3BhcGVycyhxdWVyeSUzRCUyMmF0dGVudGlvbiUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi

<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()

<span class="hljs-comment"># List all papers with &quot;attention&quot; in their title</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_papers(query=<span class="hljs-string">&quot;attention&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function h4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpc3RfcGVuZGluZ19hY2Nlc3NfcmVxdWVzdHMlMkMlMjBhY2NlcHRfYWNjZXNzX3JlcXVlc3QlMEElMEFyZXF1ZXN0cyUyMCUzRCUyMGxpc3RfcGVuZGluZ19hY2Nlc3NfcmVxdWVzdHMoJTIybWV0YS1sbGFtYSUyRkxsYW1hLTItN2IlMjIpJTBBbGVuKHJlcXVlc3RzKSUwQXJlcXVlc3RzJTVCMCU1RCUwQSUwQWFjY2VwdF9hY2Nlc3NfcmVxdWVzdCglMjJtZXRhLWxsYW1hJTJGTGxhbWEtMi03YiUyMiUyQyUyMCUyMmNsZW0lMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_pending_access_requests, accept_access_request

<span class="hljs-comment"># List pending requests</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>requests = list_pending_access_requests(<span class="hljs-string">&quot;meta-llama/Llama-2-7b&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">len</span>(requests)
<span class="hljs-number">411</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>requests[<span class="hljs-number">0</span>]
[
    AccessRequest(
        username=<span class="hljs-string">&#x27;clem&#x27;</span>,
        fullname=<span class="hljs-string">&#x27;Clem 🤗&#x27;</span>,
        email=<span class="hljs-string">&#x27;***&#x27;</span>,
        timestamp=datetime.datetime(<span class="hljs-number">2023</span>, <span class="hljs-number">11</span>, <span class="hljs-number">23</span>, <span class="hljs-number">18</span>, <span class="hljs-number">4</span>, <span class="hljs-number">53</span>, <span class="hljs-number">828000</span>, tzinfo=datetime.timezone.utc),
        status=<span class="hljs-string">&#x27;pending&#x27;</span>,
        fields=<span class="hljs-literal">None</span>,
    ),
    ...
]

<span class="hljs-comment"># Accept Clem&#x27;s request</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>accept_access_request(<span class="hljs-string">&quot;meta-llama/Llama-2-7b&quot;</span>, <span class="hljs-string">&quot;clem&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function f4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpc3RfcmVqZWN0ZWRfYWNjZXNzX3JlcXVlc3RzJTBBJTBBcmVxdWVzdHMlMjAlM0QlMjBsaXN0X3JlamVjdGVkX2FjY2Vzc19yZXF1ZXN0cyglMjJtZXRhLWxsYW1hJTJGTGxhbWEtMi03YiUyMiklMEFsZW4ocmVxdWVzdHMpJTBBcmVxdWVzdHMlNUIwJTVE",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_rejected_access_requests

<span class="hljs-meta">&gt;&gt;&gt; </span>requests = list_rejected_access_requests(<span class="hljs-string">&quot;meta-llama/Llama-2-7b&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">len</span>(requests)
<span class="hljs-number">411</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>requests[<span class="hljs-number">0</span>]
[
    AccessRequest(
        username=<span class="hljs-string">&#x27;clem&#x27;</span>,
        fullname=<span class="hljs-string">&#x27;Clem 🤗&#x27;</span>,
        email=<span class="hljs-string">&#x27;***&#x27;</span>,
        timestamp=datetime.datetime(<span class="hljs-number">2023</span>, <span class="hljs-number">11</span>, <span class="hljs-number">23</span>, <span class="hljs-number">18</span>, <span class="hljs-number">4</span>, <span class="hljs-number">53</span>, <span class="hljs-number">828000</span>, tzinfo=datetime.timezone.utc),
        status=<span class="hljs-string">&#x27;rejected&#x27;</span>,
        fields=<span class="hljs-literal">None</span>,
    ),
    ...
]`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function m4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQSUwQWluaXRpYWxfY29tbWl0JTIwJTNEJTIwYXBpLmxpc3RfcmVwb19jb21taXRzKCUyMmdwdDIlMjIpJTVCLTElNUQlMEElMEFpbml0aWFsX2NvbW1pdCUwQSUwQWFwaS5jcmVhdGVfYnJhbmNoKCUyMmdwdDIlMjIlMkMlMjAlMjJuZXdfZW1wdHlfYnJhbmNoJTIyJTJDJTIwcmV2aXNpb24lM0Rpbml0aWFsX2NvbW1pdC5jb21taXRfaWQp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi
<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()

<span class="hljs-comment"># Commits are sorted by date (last commit first)</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>initial_commit = api.list_repo_commits(<span class="hljs-string">&quot;gpt2&quot;</span>)[-<span class="hljs-number">1</span>]

<span class="hljs-comment"># Initial commit is always a system commit containing the \`.gitattributes\` file.</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>initial_commit
GitCommitInfo(
    commit_id=<span class="hljs-string">&#x27;9b865efde13a30c13e0a33e536cf3e4a5a9d71d8&#x27;</span>,
    authors=[<span class="hljs-string">&#x27;system&#x27;</span>],
    created_at=datetime.datetime(<span class="hljs-number">2019</span>, <span class="hljs-number">2</span>, <span class="hljs-number">18</span>, <span class="hljs-number">10</span>, <span class="hljs-number">36</span>, <span class="hljs-number">15</span>, tzinfo=datetime.timezone.utc),
    title=<span class="hljs-string">&#x27;initial commit&#x27;</span>,
    message=<span class="hljs-string">&#x27;&#x27;</span>,
    formatted_title=<span class="hljs-literal">None</span>,
    formatted_message=<span class="hljs-literal">None</span>
)

<span class="hljs-comment"># Create an empty branch by deriving from initial commit</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.create_branch(<span class="hljs-string">&quot;gpt2&quot;</span>, <span class="hljs-string">&quot;new_empty_branch&quot;</span>, revision=initial_commit.commit_id)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function _4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQWFwaS5saXN0X3JlcG9fcmVmcyglMjJncHQyJTIyKSUwQSUwQWFwaS5saXN0X3JlcG9fcmVmcyglMjJiaWdjb2RlJTJGdGhlLXN0YWNrJTIyJTJDJTIwcmVwb190eXBlJTNEJ2RhdGFzZXQnKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi
<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_repo_refs(<span class="hljs-string">&quot;gpt2&quot;</span>)
GitRefs(branches=[GitRefInfo(name=<span class="hljs-string">&#x27;main&#x27;</span>, ref=<span class="hljs-string">&#x27;refs/heads/main&#x27;</span>, target_commit=<span class="hljs-string">&#x27;e7da7f221d5bf496a48136c0cd264e630fe9fcc8&#x27;</span>)], converts=[], tags=[])

<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_repo_refs(<span class="hljs-string">&quot;bigcode/the-stack&quot;</span>, repo_type=<span class="hljs-string">&#x27;dataset&#x27;</span>)
GitRefs(
    branches=[
        GitRefInfo(name=<span class="hljs-string">&#x27;main&#x27;</span>, ref=<span class="hljs-string">&#x27;refs/heads/main&#x27;</span>, target_commit=<span class="hljs-string">&#x27;18edc1591d9ce72aa82f56c4431b3c969b210ae3&#x27;</span>),
        GitRefInfo(name=<span class="hljs-string">&#x27;v1.1.a1&#x27;</span>, ref=<span class="hljs-string">&#x27;refs/heads/v1.1.a1&#x27;</span>, target_commit=<span class="hljs-string">&#x27;f9826b862d1567f3822d3d25649b0d6d22ace714&#x27;</span>)
    ],
    converts=[],
    tags=[
        GitRefInfo(name=<span class="hljs-string">&#x27;v1.0&#x27;</span>, ref=<span class="hljs-string">&#x27;refs/tags/v1.0&#x27;</span>, target_commit=<span class="hljs-string">&#x27;c37a8cd1e382064d8aced5e05543c5f7753834da&#x27;</span>)
    ]
)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function b4(q){let s,$;return s=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpc3RfcmVwb190cmVlJTBBcmVwb190cmVlJTIwJTNEJTIwbGlzdF9yZXBvX3RyZWUoJTIybHlzYW5kcmUlMkZhcnhpdi1ubHAlMjIpJTBBcmVwb190cmVlJTBBbGlzdChyZXBvX3RyZWUp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_repo_tree
<span class="hljs-meta">&gt;&gt;&gt; </span>repo_tree = list_repo_tree(<span class="hljs-string">&quot;lysandre/arxiv-nlp&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>repo_tree
&lt;generator <span class="hljs-built_in">object</span> HfApi.list_repo_tree at <span class="hljs-number">0x7fa4088e1ac0</span>&gt;
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">list</span>(repo_tree)
[
    RepoFile(path=<span class="hljs-string">&#x27;.gitattributes&#x27;</span>, size=<span class="hljs-number">391</span>, blob_id=<span class="hljs-string">&#x27;ae8c63daedbd4206d7d40126955d4e6ab1c80f8f&#x27;</span>, lfs=<span class="hljs-literal">None</span>, last_commit=<span class="hljs-literal">None</span>, security=<span class="hljs-literal">None</span>),
    RepoFile(path=<span class="hljs-string">&#x27;README.md&#x27;</span>, size=<span class="hljs-number">391</span>, blob_id=<span class="hljs-string">&#x27;43bd404b159de6fba7c2f4d3264347668d43af25&#x27;</span>, lfs=<span class="hljs-literal">None</span>, last_commit=<span class="hljs-literal">None</span>, security=<span class="hljs-literal">None</span>),
    RepoFile(path=<span class="hljs-string">&#x27;config.json&#x27;</span>, size=<span class="hljs-number">554</span>, blob_id=<span class="hljs-string">&#x27;2f9618c3a19b9a61add74f70bfb121335aeef666&#x27;</span>, lfs=<span class="hljs-literal">None</span>, last_commit=<span class="hljs-literal">None</span>, security=<span class="hljs-literal">None</span>),
    RepoFile(
        path=<span class="hljs-string">&#x27;flax_model.msgpack&#x27;</span>, size=<span class="hljs-number">497764107</span>, blob_id=<span class="hljs-string">&#x27;8095a62ccb4d806da7666fcda07467e2d150218e&#x27;</span>,
        lfs={<span class="hljs-string">&#x27;size&#x27;</span>: <span class="hljs-number">497764107</span>, <span class="hljs-string">&#x27;sha256&#x27;</span>: <span class="hljs-string">&#x27;d88b0d6a6ff9c3f8151f9d3228f57092aaea997f09af009eefd7373a77b5abb9&#x27;</span>, <span class="hljs-string">&#x27;pointer_size&#x27;</span>: <span class="hljs-number">134</span>}, last_commit=<span class="hljs-literal">None</span>, security=<span class="hljs-literal">None</span>
    ),
    RepoFile(path=<span class="hljs-string">&#x27;merges.txt&#x27;</span>, size=<span class="hljs-number">456318</span>, blob_id=<span class="hljs-string">&#x27;226b0752cac7789c48f0cb3ec53eda48b7be36cc&#x27;</span>, lfs=<span class="hljs-literal">None</span>, last_commit=<span class="hljs-literal">None</span>, security=<span class="hljs-literal">None</span>),
    RepoFile(
        path=<span class="hljs-string">&#x27;pytorch_model.bin&#x27;</span>, size=<span class="hljs-number">548123560</span>, blob_id=<span class="hljs-string">&#x27;64eaa9c526867e404b68f2c5d66fd78e27026523&#x27;</span>,
        lfs={<span class="hljs-string">&#x27;size&#x27;</span>: <span class="hljs-number">548123560</span>, <span class="hljs-string">&#x27;sha256&#x27;</span>: <span class="hljs-string">&#x27;9be78edb5b928eba33aa88f431551348f7466ba9f5ef3daf1d552398722a5436&#x27;</span>, <span class="hljs-string">&#x27;pointer_size&#x27;</span>: <span class="hljs-number">134</span>}, last_commit=<span class="hljs-literal">None</span>, security=<span class="hljs-literal">None</span>
    ),
    RepoFile(path=<span class="hljs-string">&#x27;vocab.json&#x27;</span>, size=<span class="hljs-number">898669</span>, blob_id=<span class="hljs-string">&#x27;b00361fece0387ca34b4b8b8539ed830d644dbeb&#x27;</span>, lfs=<span class="hljs-literal">None</span>, last_commit=<span class="hljs-literal">None</span>, security=<span class="hljs-literal">None</span>)]
]`,wrap:!1}}),{c(){u(s.$$.fragment)},l(l){h(s.$$.fragment,l)},m(l,c){f(s,l,c),$=!0},p:U,i(l){$||(m(s.$$.fragment,l),$=!0)},o(l){_(s.$$.fragment,l),$=!1},d(l){b(s,l)}}}function y4(q){let s,$;return s=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpc3RfcmVwb190cmVlJTBBcmVwb190cmVlJTIwJTNEJTIwbGlzdF9yZXBvX3RyZWUoJTIycHJvbXB0aGVybyUyRm9wZW5qb3VybmV5LXY0JTIyJTJDJTIwZXhwYW5kJTNEVHJ1ZSklMEFsaXN0KHJlcG9fdHJlZSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_repo_tree
<span class="hljs-meta">&gt;&gt;&gt; </span>repo_tree = list_repo_tree(<span class="hljs-string">&quot;prompthero/openjourney-v4&quot;</span>, expand=<span class="hljs-literal">True</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">list</span>(repo_tree)
[
    RepoFolder(
        path=<span class="hljs-string">&#x27;feature_extractor&#x27;</span>,
        tree_id=<span class="hljs-string">&#x27;aa536c4ea18073388b5b0bc791057a7296a00398&#x27;</span>,
        last_commit={
            <span class="hljs-string">&#x27;oid&#x27;</span>: <span class="hljs-string">&#x27;47b62b20b20e06b9de610e840282b7e6c3d51190&#x27;</span>,
            <span class="hljs-string">&#x27;title&#x27;</span>: <span class="hljs-string">&#x27;Upload diffusers weights (#48)&#x27;</span>,
            <span class="hljs-string">&#x27;date&#x27;</span>: datetime.datetime(<span class="hljs-number">2023</span>, <span class="hljs-number">3</span>, <span class="hljs-number">21</span>, <span class="hljs-number">9</span>, <span class="hljs-number">5</span>, <span class="hljs-number">27</span>, tzinfo=datetime.timezone.utc)
        }
    ),
    RepoFolder(
        path=<span class="hljs-string">&#x27;safety_checker&#x27;</span>,
        tree_id=<span class="hljs-string">&#x27;65aef9d787e5557373fdf714d6c34d4fcdd70440&#x27;</span>,
        last_commit={
            <span class="hljs-string">&#x27;oid&#x27;</span>: <span class="hljs-string">&#x27;47b62b20b20e06b9de610e840282b7e6c3d51190&#x27;</span>,
            <span class="hljs-string">&#x27;title&#x27;</span>: <span class="hljs-string">&#x27;Upload diffusers weights (#48)&#x27;</span>,
            <span class="hljs-string">&#x27;date&#x27;</span>: datetime.datetime(<span class="hljs-number">2023</span>, <span class="hljs-number">3</span>, <span class="hljs-number">21</span>, <span class="hljs-number">9</span>, <span class="hljs-number">5</span>, <span class="hljs-number">27</span>, tzinfo=datetime.timezone.utc)
        }
    ),
    RepoFile(
        path=<span class="hljs-string">&#x27;model_index.json&#x27;</span>,
        size=<span class="hljs-number">582</span>,
        blob_id=<span class="hljs-string">&#x27;d3d7c1e8c3e78eeb1640b8e2041ee256e24c9ee1&#x27;</span>,
        lfs=<span class="hljs-literal">None</span>,
        last_commit={
            <span class="hljs-string">&#x27;oid&#x27;</span>: <span class="hljs-string">&#x27;b195ed2d503f3eb29637050a886d77bd81d35f0e&#x27;</span>,
            <span class="hljs-string">&#x27;title&#x27;</span>: <span class="hljs-string">&#x27;Fix deprecation warning by changing \`CLIPFeatureExtractor\` to \`CLIPImageProcessor\`. (#54)&#x27;</span>,
            <span class="hljs-string">&#x27;date&#x27;</span>: datetime.datetime(<span class="hljs-number">2023</span>, <span class="hljs-number">5</span>, <span class="hljs-number">15</span>, <span class="hljs-number">21</span>, <span class="hljs-number">41</span>, <span class="hljs-number">59</span>, tzinfo=datetime.timezone.utc)
        },
        security={
            <span class="hljs-string">&#x27;safe&#x27;</span>: <span class="hljs-literal">True</span>,
            <span class="hljs-string">&#x27;av_scan&#x27;</span>: {<span class="hljs-string">&#x27;virusFound&#x27;</span>: <span class="hljs-literal">False</span>, <span class="hljs-string">&#x27;virusNames&#x27;</span>: <span class="hljs-literal">None</span>},
            <span class="hljs-string">&#x27;pickle_import_scan&#x27;</span>: <span class="hljs-literal">None</span>
        }
    )
    ...
]`,wrap:!1}}),{c(){u(s.$$.fragment)},l(l){h(s.$$.fragment,l)},m(l,c){f(s,l,c),$=!0},p:U,i(l){$||(m(s.$$.fragment,l),$=!0)},o(l){_(s.$$.fragment,l),$=!1},d(l){b(s,l)}}}function v4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpc3Rfd2ViaG9va3MlMEF3ZWJob29rcyUyMCUzRCUyMGxpc3Rfd2ViaG9va3MoKSUwQWxlbih3ZWJob29rcyklMEF3ZWJob29rcyU1QjAlNUQ=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_webhooks
<span class="hljs-meta">&gt;&gt;&gt; </span>webhooks = list_webhooks()
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">len</span>(webhooks)
<span class="hljs-number">2</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>webhooks[<span class="hljs-number">0</span>]
WebhookInfo(
    <span class="hljs-built_in">id</span>=<span class="hljs-string">&quot;654bbbc16f2ec14d77f109cc&quot;</span>,
    watched=[WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;user&quot;</span>, name=<span class="hljs-string">&quot;julien-c&quot;</span>), WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;org&quot;</span>, name=<span class="hljs-string">&quot;HuggingFaceH4&quot;</span>)],
    url=<span class="hljs-string">&quot;https://webhook.site/a2176e82-5720-43ee-9e06-f91cb4c91548&quot;</span>,
    secret=<span class="hljs-string">&quot;my-secret&quot;</span>,
    domains=[<span class="hljs-string">&quot;repo&quot;</span>, <span class="hljs-string">&quot;discussion&quot;</span>],
    disabled=<span class="hljs-literal">False</span>,
)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function x4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQWxmc19maWxlcyUyMCUzRCUyMGFwaS5saXN0X2xmc19maWxlcyglMjJ1c2VybmFtZSUyRm15LWNvb2wtcmVwbyUyMiklMEElMEFsZnNfZmlsZXNfdG9fZGVsZXRlJTIwJTNEJTIwKGxmc19maWxlJTIwZm9yJTIwbGZzX2ZpbGUlMjBpbiUyMGxmc19maWxlcyUyMGlmJTIwbGZzX2ZpbGUuZmlsZW5hbWUuc3RhcnRzd2l0aCglMjJjaGVja3BvaW50cyUyRiUyMikpJTBBJTBBYXBpLnBlcm1hbmVudGx5X2RlbGV0ZV9sZnNfZmlsZXMoJTIydXNlcm5hbWUlMkZteS1jb29sLXJlcG8lMjIlMkMlMjBsZnNfZmlsZXNfdG9fZGVsZXRlKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi
<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()
<span class="hljs-meta">&gt;&gt;&gt; </span>lfs_files = api.list_lfs_files(<span class="hljs-string">&quot;username/my-cool-repo&quot;</span>)

<span class="hljs-comment"># Filter files files to delete based on a combination of \`filename\`, \`pushed_at\`, \`ref\` or \`size\`.</span>
<span class="hljs-comment"># e.g. select only LFS files in the &quot;checkpoints&quot; folder</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>lfs_files_to_delete = (lfs_file <span class="hljs-keyword">for</span> lfs_file <span class="hljs-keyword">in</span> lfs_files <span class="hljs-keyword">if</span> lfs_file.filename.startswith(<span class="hljs-string">&quot;checkpoints/&quot;</span>))

<span class="hljs-comment"># Permanently delete LFS files</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.permanently_delete_lfs_files(<span class="hljs-string">&quot;username/my-cool-repo&quot;</span>, lfs_files_to_delete)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function w4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMENvbW1pdE9wZXJhdGlvbkFkZCUyQyUyMHByZXVwbG9hZF9sZnNfZmlsZXMlMkMlMjBjcmVhdGVfY29tbWl0JTJDJTIwY3JlYXRlX3JlcG8lMEElMEFyZXBvX2lkJTIwJTNEJTIwY3JlYXRlX3JlcG8oJTIydGVzdF9wcmV1cGxvYWQlMjIpLnJlcG9faWQlMEElMEFvcGVyYXRpb25zJTIwJTNEJTIwJTVCJTVEJTIwJTIzJTIwTGlzdCUyMG9mJTIwYWxsJTIwJTYwQ29tbWl0T3BlcmF0aW9uQWRkJTYwJTIwb2JqZWN0cyUyMHRoYXQlMjB3aWxsJTIwYmUlMjBnZW5lcmF0ZWQlMEFmb3IlMjBpJTIwaW4lMjByYW5nZSg1KSUzQSUwQSUyMCUyMCUyMCUyMGNvbnRlbnQlMjAlM0QlMjAuLi4lMjAlMjMlMjBnZW5lcmF0ZSUyMGJpbmFyeSUyMGNvbnRlbnQlMEElMjAlMjAlMjAlMjBhZGRpdGlvbiUyMCUzRCUyMENvbW1pdE9wZXJhdGlvbkFkZChwYXRoX2luX3JlcG8lM0RmJTIyc2hhcmRfJTdCaSU3RF9vZl81LmJpbiUyMiUyQyUyMHBhdGhfb3JfZmlsZW9iaiUzRGNvbnRlbnQpJTBBJTIwJTIwJTIwJTIwcHJldXBsb2FkX2xmc19maWxlcyhyZXBvX2lkJTJDJTIwYWRkaXRpb25zJTNEJTVCYWRkaXRpb24lNUQpJTIwJTIzJTIwdXBsb2FkJTIwJTJCJTIwZnJlZSUyMG1lbW9yeSUwQSUyMCUyMCUyMCUyMG9wZXJhdGlvbnMuYXBwZW5kKGFkZGl0aW9uKSUwQSUwQWNyZWF0ZV9jb21taXQocmVwb19pZCUyQyUyMG9wZXJhdGlvbnMlM0RvcGVyYXRpb25zJTJDJTIwY29tbWl0X21lc3NhZ2UlM0QlMjJDb21taXQlMjBhbGwlMjBzaGFyZHMlMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> CommitOperationAdd, preupload_lfs_files, create_commit, create_repo

<span class="hljs-meta">&gt;&gt;&gt; </span>repo_id = create_repo(<span class="hljs-string">&quot;test_preupload&quot;</span>).repo_id

<span class="hljs-comment"># Generate and preupload LFS files one by one</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>operations = [] <span class="hljs-comment"># List of all \`CommitOperationAdd\` objects that will be generated</span>
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">for</span> i <span class="hljs-keyword">in</span> <span class="hljs-built_in">range</span>(<span class="hljs-number">5</span>):
<span class="hljs-meta">... </span>    content = ... <span class="hljs-comment"># generate binary content</span>
<span class="hljs-meta">... </span>    addition = CommitOperationAdd(path_in_repo=<span class="hljs-string">f&quot;shard_<span class="hljs-subst">{i}</span>_of_5.bin&quot;</span>, path_or_fileobj=content)
<span class="hljs-meta">... </span>    preupload_lfs_files(repo_id, additions=[addition]) <span class="hljs-comment"># upload + free memory</span>
<span class="hljs-meta">... </span>    operations.append(addition)

<span class="hljs-comment"># Create commit</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>create_commit(repo_id, operations=operations, commit_message=<span class="hljs-string">&quot;Commit all shards&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function $4(q){let s,$="Examples:",l,c,g;return c=new H({props:{code:"bmV3X3RpdGxlJTIwJTNEJTIwJTIyTmV3JTIwdGl0bGUlMkMlMjBmaXhpbmclMjBhJTIwdHlwbyUyMiUwQUhmQXBpKCkucmVuYW1lX2Rpc2N1c3Npb24oJTBBJTIwJTIwJTIwJTIwcmVwb19pZCUzRCUyMnVzZXJuYW1lJTJGcmVwb19uYW1lJTIyJTJDJTBBJTIwJTIwJTIwJTIwZGlzY3Vzc2lvbl9udW0lM0QzNCUwQSUyMCUyMCUyMCUyMG5ld190aXRsZSUzRG5ld190aXRsZSUwQSklMEE=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>new_title = <span class="hljs-string">&quot;New title, fixing a typo&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>HfApi().rename_discussion(
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;username/repo_name&quot;</span>,
<span class="hljs-meta">... </span>    discussion_num=<span class="hljs-number">34</span>
<span class="hljs-meta">... </span>    new_title=new_title
<span class="hljs-meta">... </span>)
<span class="hljs-comment"># DiscussionTitleChange(id=&#x27;deadbeef0000000&#x27;, type=&#x27;title-change&#x27;, ...)</span>
`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-kvfsh7"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function k4(q){let s,$="Examples:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHJlcG9fZXhpc3RzJTBBcmVwb19leGlzdHMoJTIyZ29vZ2xlJTJGZ2VtbWEtN2IlMjIpJTBBcmVwb19leGlzdHMoJTIyZ29vZ2xlJTJGbm90LWEtcmVwbyUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> repo_exists
<span class="hljs-meta">&gt;&gt;&gt; </span>repo_exists(<span class="hljs-string">&quot;google/gemma-7b&quot;</span>)
<span class="hljs-literal">True</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>repo_exists(<span class="hljs-string">&quot;google/not-a-repo&quot;</span>)
<span class="hljs-literal">False</span>`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-kvfsh7"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function j4(q){let s,$="Examples:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHJldmlzaW9uX2V4aXN0cyUwQXJldmlzaW9uX2V4aXN0cyglMjJnb29nbGUlMkZnZW1tYS03YiUyMiUyQyUyMCUyMmZsb2F0MTYlMjIpJTBBcmV2aXNpb25fZXhpc3RzKCUyMmdvb2dsZSUyRmdlbW1hLTdiJTIyJTJDJTIwJTIybm90LWEtcmV2aXNpb24lMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> revision_exists
<span class="hljs-meta">&gt;&gt;&gt; </span>revision_exists(<span class="hljs-string">&quot;google/gemma-7b&quot;</span>, <span class="hljs-string">&quot;float16&quot;</span>)
<span class="hljs-literal">True</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>revision_exists(<span class="hljs-string">&quot;google/gemma-7b&quot;</span>, <span class="hljs-string">&quot;not-a-revision&quot;</span>)
<span class="hljs-literal">False</span>`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-kvfsh7"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function T4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQWZ1dHVyZSUyMCUzRCUyMGFwaS5ydW5fYXNfZnV0dXJlKGFwaS53aG9hbWkpJTIwJTIzJTIwaW5zdGFudCUwQWZ1dHVyZS5kb25lKCklMEFmdXR1cmUucmVzdWx0KCklMjAlMjMlMjB3YWl0JTIwdW50aWwlMjBjb21wbGV0ZSUyMGFuZCUyMHJldHVybiUyMHJlc3VsdCUwQWZ1dHVyZS5kb25lKCk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi
<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()
<span class="hljs-meta">&gt;&gt;&gt; </span>future = api.run_as_future(api.whoami) <span class="hljs-comment"># instant</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>future.done()
<span class="hljs-literal">False</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>future.result() <span class="hljs-comment"># wait until complete and return result</span>
(...)
<span class="hljs-meta">&gt;&gt;&gt; </span>future.done()
<span class="hljs-literal">True</span>`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function M4(q){let s,$="Run your first Job:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHJ1bl9qb2IlMEFydW5fam9iKGltYWdlJTNEJTIycHl0aG9uJTNBMy4xMiUyMiUyQyUyMGNvbW1hbmQlM0QlNUIlMjJweXRob24lMjIlMkMlMjAlMjItYyUyMiUyMCUyQyUyMnByaW50KCdIZWxsbyUyMGZyb20lMjBIRiUyMGNvbXB1dGUhJyklMjIlNUQp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> run_job
<span class="hljs-meta">&gt;&gt;&gt; </span>run_job(image=<span class="hljs-string">&quot;python:3.12&quot;</span>, command=[<span class="hljs-string">&quot;python&quot;</span>, <span class="hljs-string">&quot;-c&quot;</span> ,<span class="hljs-string">&quot;print(&#x27;Hello from HF compute!&#x27;)&quot;</span>])`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-1t6yql5"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function q4(q){let s,$="Run a GPU Job:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHJ1bl9qb2IlMEFpbWFnZSUyMCUzRCUyMCUyMnB5dG9yY2glMkZweXRvcmNoJTNBMi42LjAtY3VkYTEyLjQtY3Vkbm45LWRldmVsJTIyJTBBY29tbWFuZCUyMCUzRCUyMCU1QiUyMnB5dGhvbiUyMiUyQyUyMCUyMi1jJTIyJTJDJTIwJTIyaW1wb3J0JTIwdG9yY2glM0IlMjBwcmludChmJTIyVGhpcyUyMGNvZGUlMjByYW4lMjB3aXRoJTIwdGhlJTIwZm9sbG93aW5nJTIwR1BVJTNBJTIwJTdCdG9yY2guY3VkYS5nZXRfZGV2aWNlX25hbWUoKSU3RCUyMiklMjIlNUQlMEFydW5fam9iKGltYWdlJTNEaW1hZ2UlMkMlMjBjb21tYW5kJTNEY29tbWFuZCUyQyUyMGZsYXZvciUzRCUyMmExMGctc21hbGwlMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> run_job
<span class="hljs-meta">&gt;&gt;&gt; </span>image = <span class="hljs-string">&quot;pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>command = [<span class="hljs-string">&quot;python&quot;</span>, <span class="hljs-string">&quot;-c&quot;</span>, <span class="hljs-string">&quot;import torch; print(f&quot;</span>This code ran <span class="hljs-keyword">with</span> the following GPU: {torch.cuda.get_device_name()}<span class="hljs-string">&quot;)&quot;</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>run_job(image=image, command=command, flavor=<span class="hljs-string">&quot;a10g-small&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-1b2mkbl"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function H4(q){let s,$="Run a script from a URL:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHJ1bl91dl9qb2IlMEFzY3JpcHQlMjAlM0QlMjAlMjJodHRwcyUzQSUyRiUyRnJhdy5naXRodWJ1c2VyY29udGVudC5jb20lMkZodWdnaW5nZmFjZSUyRnRybCUyRnJlZnMlMkZoZWFkcyUyRm1haW4lMkZ0cmwlMkZzY3JpcHRzJTJGc2Z0LnB5JTIyJTBBc2NyaXB0X2FyZ3MlMjAlM0QlMjAlNUIlMjItLW1vZGVsX25hbWVfb3JfcGF0aCUyMiUyQyUyMCUyMlF3ZW4lMkZRd2VuMi0wLjVCJTIyJTJDJTIwJTIyLS1kYXRhc2V0X25hbWUlMjIlMkMlMjAlMjJ0cmwtbGliJTJGQ2FweWJhcmElMjIlMkMlMjAlMjItLXB1c2hfdG9faHViJTIyJTVEJTBBcnVuX3V2X2pvYihzY3JpcHQlMkMlMjBzY3JpcHRfYXJncyUzRHNjcmlwdF9hcmdzJTJDJTIwZGVwZW5kZW5jaWVzJTNEJTVCJTIydHJsJTIyJTVEJTJDJTIwZmxhdm9yJTNEJTIyYTEwZy1zbWFsbCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> run_uv_job
<span class="hljs-meta">&gt;&gt;&gt; </span>script = <span class="hljs-string">&quot;https://raw.githubusercontent.com/huggingface/trl/refs/heads/main/trl/scripts/sft.py&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>script_args = [<span class="hljs-string">&quot;--model_name_or_path&quot;</span>, <span class="hljs-string">&quot;Qwen/Qwen2-0.5B&quot;</span>, <span class="hljs-string">&quot;--dataset_name&quot;</span>, <span class="hljs-string">&quot;trl-lib/Capybara&quot;</span>, <span class="hljs-string">&quot;--push_to_hub&quot;</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>run_uv_job(script, script_args=script_args, dependencies=[<span class="hljs-string">&quot;trl&quot;</span>], flavor=<span class="hljs-string">&quot;a10g-small&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-1cabkub"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function I4(q){let s,$="Run a local script:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHJ1bl91dl9qb2IlMEFzY3JpcHQlMjAlM0QlMjAlMjJteV9zZnQucHklMjIlMEFzY3JpcHRfYXJncyUyMCUzRCUyMCU1QiUyMi0tbW9kZWxfbmFtZV9vcl9wYXRoJTIyJTJDJTIwJTIyUXdlbiUyRlF3ZW4yLTAuNUIlMjIlMkMlMjAlMjItLWRhdGFzZXRfbmFtZSUyMiUyQyUyMCUyMnRybC1saWIlMkZDYXB5YmFyYSUyMiUyQyUyMCUyMi0tcHVzaF90b19odWIlMjIlNUQlMEFydW5fdXZfam9iKHNjcmlwdCUyQyUyMHNjcmlwdF9hcmdzJTNEc2NyaXB0X2FyZ3MlMkMlMjBkZXBlbmRlbmNpZXMlM0QlNUIlMjJ0cmwlMjIlNUQlMkMlMjBmbGF2b3IlM0QlMjJhMTBnLXNtYWxsJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> run_uv_job
<span class="hljs-meta">&gt;&gt;&gt; </span>script = <span class="hljs-string">&quot;my_sft.py&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>script_args = [<span class="hljs-string">&quot;--model_name_or_path&quot;</span>, <span class="hljs-string">&quot;Qwen/Qwen2-0.5B&quot;</span>, <span class="hljs-string">&quot;--dataset_name&quot;</span>, <span class="hljs-string">&quot;trl-lib/Capybara&quot;</span>, <span class="hljs-string">&quot;--push_to_hub&quot;</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>run_uv_job(script, script_args=script_args, dependencies=[<span class="hljs-string">&quot;trl&quot;</span>], flavor=<span class="hljs-string">&quot;a10g-small&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-18unv7m"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function U4(q){let s,$="Run a command:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHJ1bl91dl9qb2IlMEFzY3JpcHQlMjAlM0QlMjAlMjJsaWdodGV2YWwlMjIlMEFzY3JpcHRfYXJncyUzRCUyMCU1QiUyMmVuZHBvaW50JTIyJTJDJTIwJTIyaW5mZXJlbmNlLXByb3ZpZGVycyUyMiUyQyUyMCUyMm1vZGVsX25hbWUlM0RvcGVuYWklMkZncHQtb3NzLTIwYiUyQ3Byb3ZpZGVyJTNEYXV0byUyMiUyQyUyMCUyMmxpZ2h0ZXZhbCU3Q2dzbThrJTdDMCU3QzAlMjIlNUQlMEFydW5fdXZfam9iKHNjcmlwdCUyQyUyMHNjcmlwdF9hcmdzJTNEc2NyaXB0X2FyZ3MlMkMlMjBkZXBlbmRlbmNpZXMlM0QlNUIlMjJsaWdodGV2YWwlMjIlNUQlMkMlMjBmbGF2b3IlM0QlMjJhMTBnLXNtYWxsJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> run_uv_job
<span class="hljs-meta">&gt;&gt;&gt; </span>script = <span class="hljs-string">&quot;lighteval&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>script_args= [<span class="hljs-string">&quot;endpoint&quot;</span>, <span class="hljs-string">&quot;inference-providers&quot;</span>, <span class="hljs-string">&quot;model_name=openai/gpt-oss-20b,provider=auto&quot;</span>, <span class="hljs-string">&quot;lighteval|gsm8k|0|0&quot;</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>run_uv_job(script, script_args=script_args, dependencies=[<span class="hljs-string">&quot;lighteval&quot;</span>], flavor=<span class="hljs-string">&quot;a10g-small&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-ko0f2l"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function C4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQSUwQXJlcG9faWQlMjAlM0QlMjBhcGkuY3JlYXRlX3JlcG8oJTIydGVzdC1zcXVhc2glMjIpLnJlcG9faWQlMEElMEFhcGkudXBsb2FkX2ZpbGUocmVwb19pZCUzRHJlcG9faWQlMkMlMjBwYXRoX2luX3JlcG8lM0QlMjJmaWxlLnR4dCUyMiUyQyUyMHBhdGhfb3JfZmlsZW9iaiUzRGIlMjJjb250ZW50JTIyKSUwQWFwaS51cGxvYWRfZmlsZShyZXBvX2lkJTNEcmVwb19pZCUyQyUyMHBhdGhfaW5fcmVwbyUzRCUyMmxmcy5iaW4lMjIlMkMlMjBwYXRoX29yX2ZpbGVvYmolM0RiJTIyY29udGVudCUyMiklMEFhcGkudXBsb2FkX2ZpbGUocmVwb19pZCUzRHJlcG9faWQlMkMlMjBwYXRoX2luX3JlcG8lM0QlMjJmaWxlLnR4dCUyMiUyQyUyMHBhdGhfb3JfZmlsZW9iaiUzRGIlMjJhbm90aGVyX2NvbnRlbnQlMjIpJTBBJTBBYXBpLnN1cGVyX3NxdWFzaF9oaXN0b3J5KHJlcG9faWQlM0RyZXBvX2lkKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi
<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()

<span class="hljs-comment"># Create repo</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>repo_id = api.create_repo(<span class="hljs-string">&quot;test-squash&quot;</span>).repo_id

<span class="hljs-comment"># Make a lot of commits.</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.upload_file(repo_id=repo_id, path_in_repo=<span class="hljs-string">&quot;file.txt&quot;</span>, path_or_fileobj=<span class="hljs-string">b&quot;content&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>api.upload_file(repo_id=repo_id, path_in_repo=<span class="hljs-string">&quot;lfs.bin&quot;</span>, path_or_fileobj=<span class="hljs-string">b&quot;content&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>api.upload_file(repo_id=repo_id, path_in_repo=<span class="hljs-string">&quot;file.txt&quot;</span>, path_or_fileobj=<span class="hljs-string">b&quot;another_content&quot;</span>)

<span class="hljs-comment"># Squash history</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.super_squash_history(repo_id=repo_id)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function J4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpc3RfbGlrZWRfcmVwb3MlMkMlMjB1bmxpa2UlMEElMjJncHQyJTIyJTIwaW4lMjBsaXN0X2xpa2VkX3JlcG9zKCkubW9kZWxzJTIwJTIzJTIwd2UlMjBhc3N1bWUlMjB5b3UlMjBoYXZlJTIwYWxyZWFkeSUyMGxpa2VkJTIwZ3B0MiUwQXVubGlrZSglMjJncHQyJTIyKSUwQSUyMmdwdDIlMjIlMjBpbiUyMGxpc3RfbGlrZWRfcmVwb3MoKS5tb2RlbHM=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_liked_repos, unlike
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-string">&quot;gpt2&quot;</span> <span class="hljs-keyword">in</span> list_liked_repos().models <span class="hljs-comment"># we assume you have already liked gpt2</span>
<span class="hljs-literal">True</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>unlike(<span class="hljs-string">&quot;gpt2&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-string">&quot;gpt2&quot;</span> <span class="hljs-keyword">in</span> list_liked_repos().models
<span class="hljs-literal">False</span>`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function A4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF9jb2xsZWN0aW9uJTJDJTIwdXBkYXRlX2NvbGxlY3Rpb25faXRlbSUwQSUwQWNvbGxlY3Rpb24lMjAlM0QlMjBnZXRfY29sbGVjdGlvbiglMjJUaGVCbG9rZSUyRnJlY2VudC1tb2RlbHMtNjRmOWE1NWJiMzExNWI0ZjUxM2VjMDI2JTIyKSUwQSUwQXVwZGF0ZV9jb2xsZWN0aW9uX2l0ZW0oJTBBJTIwJTIwJTIwJTIwY29sbGVjdGlvbl9zbHVnJTNEJTIyVGhlQmxva2UlMkZyZWNlbnQtbW9kZWxzLTY0ZjlhNTViYjMxMTViNGY1MTNlYzAyNiUyMiUyQyUwQSUyMCUyMCUyMCUyMGl0ZW1fb2JqZWN0X2lkJTNEY29sbGVjdGlvbi5pdGVtcyU1Qi0xJTVELml0ZW1fb2JqZWN0X2lkJTJDJTBBJTIwJTIwJTIwJTIwbm90ZSUzRCUyMk5ld2x5JTIwdXBkYXRlZCUyMG1vZGVsISUyMiUwQSUyMCUyMCUyMCUyMHBvc2l0aW9uJTNEMCUyQyUwQSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> get_collection, update_collection_item

<span class="hljs-comment"># Get collection first</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>collection = get_collection(<span class="hljs-string">&quot;TheBloke/recent-models-64f9a55bb3115b4f513ec026&quot;</span>)

<span class="hljs-comment"># Update item based on its ID (add note + update position)</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>update_collection_item(
<span class="hljs-meta">... </span>    collection_slug=<span class="hljs-string">&quot;TheBloke/recent-models-64f9a55bb3115b4f513ec026&quot;</span>,
<span class="hljs-meta">... </span>    item_object_id=collection.items[-<span class="hljs-number">1</span>].item_object_id,
<span class="hljs-meta">... </span>    note=<span class="hljs-string">&quot;Newly updated model!&quot;</span>
<span class="hljs-meta">... </span>    position=<span class="hljs-number">0</span>,
<span class="hljs-meta">... </span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function N4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHVwZGF0ZV9jb2xsZWN0aW9uX21ldGFkYXRhJTBBY29sbGVjdGlvbiUyMCUzRCUyMHVwZGF0ZV9jb2xsZWN0aW9uX21ldGFkYXRhKCUwQSUyMCUyMCUyMCUyMGNvbGxlY3Rpb25fc2x1ZyUzRCUyMnVzZXJuYW1lJTJGaWNjdi0yMDIzLTY0ZjlhNTViYjMxMTViNGY1MTNlYzAyNiUyMiUyQyUwQSUyMCUyMCUyMCUyMHRpdGxlJTNEJTIySUNDViUyME9jdC4lMjAyMDIzJTIyJTBBJTIwJTIwJTIwJTIwZGVzY3JpcHRpb24lM0QlMjJQb3J0Zm9saW8lMjBvZiUyMG1vZGVscyUyQyUyMGRhdGFzZXRzJTJDJTIwcGFwZXJzJTIwYW5kJTIwZGVtb3MlMjBJJTIwcHJlc2VudGVkJTIwYXQlMjBJQ0NWJTIwT2N0LiUyMDIwMjMlMjIlMkMlMEElMjAlMjAlMjAlMjBwcml2YXRlJTNERmFsc2UlMkMlMEElMjAlMjAlMjAlMjB0aGVtZSUzRCUyMnBpbmslMjIlMkMlMEEpJTBBY29sbGVjdGlvbi5zbHVn",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> update_collection_metadata
<span class="hljs-meta">&gt;&gt;&gt; </span>collection = update_collection_metadata(
<span class="hljs-meta">... </span>    collection_slug=<span class="hljs-string">&quot;username/iccv-2023-64f9a55bb3115b4f513ec026&quot;</span>,
<span class="hljs-meta">... </span>    title=<span class="hljs-string">&quot;ICCV Oct. 2023&quot;</span>
<span class="hljs-meta">... </span>    description=<span class="hljs-string">&quot;Portfolio of models, datasets, papers and demos I presented at ICCV Oct. 2023&quot;</span>,
<span class="hljs-meta">... </span>    private=<span class="hljs-literal">False</span>,
<span class="hljs-meta">... </span>    theme=<span class="hljs-string">&quot;pink&quot;</span>,
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>collection.slug
<span class="hljs-string">&quot;username/iccv-oct-2023-64f9a55bb3115b4f513ec026&quot;</span>
<span class="hljs-comment"># ^collection slug got updated but not the trailing ID</span>`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function E4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHVwZGF0ZV93ZWJob29rJTBBdXBkYXRlZF9wYXlsb2FkJTIwJTNEJTIwdXBkYXRlX3dlYmhvb2soJTBBJTIwJTIwJTIwJTIwd2ViaG9va19pZCUzRCUyMjY1NGJiYmMxNmYyZWMxNGQ3N2YxMDljYyUyMiUyQyUwQSUyMCUyMCUyMCUyMHVybCUzRCUyMmh0dHBzJTNBJTJGJTJGbmV3LndlYmhvb2suc2l0ZSUyRmEyMTc2ZTgyLTU3MjAtNDNlZS05ZTA2LWY5MWNiNGM5MTU0OCUyMiUyQyUwQSUyMCUyMCUyMCUyMHdhdGNoZWQlM0QlNUIlN0IlMjJ0eXBlJTIyJTNBJTIwJTIydXNlciUyMiUyQyUyMCUyMm5hbWUlMjIlM0ElMjAlMjJqdWxpZW4tYyUyMiU3RCUyQyUyMCU3QiUyMnR5cGUlMjIlM0ElMjAlMjJvcmclMjIlMkMlMjAlMjJuYW1lJTIyJTNBJTIwJTIySHVnZ2luZ0ZhY2VINCUyMiU3RCU1RCUyQyUwQSUyMCUyMCUyMCUyMGRvbWFpbnMlM0QlNUIlMjJyZXBvJTIyJTVEJTJDJTBBJTIwJTIwJTIwJTIwc2VjcmV0JTNEJTIybXktc2VjcmV0JTIyJTJDJTBBKSUwQXByaW50KHVwZGF0ZWRfcGF5bG9hZCk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> update_webhook
<span class="hljs-meta">&gt;&gt;&gt; </span>updated_payload = update_webhook(
<span class="hljs-meta">... </span>    webhook_id=<span class="hljs-string">&quot;654bbbc16f2ec14d77f109cc&quot;</span>,
<span class="hljs-meta">... </span>    url=<span class="hljs-string">&quot;https://new.webhook.site/a2176e82-5720-43ee-9e06-f91cb4c91548&quot;</span>,
<span class="hljs-meta">... </span>    watched=[{<span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-string">&quot;user&quot;</span>, <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;julien-c&quot;</span>}, {<span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-string">&quot;org&quot;</span>, <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;HuggingFaceH4&quot;</span>}],
<span class="hljs-meta">... </span>    domains=[<span class="hljs-string">&quot;repo&quot;</span>],
<span class="hljs-meta">... </span>    secret=<span class="hljs-string">&quot;my-secret&quot;</span>,
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(updated_payload)
WebhookInfo(
    <span class="hljs-built_in">id</span>=<span class="hljs-string">&quot;654bbbc16f2ec14d77f109cc&quot;</span>,
    job=<span class="hljs-literal">None</span>,
    url=<span class="hljs-string">&quot;https://new.webhook.site/a2176e82-5720-43ee-9e06-f91cb4c91548&quot;</span>,
    watched=[WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;user&quot;</span>, name=<span class="hljs-string">&quot;julien-c&quot;</span>), WebhookWatchedItem(<span class="hljs-built_in">type</span>=<span class="hljs-string">&quot;org&quot;</span>, name=<span class="hljs-string">&quot;HuggingFaceH4&quot;</span>)],
    domains=[<span class="hljs-string">&quot;repo&quot;</span>],
    secret=<span class="hljs-string">&quot;my-secret&quot;</span>,
    disabled=<span class="hljs-literal">False</span>,`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function R4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHVwbG9hZF9maWxlJTBBJTBBd2l0aCUyMG9wZW4oJTIyLiUyRmxvY2FsJTJGZmlsZXBhdGglMjIlMkMlMjAlMjJyYiUyMiklMjBhcyUyMGZvYmolM0ElMEElMjAlMjAlMjAlMjB1cGxvYWRfZmlsZSglMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBwYXRoX29yX2ZpbGVvYmolM0RmaWxlb2JqJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwcGF0aF9pbl9yZXBvJTNEJTIycmVtb3RlJTJGZmlsZSUyRnBhdGguaDUlMjIlMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIydXNlcm5hbWUlMkZteS1kYXRhc2V0JTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwcmVwb190eXBlJTNEJTIyZGF0YXNldCUyMiUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMHRva2VuJTNEJTIybXlfdG9rZW4lMjIlMkMlMEElMjAlMjAlMjAlMjApJTBBJTBBdXBsb2FkX2ZpbGUoJTBBJTIwJTIwJTIwJTIwcGF0aF9vcl9maWxlb2JqJTNEJTIyLiU1QyU1Q2xvY2FsJTVDJTVDZmlsZSU1QyU1Q3BhdGglMjIlMkMlMEElMjAlMjAlMjAlMjBwYXRoX2luX3JlcG8lM0QlMjJyZW1vdGUlMkZmaWxlJTJGcGF0aC5oNSUyMiUyQyUwQSUyMCUyMCUyMCUyMHJlcG9faWQlM0QlMjJ1c2VybmFtZSUyRm15LW1vZGVsJTIyJTJDJTBBJTIwJTIwJTIwJTIwdG9rZW4lM0QlMjJteV90b2tlbiUyMiUyQyUwQSklMEElMEF1cGxvYWRfZmlsZSglMEElMjAlMjAlMjAlMjBwYXRoX29yX2ZpbGVvYmolM0QlMjIuJTVDJTVDbG9jYWwlNUMlNUNmaWxlJTVDJTVDcGF0aCUyMiUyQyUwQSUyMCUyMCUyMCUyMHBhdGhfaW5fcmVwbyUzRCUyMnJlbW90ZSUyRmZpbGUlMkZwYXRoLmg1JTIyJTJDJTBBJTIwJTIwJTIwJTIwcmVwb19pZCUzRCUyMnVzZXJuYW1lJTJGbXktbW9kZWwlMjIlMkMlMEElMjAlMjAlMjAlMjB0b2tlbiUzRCUyMm15X3Rva2VuJTIyJTJDJTBBJTIwJTIwJTIwJTIwY3JlYXRlX3ByJTNEVHJ1ZSUyQyUwQSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> upload_file

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">with</span> <span class="hljs-built_in">open</span>(<span class="hljs-string">&quot;./local/filepath&quot;</span>, <span class="hljs-string">&quot;rb&quot;</span>) <span class="hljs-keyword">as</span> fobj:
<span class="hljs-meta">... </span>    upload_file(
<span class="hljs-meta">... </span>        path_or_fileobj=fileobj,
<span class="hljs-meta">... </span>        path_in_repo=<span class="hljs-string">&quot;remote/file/path.h5&quot;</span>,
<span class="hljs-meta">... </span>        repo_id=<span class="hljs-string">&quot;username/my-dataset&quot;</span>,
<span class="hljs-meta">... </span>        repo_type=<span class="hljs-string">&quot;dataset&quot;</span>,
<span class="hljs-meta">... </span>        token=<span class="hljs-string">&quot;my_token&quot;</span>,
<span class="hljs-meta">... </span>    )

<span class="hljs-meta">&gt;&gt;&gt; </span>upload_file(
<span class="hljs-meta">... </span>    path_or_fileobj=<span class="hljs-string">&quot;.\\\\local\\\\file\\\\path&quot;</span>,
<span class="hljs-meta">... </span>    path_in_repo=<span class="hljs-string">&quot;remote/file/path.h5&quot;</span>,
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;username/my-model&quot;</span>,
<span class="hljs-meta">... </span>    token=<span class="hljs-string">&quot;my_token&quot;</span>,
<span class="hljs-meta">... </span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>upload_file(
<span class="hljs-meta">... </span>    path_or_fileobj=<span class="hljs-string">&quot;.\\\\local\\\\file\\\\path&quot;</span>,
<span class="hljs-meta">... </span>    path_in_repo=<span class="hljs-string">&quot;remote/file/path.h5&quot;</span>,
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;username/my-model&quot;</span>,
<span class="hljs-meta">... </span>    token=<span class="hljs-string">&quot;my_token&quot;</span>,
<span class="hljs-meta">... </span>    create_pr=<span class="hljs-literal">True</span>,
<span class="hljs-meta">... </span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function D4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"dXBsb2FkX2ZvbGRlciglMEElMjAlMjAlMjAlMjBmb2xkZXJfcGF0aCUzRCUyMmxvY2FsJTJGY2hlY2twb2ludHMlMjIlMkMlMEElMjAlMjAlMjAlMjBwYXRoX2luX3JlcG8lM0QlMjJyZW1vdGUlMkZleHBlcmltZW50JTJGY2hlY2twb2ludHMlMjIlMkMlMEElMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIydXNlcm5hbWUlMkZteS1kYXRhc2V0JTIyJTJDJTBBJTIwJTIwJTIwJTIwcmVwb190eXBlJTNEJTIyZGF0YXNldHMlMjIlMkMlMEElMjAlMjAlMjAlMjB0b2tlbiUzRCUyMm15X3Rva2VuJTIyJTJDJTBBJTIwJTIwJTIwJTIwaWdub3JlX3BhdHRlcm5zJTNEJTIyKiolMkZsb2dzJTJGKi50eHQlMjIlMkMlMEEpJTBBJTBBdXBsb2FkX2ZvbGRlciglMEElMjAlMjAlMjAlMjBmb2xkZXJfcGF0aCUzRCUyMmxvY2FsJTJGY2hlY2twb2ludHMlMjIlMkMlMEElMjAlMjAlMjAlMjBwYXRoX2luX3JlcG8lM0QlMjJyZW1vdGUlMkZleHBlcmltZW50JTJGY2hlY2twb2ludHMlMjIlMkMlMEElMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIydXNlcm5hbWUlMkZteS1kYXRhc2V0JTIyJTJDJTBBJTIwJTIwJTIwJTIwcmVwb190eXBlJTNEJTIyZGF0YXNldHMlMjIlMkMlMEElMjAlMjAlMjAlMjB0b2tlbiUzRCUyMm15X3Rva2VuJTIyJTJDJTBBJTIwJTIwJTIwJTIwZGVsZXRlX3BhdHRlcm5zJTNEJTIyKiolMkZsb2dzJTJGKi50eHQlMjIlMkMlMEEpJTBBJTBBdXBsb2FkX2ZvbGRlciglMEElMjAlMjAlMjAlMjBmb2xkZXJfcGF0aCUzRCUyMmxvY2FsJTJGY2hlY2twb2ludHMlMjIlMkMlMEElMjAlMjAlMjAlMjBwYXRoX2luX3JlcG8lM0QlMjJyZW1vdGUlMkZleHBlcmltZW50JTJGY2hlY2twb2ludHMlMjIlMkMlMEElMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIydXNlcm5hbWUlMkZteS1kYXRhc2V0JTIyJTJDJTBBJTIwJTIwJTIwJTIwcmVwb190eXBlJTNEJTIyZGF0YXNldHMlMjIlMkMlMEElMjAlMjAlMjAlMjB0b2tlbiUzRCUyMm15X3Rva2VuJTIyJTJDJTBBJTIwJTIwJTIwJTIwY3JlYXRlX3ByJTNEVHJ1ZSUyQyUwQSk=",highlighted:`<span class="hljs-comment"># Upload checkpoints folder except the log files</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>upload_folder(
<span class="hljs-meta">... </span>    folder_path=<span class="hljs-string">&quot;local/checkpoints&quot;</span>,
<span class="hljs-meta">... </span>    path_in_repo=<span class="hljs-string">&quot;remote/experiment/checkpoints&quot;</span>,
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;username/my-dataset&quot;</span>,
<span class="hljs-meta">... </span>    repo_type=<span class="hljs-string">&quot;datasets&quot;</span>,
<span class="hljs-meta">... </span>    token=<span class="hljs-string">&quot;my_token&quot;</span>,
<span class="hljs-meta">... </span>    ignore_patterns=<span class="hljs-string">&quot;**/logs/*.txt&quot;</span>,
<span class="hljs-meta">... </span>)

<span class="hljs-comment"># Upload checkpoints folder including logs while deleting existing logs from the repo</span>
<span class="hljs-comment"># Useful if you don&#x27;t know exactly which log files have already being pushed</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>upload_folder(
<span class="hljs-meta">... </span>    folder_path=<span class="hljs-string">&quot;local/checkpoints&quot;</span>,
<span class="hljs-meta">... </span>    path_in_repo=<span class="hljs-string">&quot;remote/experiment/checkpoints&quot;</span>,
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;username/my-dataset&quot;</span>,
<span class="hljs-meta">... </span>    repo_type=<span class="hljs-string">&quot;datasets&quot;</span>,
<span class="hljs-meta">... </span>    token=<span class="hljs-string">&quot;my_token&quot;</span>,
<span class="hljs-meta">... </span>    delete_patterns=<span class="hljs-string">&quot;**/logs/*.txt&quot;</span>,
<span class="hljs-meta">... </span>)

<span class="hljs-comment"># Upload checkpoints folder while creating a PR</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>upload_folder(
<span class="hljs-meta">... </span>    folder_path=<span class="hljs-string">&quot;local/checkpoints&quot;</span>,
<span class="hljs-meta">... </span>    path_in_repo=<span class="hljs-string">&quot;remote/experiment/checkpoints&quot;</span>,
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;username/my-dataset&quot;</span>,
<span class="hljs-meta">... </span>    repo_type=<span class="hljs-string">&quot;datasets&quot;</span>,
<span class="hljs-meta">... </span>    token=<span class="hljs-string">&quot;my_token&quot;</span>,
<span class="hljs-meta">... </span>    create_pr=<span class="hljs-literal">True</span>,
<span class="hljs-meta">... </span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function G4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQWxmc19maWxlcyUyMCUzRCUyMGFwaS5saXN0X2xmc19maWxlcyglMjJ1c2VybmFtZSUyRm15LWNvb2wtcmVwbyUyMiklMEElMEFsZnNfZmlsZXNfdG9fZGVsZXRlJTIwJTNEJTIwKGxmc19maWxlJTIwZm9yJTIwbGZzX2ZpbGUlMjBpbiUyMGxmc19maWxlcyUyMGlmJTIwbGZzX2ZpbGUuZmlsZW5hbWUuc3RhcnRzd2l0aCglMjJjaGVja3BvaW50cyUyRiUyMikpJTBBJTBBYXBpLnBlcm1hbmVudGx5X2RlbGV0ZV9sZnNfZmlsZXMoJTIydXNlcm5hbWUlMkZteS1jb29sLXJlcG8lMjIlMkMlMjBsZnNfZmlsZXNfdG9fZGVsZXRlKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi
<span class="hljs-meta">&gt;&gt;&gt; </span>api = HfApi()
<span class="hljs-meta">&gt;&gt;&gt; </span>lfs_files = api.list_lfs_files(<span class="hljs-string">&quot;username/my-cool-repo&quot;</span>)

<span class="hljs-comment"># Filter files files to delete based on a combination of \`filename\`, \`pushed_at\`, \`ref\` or \`size\`.</span>
<span class="hljs-comment"># e.g. select only LFS files in the &quot;checkpoints&quot; folder</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>lfs_files_to_delete = (lfs_file <span class="hljs-keyword">for</span> lfs_file <span class="hljs-keyword">in</span> lfs_files <span class="hljs-keyword">if</span> lfs_file.filename.startswith(<span class="hljs-string">&quot;checkpoints/&quot;</span>))

<span class="hljs-comment"># Permanently delete LFS files</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.permanently_delete_lfs_files(<span class="hljs-string">&quot;username/my-cool-repo&quot;</span>, lfs_files_to_delete)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function Z4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"UmVwb1VybCgnaHR0cHMlM0ElMkYlMkZodWdnaW5nZmFjZS5jbyUyRmdwdDInKSUwQSUwQVJlcG9VcmwoJ2h0dHBzJTNBJTJGJTJGaHViLWNpLmh1Z2dpbmdmYWNlLmNvJTJGZGF0YXNldHMlMkZkdW1teV91c2VyJTJGZHVtbXlfZGF0YXNldCclMkMlMjBlbmRwb2ludCUzRCdodHRwcyUzQSUyRiUyRmh1Yi1jaS5odWdnaW5nZmFjZS5jbycpJTBBJTBBUmVwb1VybCgnaGYlM0ElMkYlMkZkYXRhc2V0cyUyRm15LXVzZXIlMkZteS1kYXRhc2V0JyklMEElMEFIZkFwaS5jcmVhdGVfcmVwbyglMjJkdW1teV9tb2RlbCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>RepoUrl(<span class="hljs-string">&#x27;https://huggingface.co/gpt2&#x27;</span>)
RepoUrl(<span class="hljs-string">&#x27;https://huggingface.co/gpt2&#x27;</span>, endpoint=<span class="hljs-string">&#x27;https://huggingface.co&#x27;</span>, repo_type=<span class="hljs-string">&#x27;model&#x27;</span>, repo_id=<span class="hljs-string">&#x27;gpt2&#x27;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>RepoUrl(<span class="hljs-string">&#x27;https://hub-ci.huggingface.co/datasets/dummy_user/dummy_dataset&#x27;</span>, endpoint=<span class="hljs-string">&#x27;https://hub-ci.huggingface.co&#x27;</span>)
RepoUrl(<span class="hljs-string">&#x27;https://hub-ci.huggingface.co/datasets/dummy_user/dummy_dataset&#x27;</span>, endpoint=<span class="hljs-string">&#x27;https://hub-ci.huggingface.co&#x27;</span>, repo_type=<span class="hljs-string">&#x27;dataset&#x27;</span>, repo_id=<span class="hljs-string">&#x27;dummy_user/dummy_dataset&#x27;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>RepoUrl(<span class="hljs-string">&#x27;hf://datasets/my-user/my-dataset&#x27;</span>)
RepoUrl(<span class="hljs-string">&#x27;hf://datasets/my-user/my-dataset&#x27;</span>, endpoint=<span class="hljs-string">&#x27;https://huggingface.co&#x27;</span>, repo_type=<span class="hljs-string">&#x27;dataset&#x27;</span>, repo_id=<span class="hljs-string">&#x27;user/dataset&#x27;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>HfApi.create_repo(<span class="hljs-string">&quot;dummy_model&quot;</span>)
RepoUrl(<span class="hljs-string">&#x27;https://huggingface.co/Wauplin/dummy_model&#x27;</span>, endpoint=<span class="hljs-string">&#x27;https://huggingface.co&#x27;</span>, repo_type=<span class="hljs-string">&#x27;model&#x27;</span>, repo_id=<span class="hljs-string">&#x27;Wauplin/dummy_model&#x27;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function F4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"b3BlcmF0aW9uJTIwJTNEJTIwQ29tbWl0T3BlcmF0aW9uQWRkKCUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMHBhdGhfaW5fcmVwbyUzRCUyMnJlbW90ZSUyRmRpciUyRndlaWdodHMuaDUlMjIlMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjBwYXRoX29yX2ZpbGVvYmolM0QlMjIuJTJGbG9jYWwlMkZ3ZWlnaHRzLmg1JTIyJTJDJTBBKSUwQSUwQXdpdGglMjBvcGVyYXRpb24uYXNfZmlsZSgpJTIwYXMlMjBmaWxlJTNBJTBBJTIwJTIwJTIwJTIwY29udGVudCUyMCUzRCUyMGZpbGUucmVhZCgpJTBBJTBBd2l0aCUyMG9wZXJhdGlvbi5hc19maWxlKHdpdGhfdHFkbSUzRFRydWUpJTIwYXMlMjBmaWxlJTNBJTBBJTIwJTIwJTIwJTIwd2hpbGUlMjBUcnVlJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwZGF0YSUyMCUzRCUyMGZpbGUucmVhZCgxMDI0KSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGlmJTIwbm90JTIwZGF0YSUzQSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGJyZWFrJTBBJTBBd2l0aCUyMG9wZXJhdGlvbi5hc19maWxlKHdpdGhfdHFkbSUzRFRydWUpJTIwYXMlMjBmaWxlJTNBJTBBJTIwJTIwJTIwJTIwaHR0cHgucHV0KC4uLiUyQyUyMGRhdGElM0RmaWxlKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>operation = CommitOperationAdd(
<span class="hljs-meta">... </span>       path_in_repo=<span class="hljs-string">&quot;remote/dir/weights.h5&quot;</span>,
<span class="hljs-meta">... </span>       path_or_fileobj=<span class="hljs-string">&quot;./local/weights.h5&quot;</span>,
<span class="hljs-meta">... </span>)
CommitOperationAdd(path_in_repo=<span class="hljs-string">&#x27;remote/dir/weights.h5&#x27;</span>, path_or_fileobj=<span class="hljs-string">&#x27;./local/weights.h5&#x27;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">with</span> operation.as_file() <span class="hljs-keyword">as</span> file:
<span class="hljs-meta">... </span>    content = file.read()

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">with</span> operation.as_file(with_tqdm=<span class="hljs-literal">True</span>) <span class="hljs-keyword">as</span> file:
<span class="hljs-meta">... </span>    <span class="hljs-keyword">while</span> <span class="hljs-literal">True</span>:
<span class="hljs-meta">... </span>        data = file.read(<span class="hljs-number">1024</span>)
<span class="hljs-meta">... </span>        <span class="hljs-keyword">if</span> <span class="hljs-keyword">not</span> data:
<span class="hljs-meta">... </span>             <span class="hljs-keyword">break</span>
config.json: <span class="hljs-number">100</span>%|█████████████████████████| <span class="hljs-number">8.19</span>k/<span class="hljs-number">8.19</span>k [<span class="hljs-number">00</span>:02&lt;<span class="hljs-number">00</span>:<span class="hljs-number">00</span>, <span class="hljs-number">3.72</span>kB/s]

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">with</span> operation.as_file(with_tqdm=<span class="hljs-literal">True</span>) <span class="hljs-keyword">as</span> file:
<span class="hljs-meta">... </span>    httpx.put(..., data=file)
config.json: <span class="hljs-number">100</span>%|█████████████████████████| <span class="hljs-number">8.19</span>k/<span class="hljs-number">8.19</span>k [<span class="hljs-number">00</span>:02&lt;<span class="hljs-number">00</span>:<span class="hljs-number">00</span>, <span class="hljs-number">3.72</span>kB/s]`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function S4(q){let s,$="Example:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMHBhdGhsaWIlMjBpbXBvcnQlMjBQYXRoJTBBZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMENvbW1pdFNjaGVkdWxlciUwQSUwQWNzdl9wYXRoJTIwJTNEJTIwUGF0aCglMjJ3YXRjaGVkX2ZvbGRlciUyRmRhdGEuY3N2JTIyKSUwQUNvbW1pdFNjaGVkdWxlcihyZXBvX2lkJTNEJTIydGVzdF9zY2hlZHVsZXIlMjIlMkMlMjByZXBvX3R5cGUlM0QlMjJkYXRhc2V0JTIyJTJDJTIwZm9sZGVyX3BhdGglM0Rjc3ZfcGF0aC5wYXJlbnQlMkMlMjBldmVyeSUzRDEwKSUwQSUwQXdpdGglMjBjc3ZfcGF0aC5vcGVuKCUyMmElMjIpJTIwYXMlMjBmJTNBJTBBJTIwJTIwJTIwJTIwZi53cml0ZSglMjJmaXJzdCUyMGxpbmUlMjIpJTBBJTBBd2l0aCUyMGNzdl9wYXRoLm9wZW4oJTIyYSUyMiklMjBhcyUyMGYlM0ElMEElMjAlMjAlMjAlMjBmLndyaXRlKCUyMnNlY29uZCUyMGxpbmUlMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> pathlib <span class="hljs-keyword">import</span> Path
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> CommitScheduler

<span class="hljs-comment"># Scheduler uploads every 10 minutes</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>csv_path = Path(<span class="hljs-string">&quot;watched_folder/data.csv&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>CommitScheduler(repo_id=<span class="hljs-string">&quot;test_scheduler&quot;</span>, repo_type=<span class="hljs-string">&quot;dataset&quot;</span>, folder_path=csv_path.parent, every=<span class="hljs-number">10</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">with</span> csv_path.<span class="hljs-built_in">open</span>(<span class="hljs-string">&quot;a&quot;</span>) <span class="hljs-keyword">as</span> f:
<span class="hljs-meta">... </span>    f.write(<span class="hljs-string">&quot;first line&quot;</span>)

<span class="hljs-comment"># Some time later (...)</span>
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">with</span> csv_path.<span class="hljs-built_in">open</span>(<span class="hljs-string">&quot;a&quot;</span>) <span class="hljs-keyword">as</span> f:
<span class="hljs-meta">... </span>    f.write(<span class="hljs-string">&quot;second line&quot;</span>)`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-11lpom8"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function W4(q){let s,$="Example using a context manager:",l,c,g;return c=new H({props:{code:"ZnJvbSUyMHBhdGhsaWIlMjBpbXBvcnQlMjBQYXRoJTBBZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMENvbW1pdFNjaGVkdWxlciUwQSUwQXdpdGglMjBDb21taXRTY2hlZHVsZXIocmVwb19pZCUzRCUyMnRlc3Rfc2NoZWR1bGVyJTIyJTJDJTIwcmVwb190eXBlJTNEJTIyZGF0YXNldCUyMiUyQyUyMGZvbGRlcl9wYXRoJTNEJTIyd2F0Y2hlZF9mb2xkZXIlMjIlMkMlMjBldmVyeSUzRDEwKSUyMGFzJTIwc2NoZWR1bGVyJTNBJTBBJTIwJTIwJTIwJTIwY3N2X3BhdGglMjAlM0QlMjBQYXRoKCUyMndhdGNoZWRfZm9sZGVyJTJGZGF0YS5jc3YlMjIpJTBBJTIwJTIwJTIwJTIwd2l0aCUyMGNzdl9wYXRoLm9wZW4oJTIyYSUyMiklMjBhcyUyMGYlM0ElMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBmLndyaXRlKCUyMmZpcnN0JTIwbGluZSUyMiklMEElMjAlMjAlMjAlMjAoLi4uKSUwQSUyMCUyMCUyMCUyMHdpdGglMjBjc3ZfcGF0aC5vcGVuKCUyMmElMjIpJTIwYXMlMjBmJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwZi53cml0ZSglMjJzZWNvbmQlMjBsaW5lJTIyKSUwQQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> pathlib <span class="hljs-keyword">import</span> Path
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> CommitScheduler

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">with</span> CommitScheduler(repo_id=<span class="hljs-string">&quot;test_scheduler&quot;</span>, repo_type=<span class="hljs-string">&quot;dataset&quot;</span>, folder_path=<span class="hljs-string">&quot;watched_folder&quot;</span>, every=<span class="hljs-number">10</span>) <span class="hljs-keyword">as</span> scheduler:
<span class="hljs-meta">... </span>    csv_path = Path(<span class="hljs-string">&quot;watched_folder/data.csv&quot;</span>)
<span class="hljs-meta">... </span>    <span class="hljs-keyword">with</span> csv_path.<span class="hljs-built_in">open</span>(<span class="hljs-string">&quot;a&quot;</span>) <span class="hljs-keyword">as</span> f:
<span class="hljs-meta">... </span>        f.write(<span class="hljs-string">&quot;first line&quot;</span>)
<span class="hljs-meta">... </span>    (...)
<span class="hljs-meta">... </span>    <span class="hljs-keyword">with</span> csv_path.<span class="hljs-built_in">open</span>(<span class="hljs-string">&quot;a&quot;</span>) <span class="hljs-keyword">as</span> f:
<span class="hljs-meta">... </span>        f.write(<span class="hljs-string">&quot;second line&quot;</span>)

<span class="hljs-comment"># Scheduler is now stopped and last commit have been triggered</span>`,wrap:!1}}),{c(){s=r("p"),s.textContent=$,l=o(),u(c.$$.fragment)},l(t){s=i(t,"P",{"data-svelte-h":!0}),d(s)!=="svelte-k44prv"&&(s.textContent=$),l=a(t),h(c.$$.fragment,t)},m(t,v){k(t,s,v),k(t,l,v),f(c,t,v),g=!0},p:U,i(t){g||(m(c.$$.fragment,t),g=!0)},o(t){_(c.$$.fragment,t),g=!1},d(t){t&&(p(s),p(l)),b(c,t)}}}function L4(q){let s,$,l,c,g,t,v,Pf,Ms,dj="Below is the documentation for the <code>HfApi</code> class, which serves as a Python wrapper for the Hugging Face Hub’s API.",zf,qs,pj="All methods from the <code>HfApi</code> are also accessible from the package’s root directly. Both approaches are detailed below.",Of,Hs,gj=`Using the root method is more straightforward but the <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi">HfApi</a> class gives you more flexibility.
In particular, you can pass a token that will be reused in all HTTP calls. This is different
from <code>hf auth login</code> or <a href="/docs/huggingface_hub/main/en/package_reference/authentication#huggingface_hub.login">login()</a> as the token is not persisted on the machine.
It is also possible to provide a different endpoint or configure a custom user-agent.`,Qf,Is,Kf,Us,em,x,Cs,v_,sd,uj="Client to interact with the Hugging Face Hub via HTTP.",x_,rd,hj=`The client is initialized with some high-level settings used in all requests
made to the Hub (HF endpoint, authentication, user agents…). Using the <code>HfApi</code>
client is preferred but not mandatory as all of its public methods are exposed
directly at the root of <code>huggingface_hub</code>.`,w_,Ce,Js,$_,id,fj="Accept an access request from a user for a given gated repo.",k_,cd,mj=`Once the request is accepted, the user will be able to download any file of the repo and access the community
tab. If the approval mode is automatic, you don’t have to accept requests manually. An accepted request can be
cancelled or rejected at any time using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.cancel_access_request">cancel_access_request()</a> and <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.reject_access_request">reject_access_request()</a>.`,j_,ld,_j='For more info about gated repos, see <a href="https://huggingface.co/docs/hub/models-gated" rel="nofollow">https://huggingface.co/docs/hub/models-gated</a>.',T_,Je,As,M_,dd,bj="Add an item to a collection on the Hub.",q_,pd,yj='Returns: <a href="/docs/huggingface_hub/main/en/package_reference/collections#huggingface_hub.Collection">Collection</a>',H_,_o,I_,Gt,Ns,U_,gd,vj="Adds or updates a secret in a Space.",C_,ud,xj=`Secrets allow to set secret keys or tokens to a Space without hardcoding them.
For more details, see <a href="https://huggingface.co/docs/hub/spaces-overview#managing-secrets" rel="nofollow">https://huggingface.co/docs/hub/spaces-overview#managing-secrets</a>.`,J_,Zt,Es,A_,hd,wj="Adds or updates a variable in a Space.",N_,fd,$j=`Variables allow to set environment variables to a Space without hardcoding them.
For more details, see <a href="https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables" rel="nofollow">https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables</a>`,E_,Z,Rs,R_,md,kj="Check if the provided user token has access to a specific repository on the Hugging Face Hub.",D_,_d,jj=`This method verifies whether the user, authenticated via the provided token, has access to the specified
repository. If the repository is not found or if the user lacks the required permissions to access it,
the method raises an appropriate exception.`,G_,bd,Tj="Example:",Z_,bo,F_,yd,Mj="In this example:",S_,vd,qj=`<li>If the user has access, the method completes successfully.</li> <li>If the repository is gated or does not exist, appropriate exceptions are raised, allowing the user
to handle them accordingly.</li>`,W_,Ae,Ds,L_,xd,Hj="Cancel an access request from a user for a given gated repo.",B_,wd,Ij="A cancelled request will go back to the pending list and the user will lose access to the repo.",V_,$d,Uj='For more info about gated repos, see <a href="https://huggingface.co/docs/hub/models-gated" rel="nofollow">https://huggingface.co/docs/hub/models-gated</a>.',Y_,yo,Gs,X_,kd,Cj="Cancel a compute Job on Hugging Face infrastructure.",P_,Ne,Zs,z_,jd,Jj="Closes or re-opens a Discussion or Pull Request.",O_,vo,Q_,Fs,Aj=`<p>Raises the following errors:</p> <ul><li><a href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError" rel="nofollow"><code>HTTPError</code></a>
if the HuggingFace API returned an error</li> <li><a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>
if some parameter value is invalid</li> <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,
or because it is set to <code>private</code> and you do not have access.</li></ul>`,K_,Ee,Ss,eb,Td,Nj="Creates a new comment on the given Discussion.",tb,xo,nb,Ws,Ej=`<p>Raises the following errors:</p> <ul><li><a href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError" rel="nofollow"><code>HTTPError</code></a>
if the HuggingFace API returned an error</li> <li><a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>
if some parameter value is invalid</li> <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,
or because it is set to <code>private</code> and you do not have access.</li></ul>`,ob,wo,Ls,ab,Md,Rj=`Create a new branch for a repo on the Hub, starting from the specified revision (defaults to <code>main</code>).
To find a revision suiting your needs, you can use <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_repo_refs">list_repo_refs()</a> or <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_repo_commits">list_repo_commits()</a>.`,sb,Re,Bs,rb,qd,Dj="Create a new Collection on the Hub.",ib,Hd,Gj='Returns: <a href="/docs/huggingface_hub/main/en/package_reference/collections#huggingface_hub.Collection">Collection</a>',cb,$o,lb,le,Vs,db,Id,Zj="Creates a commit in the given repo, deleting & uploading files as needed.",pb,Ys,Fj=`<p>The input list of <code>CommitOperation</code> will be mutated during the commit process. Do not reuse the same objects
for multiple commits.</p>`,gb,Xs,Sj=`<p><code>create_commit</code> assumes that the repo already exists on the Hub. If you get a
Client error 404, please make sure you are authenticated and that <code>repo_id</code> and
<code>repo_type</code> are set correctly. If repo does not exist, create it first using
<a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_repo">create_repo()</a>.</p>`,ub,Ps,Wj="<p><code>create_commit</code> is limited to 25k LFS files and a 1GB payload for regular files.</p>",hb,W,zs,fb,Ud,Lj="Creates a Discussion or Pull Request.",mb,Cd,Bj="Pull Requests created programmatically will be in <code>&quot;draft&quot;</code> status.",_b,Jd,Vj='Creating a Pull Request with changes can also be done at once with <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">HfApi.create_commit()</a>.',bb,Ad,Yj='Returns: <a href="/docs/huggingface_hub/main/en/package_reference/community#huggingface_hub.DiscussionWithDetails">DiscussionWithDetails</a>',yb,Os,Xj=`<p>Raises the following errors:</p> <ul><li><a href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError" rel="nofollow"><code>HTTPError</code></a>
if the HuggingFace API returned an error</li> <li><a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>
if some parameter value is invalid</li> <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,
or because it is set to <code>private</code> and you do not have access.</li></ul>`,vb,de,Qs,xb,Nd,Pj="Create a new Inference Endpoint.",wb,ko,$b,jo,kb,To,jb,De,Ks,Tb,Ed,zj="Create a new Inference Endpoint from a model in the Hugging Face Inference Catalog.",Mb,Rd,Oj=`The goal of the Inference Catalog is to provide a curated list of models that are optimized for inference
and for which default configurations have been tested. See <a href="https://endpoints.huggingface.co/catalog" rel="nofollow">https://endpoints.huggingface.co/catalog</a> for a list
of available models in the catalog.`,qb,er,Qj=`<p><code>create_inference_endpoint_from_catalog</code> is experimental. Its API is subject to change in the future. Please provide feedback
if you have any suggestions or requests.</p>`,Hb,L,tr,Ib,Dd,Kj="Creates a Pull Request . Pull Requests created programmatically will be in <code>&quot;draft&quot;</code> status.",Ub,Gd,eT='Creating a Pull Request with changes can also be done at once with <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">HfApi.create_commit()</a>;',Cb,Zd,tT='This is a wrapper around <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_discussion">HfApi.create_discussion()</a>.',Jb,Fd,nT='Returns: <a href="/docs/huggingface_hub/main/en/package_reference/community#huggingface_hub.DiscussionWithDetails">DiscussionWithDetails</a>',Ab,nr,oT=`<p>Raises the following errors:</p> <ul><li><a href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError" rel="nofollow"><code>HTTPError</code></a>
if the HuggingFace API returned an error</li> <li><a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>
if some parameter value is invalid</li> <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,
or because it is set to <code>private</code> and you do not have access.</li></ul>`,Nb,Mo,or,Eb,Sd,aT="Create an empty repo on the HuggingFace Hub.",Rb,B,ar,Db,Wd,sT="Create scheduled compute Jobs on Hugging Face infrastructure.",Gb,Ld,rT="Example:",Zb,qo,Fb,Ho,Sb,Io,Wb,V,sr,Lb,Bd,iT="Run a UV script Job on Hugging Face infrastructure.",Bb,Vd,cT="Example:",Vb,Uo,Yb,Co,Xb,Jo,Pb,Ao,rr,zb,Yd,lT="Tag a given commit of a repo on the Hub.",Ob,D,ir,Qb,Xd,dT="Create a new webhook.",Kb,Pd,pT=`The webhook can either send a payload to a URL, or trigger a Job to run on Hugging Face infrastructure.
This function should be called with one of <code>url</code> or <code>job_id</code>, but not both.`,ey,zd,gT="Example:",ty,Od,uT="Create a webhook that sends a payload to a URL",ny,No,oy,Qd,hT="Run a Job and then create a webhook that triggers this Job",ay,Eo,sy,Ge,cr,ry,Kd,fT="Get info on one specific dataset on huggingface.co.",iy,ep,mT="Dataset can be private if you pass an acceptable token.",cy,lr,_T=`<p>Raises the following errors:</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,
or because it is set to <code>private</code> and you do not have access.</li> <li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li></ul>`,ly,Ro,dr,dy,tp,bT="Delete a branch from a repo on the Hub.",py,Ze,pr,gy,np,yT="Delete a collection on the Hub.",uy,Do,hy,gr,vT="<p>This is a non-revertible action. A deleted collection cannot be restored.</p>",fy,Ft,ur,my,op,xT="Delete an item from a collection.",_y,Go,by,St,hr,yy,ap,wT="Deletes a file in the given repo.",vy,fr,$T=`<p>Raises the following errors:</p> <ul><li><a href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError" rel="nofollow"><code>HTTPError</code></a>
if the HuggingFace API returned an error</li> <li><a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>
if some parameter value is invalid</li> <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,
or because it is set to <code>private</code> and you do not have access.</li> <li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li> <li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.EntryNotFoundError">EntryNotFoundError</a>
If the file to download cannot be found.</li></ul>`,xy,Wt,mr,wy,sp,kT="Delete files from a repository on the Hub.",$y,rp,jT=`If a folder path is provided, the entire folder is deleted as well as
all files it contained.`,ky,Lt,_r,jy,ip,TT="Deletes a folder in the given repo.",Ty,cp,MT='Simple wrapper around <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">create_commit()</a> method.',My,Fe,br,qy,lp,qT="Delete an Inference Endpoint.",Hy,dp,HT=`This operation is not reversible. If you don’t want to be charged for an Inference Endpoint, it is preferable
to pause it with <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.pause_inference_endpoint">pause_inference_endpoint()</a> or scale it to zero with <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.scale_to_zero_inference_endpoint">scale_to_zero_inference_endpoint()</a>.`,Iy,pp,IT='For convenience, you can also delete an Inference Endpoint using <a href="/docs/huggingface_hub/main/en/package_reference/inference_endpoints#huggingface_hub.InferenceEndpoint.delete">InferenceEndpoint.delete()</a>.',Uy,Zo,yr,Cy,gp,UT="Delete a repo from the HuggingFace Hub. CAUTION: this is irreversible.",Jy,Fo,vr,Ay,up,CT="Delete a scheduled compute Job on Hugging Face infrastructure.",Ny,Bt,xr,Ey,hp,JT="Deletes a secret from a Space.",Ry,fp,AT=`Secrets allow to set secret keys or tokens to a Space without hardcoding them.
For more details, see <a href="https://huggingface.co/docs/hub/spaces-overview#managing-secrets" rel="nofollow">https://huggingface.co/docs/hub/spaces-overview#managing-secrets</a>.`,Dy,So,wr,Gy,mp,NT="Delete persistent storage for a Space.",Zy,Vt,$r,Fy,_p,ET="Deletes a variable from a Space.",Sy,bp,RT=`Variables allow to set environment variables to a Space without hardcoding them.
For more details, see <a href="https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables" rel="nofollow">https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables</a>`,Wy,Wo,kr,Ly,yp,DT="Delete a tag from a repo on the Hub.",By,Yt,jr,Vy,vp,GT="Delete a webhook.",Yy,Lo,Xy,Xt,Tr,Py,xp,ZT="Disable a webhook (makes it “disabled”).",zy,Bo,Oy,Se,Mr,Qy,wp,FT="Duplicate a Space.",Ky,$p,ST=`Programmatically duplicate a Space. The new Space will be created in your account and will be in the same state
as the original Space (running or paused). You can duplicate a Space no matter the current state of a Space.`,ev,Vo,tv,Pt,qr,nv,kp,WT="Edits a comment on a Discussion / Pull Request.",ov,Hr,LT=`<p>Raises the following errors:</p> <ul><li><a href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError" rel="nofollow"><code>HTTPError</code></a>
if the HuggingFace API returned an error</li> <li><a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>
if some parameter value is invalid</li> <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,
or because it is set to <code>private</code> and you do not have access.</li></ul>`,av,zt,Ir,sv,jp,BT="Enable a webhook (makes it “active”).",rv,Yo,iv,Ot,Ur,cv,Tp,VT="Fetch all the logs from a compute Job on Hugging Face infrastructure.",lv,Xo,dv,Qt,Cr,pv,Mp,YT="Checks if a file exists in a repository on the Hugging Face Hub.",gv,Po,uv,We,Jr,hv,qp,XT="Gets information about a Collection on the Hub.",fv,Hp,PT='Returns: <a href="/docs/huggingface_hub/main/en/package_reference/collections#huggingface_hub.Collection">Collection</a>',mv,zo,_v,Oo,Ar,bv,Ip,zT="List all valid dataset tags as a nested namespace object.",yv,Le,Nr,vv,Up,OT="Fetches a Discussion’s / Pull Request ‘s details from the Hub.",xv,Cp,QT='Returns: <a href="/docs/huggingface_hub/main/en/package_reference/community#huggingface_hub.DiscussionWithDetails">DiscussionWithDetails</a>',wv,Er,KT=`<p>Raises the following errors:</p> <ul><li><a href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError" rel="nofollow"><code>HTTPError</code></a>
if the HuggingFace API returned an error</li> <li><a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>
if some parameter value is invalid</li> <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,
or because it is set to <code>private</code> and you do not have access.</li></ul>`,$v,Qo,Rr,kv,Jp,e0=`Returns the repository name for a given model ID and optional
organization.`,jv,Ko,Dr,Tv,Ap,t0="Fetch metadata of a file versioned on the Hub for a given url.",Mv,Kt,Gr,qv,Np,n0="Get information about an Inference Endpoint.",Hv,ea,Iv,ta,Zr,Uv,Ep,o0="List all valid model tags as a nested namespace object",Cv,na,Fr,Jv,Rp,a0="Get an overview of an organization on the Hub.",Av,en,Sr,Nv,Dp,s0="Get information about a repo’s paths.",Ev,oa,Rv,pe,Wr,Dv,Gp,r0="Fetches Discussions and Pull Requests for the given repo.",Gv,Zp,i0="Example:",Zv,aa,Fv,sa,Sv,Y,Lr,Wv,Fp,c0="Parse metadata for a safetensors repo on the Hub.",Lv,Sp,l0=`We first check if the repo has a single safetensors file or a sharded safetensors repo. If it’s a single
safetensors file, we parse the metadata from this file. If it’s a sharded safetensors repo, we parse the
metadata from the index file and then parse the metadata from each shard.`,Bv,Wp,d0='To parse metadata from a single safetensors file, use <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.parse_safetensors_file_metadata">parse_safetensors_file_metadata()</a>.',Vv,Lp,p0='For more details regarding the safetensors format, check out <a href="https://huggingface.co/docs/safetensors/index#format" rel="nofollow">https://huggingface.co/docs/safetensors/index#format</a>.',Yv,ra,Xv,ia,Br,Pv,Bp,g0="Gets runtime information about a Space.",zv,tn,Vr,Ov,Vp,u0="Gets all variables from a Space.",Qv,Yp,h0=`Variables allow to set environment variables to a Space without hardcoding them.
For more details, see <a href="https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables" rel="nofollow">https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables</a>`,Kv,ca,Yr,ex,Xp,f0="Get an overview of a user on the Hub.",tx,nn,Xr,nx,Pp,m0="Get a webhook by its id.",ox,la,ax,Be,Pr,sx,zp,_0="Grant access to a user for a given gated repo.",rx,Op,b0=`Granting access don’t require for the user to send an access request by themselves. The user is automatically
added to the accepted list meaning they can download the files You can revoke the granted access at any time
using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.cancel_access_request">cancel_access_request()</a> or <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.reject_access_request">reject_access_request()</a>.`,ix,Qp,y0='For more info about gated repos, see <a href="https://huggingface.co/docs/hub/models-gated" rel="nofollow">https://huggingface.co/docs/hub/models-gated</a>.',cx,X,zr,lx,Kp,v0="Download a given file if it’s not already present in the local cache.",dx,eg,x0="The new cache file layout looks like this:",px,tg,w0=`<li>The cache directory contains one subfolder per repo_id (namespaced by repo type)</li> <li>inside each repo folder:
<ul><li>refs is a list of the latest known revision =&gt; commit_hash pairs</li> <li>blobs contains the actual file blobs (identified by their git-sha or sha256, depending on
whether they’re LFS files or not)</li> <li>snapshots contains one subfolder per commit, each “commit” contains the subset of the files
that have been resolved at that particular commit. Each filename is a symlink to the blob
at that particular commit.</li></ul></li>`,gx,da,ux,ng,$0=`If <code>local_dir</code> is provided, the file structure from the repo will be replicated in this location. When using this
option, the <code>cache_dir</code> will not be used and a <code>.cache/huggingface/</code> folder will be created at the root of <code>local_dir</code>
to store some metadata related to the downloaded files. While this mechanism is not as robust as the main
cache-system, it’s optimized for regularly pulling the latest version of a repository.`,hx,Ve,Or,fx,og,k0="Hides a comment on a Discussion / Pull Request.",mx,Qr,j0="<p>Hidden comments’ content cannot be retrieved anymore. Hiding a comment is irreversible.</p>",_x,Kr,T0=`<p>Raises the following errors:</p> <ul><li><a href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError" rel="nofollow"><code>HTTPError</code></a>
if the HuggingFace API returned an error</li> <li><a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>
if some parameter value is invalid</li> <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,
or because it is set to <code>private</code> and you do not have access.</li></ul>`,bx,on,ei,yx,ag,M0="Inspect a compute Job on Hugging Face infrastructure.",vx,pa,xx,an,ti,wx,sg,q0="Inspect a scheduled compute Job on Hugging Face infrastructure.",$x,ga,kx,ge,ni,jx,rg,H0="Get accepted access requests for a given gated repo.",Tx,ig,I0=`An accepted request means the user has requested access to the repo and the request has been accepted. The user
can download any file of the repo. If the approval mode is automatic, this list should contains by default all
requests. Accepted requests can be cancelled or rejected at any time using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.cancel_access_request">cancel_access_request()</a> and
<a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.reject_access_request">reject_access_request()</a>. A cancelled request will go back to the pending list while a rejected request will
go to the rejected list. In both cases, the user will lose access to the repo.`,Mx,cg,U0='For more info about gated repos, see <a href="https://huggingface.co/docs/hub/models-gated" rel="nofollow">https://huggingface.co/docs/hub/models-gated</a>.',qx,ua,Hx,sn,oi,Ix,lg,C0="List collections on the Huggingface Hub, given some filters.",Ux,ai,J0=`<p>When listing collections, the item list per collection is truncated to 4 items maximum. To retrieve all items
from a collection, you must use <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.get_collection">get_collection()</a>.</p>`,Cx,Ye,si,Jx,dg,A0="List datasets hosted on the Huggingface Hub, given some filters.",Ax,ha,Nx,fa,Ex,ue,ri,Rx,pg,N0="List models available in the Hugging Face Inference Catalog.",Dx,gg,E0=`The goal of the Inference Catalog is to provide a curated list of models that are optimized for inference
and for which default configurations have been tested. See <a href="https://endpoints.huggingface.co/catalog" rel="nofollow">https://endpoints.huggingface.co/catalog</a> for a list
of available models in the catalog.`,Gx,ug,R0='Use <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_inference_endpoint_from_catalog">create_inference_endpoint_from_catalog()</a> to deploy a model from the catalog.',Zx,ii,D0=`<p><code>list_inference_catalog</code> is experimental. Its API is subject to change in the future. Please provide feedback
if you have any suggestions or requests.</p>`,Fx,rn,ci,Sx,hg,G0="Lists all inference endpoints for the given namespace.",Wx,ma,Lx,_a,li,Bx,fg,Z0="List compute Jobs on Hugging Face infrastructure.",Vx,Xe,di,Yx,mg,F0="List all LFS files in a repo on the Hub.",Xx,_g,S0=`This is primarily useful to count how much storage a repo is using and to eventually clean up large files
with <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.permanently_delete_lfs_files">permanently_delete_lfs_files()</a>. Note that this would be a permanent action that will affect all commits
referencing this deleted files and that cannot be undone.`,Px,ba,zx,he,pi,Ox,bg,W0="List all public repos liked by a user on huggingface.co.",Qx,yg,L0=`This list is public so token is optional. If <code>user</code> is not passed, it defaults to
the logged in user.`,Kx,vg,B0='See also <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.unlike">unlike()</a>.',e2,ya,t2,cn,gi,n2,xg,V0="List models hosted on the Huggingface Hub, given some filters.",o2,va,a2,xa,ui,s2,wg,Y0="List followers of an organization on the Hub.",r2,wa,hi,i2,$g,X0="List of members of an organization on the Hub.",c2,ln,fi,l2,kg,P0="List daily papers on the Hugging Face Hub given a search query.",d2,$a,p2,fe,mi,g2,jg,z0="Get pending access requests for a given gated repo.",u2,Tg,O0=`A pending request means the user has requested access to the repo but the request has not been processed yet.
If the approval mode is automatic, this list should be empty. Pending requests can be accepted or rejected
using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.accept_access_request">accept_access_request()</a> and <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.reject_access_request">reject_access_request()</a>.`,h2,Mg,Q0='For more info about gated repos, see <a href="https://huggingface.co/docs/hub/models-gated" rel="nofollow">https://huggingface.co/docs/hub/models-gated</a>.',f2,ka,m2,me,_i,_2,qg,K0="Get rejected access requests for a given gated repo.",b2,Hg,eM=`A rejected request means the user has requested access to the repo and the request has been explicitly rejected
by a repo owner (either you or another user from your organization). The user cannot download any file of the
repo. Rejected requests can be accepted or cancelled at any time using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.accept_access_request">accept_access_request()</a> and
<a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.cancel_access_request">cancel_access_request()</a>. A cancelled request will go back to the pending list while an accepted request will
go to the accepted list.`,y2,Ig,tM='For more info about gated repos, see <a href="https://huggingface.co/docs/hub/models-gated" rel="nofollow">https://huggingface.co/docs/hub/models-gated</a>.',v2,ja,x2,Pe,bi,w2,Ug,nM="Get the list of commits of a given revision for a repo on the Hub.",$2,Cg,oM="Commits are sorted by date (last commit first).",k2,Ta,j2,Ma,yi,T2,Jg,aM="Get the list of files in a given repo.",M2,dn,vi,q2,Ag,sM="List all users who liked a given repo on the hugging Face Hub.",H2,Ng,rM='See also <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_liked_repos">list_liked_repos()</a>.',I2,pn,xi,U2,Eg,iM="Get the list of refs of a given repo (both tags and branches).",C2,qa,J2,F,wi,A2,Rg,cM="List a repo tree’s files and folders and get information about them.",N2,Dg,lM="Examples:",E2,Gg,dM="Get information about a repo’s tree.",R2,Ha,D2,Zg,pM="Get even more information about a repo’s tree (last commit and files’ security scan results)",G2,Ia,Z2,Ua,$i,F2,Fg,gM="List scheduled compute Jobs on Hugging Face infrastructure.",S2,Ca,ki,W2,Sg,uM="List spaces hosted on the Huggingface Hub, given some filters.",L2,Ja,ji,B2,Wg,hM="Get the list of followers of a user on the Hub.",V2,Aa,Ti,Y2,Lg,fM="Get the list of users followed by a user on the Hub.",X2,gn,Mi,P2,Bg,mM="List all configured webhooks.",z2,Na,O2,un,qi,Q2,Vg,_M="Merges a Pull Request.",K2,Hi,bM=`<p>Raises the following errors:</p> <ul><li><a href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError" rel="nofollow"><code>HTTPError</code></a>
if the HuggingFace API returned an error</li> <li><a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>
if some parameter value is invalid</li> <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,
or because it is set to <code>private</code> and you do not have access.</li></ul>`,e1,ze,Ii,t1,Yg,yM="Get info on one specific model on huggingface.co",n1,Xg,vM="Model can be private if you pass an acceptable token or are logged in.",o1,Ui,xM=`<p>Raises the following errors:</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,
or because it is set to <code>private</code> and you do not have access.</li> <li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li></ul>`,a1,Oe,Ci,s1,Pg,wM="Moving a repository from namespace1/repo_name1 to namespace2/repo_name2",r1,zg,$M=`Note there are certain limitations. For more information about moving
repositories, please see
<a href="https://hf.co/docs/hub/repositories-settings#renaming-or-transferring-a-repo" rel="nofollow">https://hf.co/docs/hub/repositories-settings#renaming-or-transferring-a-repo</a>.`,i1,Ji,kM=`<p>Raises the following errors:</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,
or because it is set to <code>private</code> and you do not have access.</li></ul>`,c1,Ea,Ai,l1,Og,jM="Get information for a paper on the Hub.",d1,Qe,Ni,p1,Qg,TM="Parse metadata from a safetensors file on the Hub.",g1,Kg,MM='To parse metadata from all safetensors files in a repo at once, use <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.get_safetensors_metadata">get_safetensors_metadata()</a>.',u1,eu,qM='For more details regarding the safetensors format, check out <a href="https://huggingface.co/docs/safetensors/index#format" rel="nofollow">https://huggingface.co/docs/safetensors/index#format</a>.',h1,Ke,Ei,f1,tu,HM="Pause an Inference Endpoint.",m1,nu,IM=`A paused Inference Endpoint will not be charged. It can be resumed at any time using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.resume_inference_endpoint">resume_inference_endpoint()</a>.
This is different than scaling the Inference Endpoint to zero with <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.scale_to_zero_inference_endpoint">scale_to_zero_inference_endpoint()</a>, which
would be automatically restarted when a request is made to it.`,_1,ou,UM='For convenience, you can also pause an Inference Endpoint using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.pause_inference_endpoint">pause_inference_endpoint()</a>.',b1,et,Ri,y1,au,CM="Pause your Space.",v1,su,JM=`A paused Space stops executing until manually restarted by its owner. This is different from the sleeping
state in which free Spaces go after 48h of inactivity. Paused time is not billed to your account, no matter the
hardware you’ve selected. To restart your Space, use <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.restart_space">restart_space()</a> and go to your Space settings page.`,x1,ru,AM='For more details, please visit <a href="https://huggingface.co/docs/hub/spaces-gpus#pause" rel="nofollow">the docs</a>.',w1,tt,Di,$1,iu,NM="Permanently delete LFS files from a repo on the Hub.",k1,Gi,EM=`<p>This is a permanent action that will affect all commits referencing the deleted files and might corrupt your
repository. This is a non-revertible operation. Use it only if you know what you are doing.</p>`,j1,Ra,T1,P,Zi,M1,cu,RM="Pre-upload LFS files to S3 in preparation on a future commit.",q1,lu,DM=`This method is useful if you are generating the files to upload on-the-fly and you don’t want to store them
in memory before uploading them all at once.`,H1,Fi,GM=`<p>This is a power-user method. You shouldn’t need to call it directly to make a normal commit.
Use <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">create_commit()</a> directly instead.</p>`,I1,Si,ZM=`<p>Commit operations will be mutated during the process. In particular, the attached <code>path_or_fileobj</code> will be
removed after the upload to save memory (and replaced by an empty <code>bytes</code> object). Do not reuse the same
objects except to pass them to <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">create_commit()</a>. If you don’t want to remove the attached content from the
commit operation object, pass <code>free_memory=False</code>.</p>`,U1,Da,C1,nt,Wi,J1,du,FM="Reject an access request from a user for a given gated repo.",A1,pu,SM=`A rejected request will go to the rejected list. The user cannot download any file of the repo. Rejected
requests can be accepted or cancelled at any time using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.accept_access_request">accept_access_request()</a> and <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.cancel_access_request">cancel_access_request()</a>.
A cancelled request will go back to the pending list while an accepted request will go to the accepted list.`,N1,gu,WM='For more info about gated repos, see <a href="https://huggingface.co/docs/hub/models-gated" rel="nofollow">https://huggingface.co/docs/hub/models-gated</a>.',E1,ot,Li,R1,uu,LM="Renames a Discussion.",D1,Ga,G1,Bi,BM=`<p>Raises the following errors:</p> <ul><li><a href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError" rel="nofollow"><code>HTTPError</code></a>
if the HuggingFace API returned an error</li> <li><a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>
if some parameter value is invalid</li> <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,
or because it is set to <code>private</code> and you do not have access.</li></ul>`,Z1,hn,Vi,F1,hu,VM="Checks if a repository exists on the Hugging Face Hub.",S1,Za,W1,fn,Yi,L1,fu,YM="Get the info object for a given repo of a given type.",B1,Xi,XM=`<p>Raises the following errors:</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,
or because it is set to <code>private</code> and you do not have access.</li> <li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li></ul>`,V1,mn,Pi,Y1,mu,PM="Request new hardware for a Space.",X1,zi,zM='<p>It is also possible to request hardware directly when creating the Space repo! See <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_repo">create_repo()</a> for details.</p>',P1,_n,Oi,z1,_u,OM="Request persistent storage for a Space.",O1,Qi,QM=`<p>It is not possible to decrease persistent storage after its granted. To do so, you must delete it
via <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.delete_space_storage">delete_space_storage()</a>.</p>`,Q1,at,Ki,K1,bu,KM="Restart your Space.",ew,yu,eq=`This is the only way to programmatically restart a Space if you’ve put it on Pause (see <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.pause_space">pause_space()</a>). You
must be the owner of the Space to restart it. If you are using an upgraded hardware, your account will be
billed as soon as the Space is restarted. You can trigger a restart no matter the current state of a Space.`,tw,vu,tq='For more details, please visit <a href="https://huggingface.co/docs/hub/spaces-gpus#pause" rel="nofollow">the docs</a>.',nw,bn,ec,ow,xu,nq="Resume an Inference Endpoint.",aw,wu,oq='For convenience, you can also resume an Inference Endpoint using <a href="/docs/huggingface_hub/main/en/package_reference/inference_endpoints#huggingface_hub.InferenceEndpoint.resume">InferenceEndpoint.resume()</a>.',sw,Fa,tc,rw,$u,aq="Resume (unpause) a scheduled compute Job on Hugging Face infrastructure.",iw,yn,nc,cw,ku,sq="Checks if a specific revision exists on a repo on the Hugging Face Hub.",lw,Sa,dw,_e,oc,pw,ju,rq="Run a method in the background and return a Future instance.",gw,Tu,iq=`The main goal is to run methods without blocking the main thread (e.g. to push data during a training).
Background jobs are queued to preserve order but are not ran in parallel. If you need to speed-up your scripts
by parallelizing lots of call to the API, you must setup and use your own <a href="https://docs.python.org/3/library/concurrent.futures.html#threadpoolexecutor" rel="nofollow">ThreadPoolExecutor</a>.`,uw,Mu,cq=`Note: Most-used methods like <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.upload_file">upload_file()</a>, <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.upload_folder">upload_folder()</a> and <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">create_commit()</a> have a <code>run_as_future: bool</code>
argument to directly call them in the background. This is equivalent to calling <code>api.run_as_future(...)</code> on them
but less verbose.`,hw,Wa,fw,be,ac,mw,qu,lq="Run compute Jobs on Hugging Face infrastructure.",_w,Hu,dq="Example:",bw,La,yw,Ba,vw,z,sc,xw,Iu,pq="Run a UV script Job on Hugging Face infrastructure.",ww,Uu,gq="Example:",$w,Va,kw,Ya,jw,Xa,Tw,st,rc,Mw,Cu,uq="Scale Inference Endpoint to zero.",qw,Ju,hq=`An Inference Endpoint scaled to zero will not be charged. It will be resume on the next request to it, with a
cold start delay. This is different than pausing the Inference Endpoint with <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.pause_inference_endpoint">pause_inference_endpoint()</a>, which
would require a manual resume with <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.resume_inference_endpoint">resume_inference_endpoint()</a>.`,Hw,Au,fq='For convenience, you can also scale an Inference Endpoint to zero using <a href="/docs/huggingface_hub/main/en/package_reference/inference_endpoints#huggingface_hub.InferenceEndpoint.scale_to_zero">InferenceEndpoint.scale_to_zero()</a>.',Iw,rt,ic,Uw,Nu,mq="Set a custom sleep time for a Space running on upgraded hardware..",Cw,Eu,_q=`Your Space will go to sleep after X seconds of inactivity. You are not billed when your Space is in “sleep”
mode. If a new visitor lands on your Space, it will “wake it up”. Only upgraded hardware can have a
configurable sleep time. To know more about the sleep stage, please refer to
<a href="https://huggingface.co/docs/hub/spaces-gpus#sleep-time" rel="nofollow">https://huggingface.co/docs/hub/spaces-gpus#sleep-time</a>.`,Jw,cc,bq='<p>It is also possible to set a custom sleep time when requesting hardware with <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.request_space_hardware">request_space_hardware()</a>.</p>',Aw,ye,lc,Nw,Ru,yq="Download repo files.",Ew,Du,vq=`Download a whole snapshot of a repo’s files at the specified revision. This is useful when you want all files from
a repo, because you don’t know which ones you will need a priori. All files are nested inside a folder in order
to keep their actual filename relative to that folder. You can also filter which files to download using
<code>allow_patterns</code> and <code>ignore_patterns</code>.`,Rw,Gu,xq=`If <code>local_dir</code> is provided, the file structure from the repo will be replicated in this location. When using this
option, the <code>cache_dir</code> will not be used and a <code>.cache/huggingface/</code> folder will be created at the root of <code>local_dir</code>
to store some metadata related to the downloaded files.While this mechanism is not as robust as the main
cache-system, it’s optimized for regularly pulling the latest version of a repository.`,Dw,Zu,wq=`An alternative would be to clone the repo but this requires git and git-lfs to be installed and properly
configured. It is also not possible to filter which files to download when cloning a repository using git.`,Gw,it,dc,Zw,Fu,$q="Get info on one specific Space on huggingface.co.",Fw,Su,kq="Space can be private if you pass an acceptable token.",Sw,pc,jq=`<p>Raises the following errors:</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,
or because it is set to <code>private</code> and you do not have access.</li> <li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li></ul>`,Ww,O,gc,Lw,Wu,Tq="Squash commit history on a branch for a repo on the Hub.",Bw,Lu,Mq=`Squashing the repo history is useful when you know you’ll make hundreds of commits and you don’t want to
clutter the history. Squashing commits can only be performed from the head of a branch.`,Vw,uc,qq="<p>Once squashed, the commit history cannot be retrieved. This is a non-revertible operation.</p>",Yw,hc,Hq=`<p>Once the history of a branch has been squashed, it is not possible to merge it back into another branch since
their history will have diverged.</p>`,Xw,Pa,Pw,za,fc,zw,Bu,Iq="Suspend (pause) a scheduled compute Job on Hugging Face infrastructure.",Ow,ve,mc,Qw,Vu,Uq="Unlike a given repo on the Hub (e.g. remove from favorite list).",Kw,Yu,Cq="To prevent spam usage, it is not possible to <code>like</code> a repository from a script.",e$,Xu,Jq='See also <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_liked_repos">list_liked_repos()</a>.',t$,Oa,n$,vn,_c,o$,Pu,Aq="Update an item in a collection.",a$,Qa,s$,xe,bc,r$,zu,Nq="Update metadata of a collection on the Hub.",i$,Ou,Eq="All arguments are optional. Only provided metadata will be updated.",c$,Qu,Rq='Returns: <a href="/docs/huggingface_hub/main/en/package_reference/collections#huggingface_hub.Collection">Collection</a>',l$,Ka,d$,ct,yc,p$,Ku,Dq="Update an Inference Endpoint.",g$,eh,Gq=`This method allows the update of either the compute configuration, the deployed model, the route, or any combination.
All arguments are optional but at least one must be provided.`,u$,th,Zq='For convenience, you can also update an Inference Endpoint using <a href="/docs/huggingface_hub/main/en/package_reference/inference_endpoints#huggingface_hub.InferenceEndpoint.update">InferenceEndpoint.update()</a>.',h$,xn,vc,f$,nh,Fq="Update the settings of a repository, including gated access and visibility.",m$,oh,Sq=`To give more control over how repos are used, the Hub allows repo authors to enable
access requests for their repos, and also to set the visibility of the repo to private.`,_$,wn,xc,b$,ah,Wq="Update an existing webhook.",y$,es,v$,we,wc,x$,sh,Lq=`Upload a local file (up to 50 GB) to the given repo. The upload is done
through a HTTP post request, and doesn’t require git or git-lfs to be
installed.`,w$,$c,Bq=`<p>Raises the following errors:</p> <ul><li><a href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError" rel="nofollow"><code>HTTPError</code></a>
if the HuggingFace API returned an error</li> <li><a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>
if some parameter value is invalid</li> <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,
or because it is set to <code>private</code> and you do not have access.</li> <li><a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li></ul>`,$$,kc,Vq=`<p><code>upload_file</code> assumes that the repo already exists on the Hub. If you get a
Client error 404, please make sure you are authenticated and that <code>repo_id</code> and
<code>repo_type</code> are set correctly. If repo does not exist, create it first using
<a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_repo">create_repo()</a>.</p>`,k$,ts,j$,J,jc,T$,rh,Yq=`Upload a local folder to the given repo. The upload is done through a HTTP requests, and doesn’t require git or
git-lfs to be installed.`,M$,ih,Xq=`The structure of the folder will be preserved. Files with the same name already present in the repository will
be overwritten. Others will be left untouched.`,q$,ch,Pq=`Use the <code>allow_patterns</code> and <code>ignore_patterns</code> arguments to specify which files to upload. These parameters
accept either a single pattern or a list of patterns. Patterns are Standard Wildcards (globbing patterns) as
documented <a href="https://tldp.org/LDP/GNU-Linux-Tools-Summary/html/x11655.htm" rel="nofollow">here</a>. If both <code>allow_patterns</code> and
<code>ignore_patterns</code> are provided, both constraints apply. By default, all files from the folder are uploaded.`,H$,lh,zq=`Use the <code>delete_patterns</code> argument to specify remote files you want to delete. Input type is the same as for
<code>allow_patterns</code> (see above). If <code>path_in_repo</code> is also provided, the patterns are matched against paths
relative to this folder. For example, <code>upload_folder(..., path_in_repo=&quot;experiment&quot;, delete_patterns=&quot;logs/*&quot;)</code>
will delete any remote file under <code>./experiment/logs/</code>. Note that the <code>.gitattributes</code> file will not be deleted
even if it matches the patterns.`,I$,dh,Oq=`Any <code>.git/</code> folder present in any subdirectory will be ignored. However, please be aware that the <code>.gitignore</code>
file is not taken into account.`,U$,ph,Qq="Uses <code>HfApi.create_commit</code> under the hood.",C$,Tc,Kq=`<p>Raises the following errors:</p> <ul><li><a href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError" rel="nofollow"><code>HTTPError</code></a>
if the HuggingFace API returned an error</li> <li><a href="https://docs.python.org/3/library/exceptions.html#ValueError" rel="nofollow"><code>ValueError</code></a>
if some parameter value is invalid</li></ul>`,J$,Mc,eH=`<p><code>upload_folder</code> assumes that the repo already exists on the Hub. If you get a Client error 404, please make
sure you are authenticated and that <code>repo_id</code> and <code>repo_type</code> are set correctly. If repo does not exist, create
it first using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_repo">create_repo()</a>.</p>`,A$,qc,tH='<p>When dealing with a large folder (thousands of files or hundreds of GB), we recommend using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.upload_large_folder">upload_large_folder()</a> instead.</p>',N$,ns,E$,C,Hc,R$,gh,nH="Upload a large folder to the Hub in the most resilient way possible.",D$,uh,oH=`Several workers are started to upload files in an optimized way. Before being committed to a repo, files must be
hashed and be pre-uploaded if they are LFS files. Workers will perform these tasks for each file in the folder.
At each step, some metadata information about the upload process is saved in the folder under <code>.cache/.huggingface/</code>
to be able to resume the process if interrupted. The whole process might result in several commits.`,G$,Ic,aH='<p>A few things to keep in mind:</p> <ul><li>Repository limits still apply: <a href="https://huggingface.co/docs/hub/repositories-recommendations" rel="nofollow">https://huggingface.co/docs/hub/repositories-recommendations</a></li> <li>Do not start several processes in parallel.</li> <li>You can interrupt and resume the process at any time.</li> <li>Do not upload the same folder to several repositories. If you need to do so, you must delete the local <code>.cache/.huggingface/</code> folder first.</li></ul>',Z$,Uc,sH='<p>While being much more robust to upload large folders, <code>upload_large_folder</code> is more limited than <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.upload_folder">upload_folder()</a> feature-wise. In practice:</p> <ul><li>you cannot set a custom <code>path_in_repo</code>. If you want to upload to a subfolder, you need to set the proper structure locally.</li> <li>you cannot set a custom <code>commit_message</code> and <code>commit_description</code> since multiple commits are created.</li> <li>you cannot delete from the repo while uploading. Please make a separate commit first.</li> <li>you cannot create a PR directly. Please create a PR first (from the UI or using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_pull_request">create_pull_request()</a>) and then commit to it by passing <code>revision</code>.</li></ul>',F$,hh,rH="<strong>Technical details:</strong>",S$,fh,iH="<code>upload_large_folder</code> process is as follow:",W$,mh,cH=`<li>(Check parameters and setup.)</li> <li>Create repo if missing.</li> <li>List local files to upload.</li> <li>Run validation checks and display warnings if repository limits might be exceeded:
<ul><li>Warns if the total number of files exceeds 100k (recommended limit).</li> <li>Warns if any folder contains more than 10k files (recommended limit).</li> <li>Warns about files larger than 20GB (recommended) or 50GB (hard limit).</li></ul></li> <li>Start workers. Workers can perform the following tasks:
<ul><li>Hash a file.</li> <li>Get upload mode (regular or LFS) for a list of files.</li> <li>Pre-upload an LFS file.</li> <li>Commit a bunch of files.
Once a worker finishes a task, it will move on to the next task based on the priority list (see below) until
all files are uploaded and committed.</li></ul></li> <li>While workers are up, regularly print a report to sys.stdout.</li>`,L$,_h,lH="Order of priority:",B$,bh,dH="<li>Commit if more than 5 minutes since last commit attempt (and at least 1 file).</li> <li>Commit if at least 150 files are ready to commit.</li> <li>Get upload mode if at least 10 files have been hashed.</li> <li>Pre-upload LFS file if at least 1 file and no worker is pre-uploading.</li> <li>Hash file if at least 1 file and no worker is hashing.</li> <li>Get upload mode if at least 1 file and no worker is getting upload mode.</li> <li>Pre-upload LFS file if at least 1 file.</li> <li>Hash file if at least 1 file to hash.</li> <li>Get upload mode if at least 1 file to get upload mode.</li> <li>Commit if at least 1 file to commit and at least 1 min since last commit attempt.</li> <li>Commit if at least 1 file to commit and all other queues are empty.</li>",V$,yh,pH="Special rules:",Y$,vh,gH="<li>Only one worker can commit at a time.</li> <li>If no tasks are available, the worker waits for 10 seconds before checking again.</li>",X$,os,Cc,P$,xh,uH="Verify local files for a repo against Hub checksums.",z$,as,Jc,O$,wh,hH="Call HF API to know “whoami”.",tm,Ac,nm,Nc,om,Gn,Ec,Q$,$h,fH="Data structure containing information about a user access request.",am,Rc,sm,ut,Dc,K$,kh,mH="Data structure containing information about a newly created commit.",ek,jh,_H=`Returned by any method that creates a commit on the Hub: <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">create_commit()</a>, <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.upload_file">upload_file()</a>, <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.upload_folder">upload_folder()</a>,
<a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.delete_file">delete_file()</a>, <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.delete_folder">delete_folder()</a>. It inherits from <code>str</code> for backward compatibility but using methods specific
to <code>str</code> is deprecated.`,rm,Gc,im,ht,Zc,tk,Th,bH='Contains information about a dataset on the Hub. This object is returned by <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.dataset_info">dataset_info()</a> and <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_datasets">list_datasets()</a>.',nk,Fc,yH=`<p>Most attributes of this class are optional. This is because the data returned by the Hub depends on the query made.
In general, the more specific the query, the more information is returned. On the contrary, when listing datasets
using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_datasets">list_datasets()</a> only a subset of the attributes are returned.</p>`,cm,Sc,lm,ft,Wc,ok,Mh,vH="Information returned when performing a dry run of a file download.",ak,qh,xH='Returned by <a href="/docs/huggingface_hub/main/en/package_reference/file_download#huggingface_hub.hf_hub_download">hf_hub_download()</a> when <code>dry_run=True</code>.',dm,Lc,pm,Zn,Bc,sk,Hh,wH="Contains information about a git reference for a repo on the Hub.",gm,Vc,um,Fn,Yc,rk,Ih,$H='Contains information about a git commit for a repo on the Hub. Check out <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_repo_commits">list_repo_commits()</a> for more details.',hm,Xc,fm,mt,Pc,ik,Uh,kH="Contains information about all git references for a repo on the Hub.",ck,Ch,jH='Object is returned by <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_repo_refs">list_repo_refs()</a>.',mm,zc,_m,Oc,Qc,bm,Kc,ym,K,el,lk,Jh,TH="Contains information about a file stored as LFS on a repo on the Hub.",dk,Ah,MH=`Used in the context of listing and permanently deleting LFS files from a repo to free-up space.
See <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_lfs_files">list_lfs_files()</a> and <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.permanently_delete_lfs_files">permanently_delete_lfs_files()</a> for more details.`,pk,Nh,qH=`Git LFS files are tracked using SHA-256 object IDs, rather than file paths, to optimize performance
This approach is necessary because a single object can be referenced by multiple paths across different commits,
making it impractical to search and resolve these connections. Check out <a href="https://huggingface.co/docs/hub/storage-limits#advanced-track-lfs-file-references" rel="nofollow">our documentation</a>
to learn how to know which filename(s) is(are) associated with each SHA.`,gk,ss,vm,tl,xm,_t,nl,uk,Eh,HH='Contains information about a model on the Hub. This object is returned by <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.model_info">model_info()</a> and <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_models">list_models()</a>.',hk,ol,IH=`<p>Most attributes of this class are optional. This is because the data returned by the Hub depends on the query made.
In general, the more specific the query, the more information is returned. On the contrary, when listing models
using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_models">list_models()</a> only a subset of the attributes are returned.</p>`,wm,al,$m,bt,sl,fk,Rh,UH="Contains basic information about a repo file inside a repo on the Hub.",mk,rl,CH=`<p>All attributes of this class are optional except <code>rfilename</code>. This is because only the file names are returned when
listing repositories on the Hub (with <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_models">list_models()</a>, <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_datasets">list_datasets()</a> or <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_spaces">list_spaces()</a>). If you need more
information like file size, blob id or lfs details, you must request them specifically from one repo at a time
(using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.model_info">model_info()</a>, <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.dataset_info">dataset_info()</a> or <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.space_info">space_info()</a>) as it adds more constraints on the backend server to
retrieve these.</p>`,km,il,jm,Sn,cl,_k,Dh,JH="Contains information about a file on the Hub.",Tm,ll,Mm,ee,dl,bk,Gh,AH="Subclass of <code>str</code> describing a repo URL on the Hub.",yk,Zh,NH=`<code>RepoUrl</code> is returned by <code>HfApi.create_repo</code>. It inherits from <code>str</code> for backward
compatibility. At initialization, the URL is parsed to populate properties:`,vk,Fh,EH="<li>endpoint (<code>str</code>)</li> <li>namespace (<code>Optional[str]</code>)</li> <li>repo_name (<code>str</code>)</li> <li>repo_id (<code>str</code>)</li> <li>repo_type (<code>Literal[&quot;model&quot;, &quot;dataset&quot;, &quot;space&quot;]</code>)</li> <li>url (<code>str</code>)</li>",xk,rs,qm,pl,Hm,te,gl,wk,Sh,RH="Metadata for a Safetensors repo.",$k,Wh,DH=`A repo is considered to be a Safetensors repo if it contains either a ‘model.safetensors’ weight file (non-shared
model) or a ‘model.safetensors.index.json’ index file (sharded model) at its root.`,kk,Lh,GH='This class is returned by <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.get_safetensors_metadata">get_safetensors_metadata()</a>.',jk,Bh,ZH='For more details regarding the safetensors format, check out <a href="https://huggingface.co/docs/safetensors/index#format" rel="nofollow">https://huggingface.co/docs/safetensors/index#format</a>.',Im,ul,Um,ke,hl,Tk,Vh,FH="Metadata for a Safetensors file hosted on the Hub.",Mk,Yh,SH='This class is returned by <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.parse_safetensors_file_metadata">parse_safetensors_file_metadata()</a>.',qk,Xh,WH='For more details regarding the safetensors format, check out <a href="https://huggingface.co/docs/safetensors/index#format" rel="nofollow">https://huggingface.co/docs/safetensors/index#format</a>.',Cm,fl,Jm,yt,ml,Hk,Ph,LH='Contains information about a Space on the Hub. This object is returned by <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.space_info">space_info()</a> and <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_spaces">list_spaces()</a>.',Ik,_l,BH=`<p>Most attributes of this class are optional. This is because the data returned by the Hub depends on the query made.
In general, the more specific the query, the more information is returned. On the contrary, when listing spaces
using <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_spaces">list_spaces()</a> only a subset of the attributes are returned.</p>`,Am,bl,Nm,vt,yl,Uk,zh,VH="Information about a tensor.",Ck,Oh,YH='For more details regarding the safetensors format, check out <a href="https://huggingface.co/docs/safetensors/index#format" rel="nofollow">https://huggingface.co/docs/safetensors/index#format</a>.',Em,vl,Rm,Wn,xl,Jk,Qh,XH="Contains information about a user on the Hub.",Dm,wl,Gm,Ln,$l,Ak,Kh,PH="Contains information about a user likes on the Hub.",Zm,kl,Fm,xt,jl,Nk,ef,zH="Data structure containing information about a webhook.",Ek,tf,OH="One of <code>url</code> or <code>job</code> is specified, but not both.",Sm,Tl,Wm,Bn,Ml,Rk,nf,QH="Data structure containing information about the items watched by a webhook.",Lm,ql,Bm,Hl,KH="Below are the supported values for <code>CommitOperation()</code>:",Vm,je,Il,Dk,of,eI="Data structure holding necessary info to upload a file to a repository on the Hub.",Gk,$n,Ul,Zk,af,tI=`A context manager that yields a file-like object allowing to read the underlying
data behind <code>path_or_fileobj</code>.`,Fk,is,Sk,kn,Cl,Wk,sf,nI="The base64-encoded content of <code>path_or_fileobj</code>",Lk,rf,oI="Returns: <code>bytes</code>",Ym,Vn,Jl,Bk,cf,aI=`Data structure holding necessary info to delete a file or a folder from a repository
on the Hub.`,Xm,ne,Al,Vk,lf,sI="Data structure holding necessary info to copy a file in a repository on the Hub.",Yk,df,rI="Limitations:",Xk,pf,iI="<li>Only LFS files can be copied. To copy a regular file, you need to download it locally and re-upload it</li> <li>Cross-repository copies are not supported.</li>",Pk,gf,cI='Note: you can combine a <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitOperationCopy">CommitOperationCopy</a> and a <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitOperationDelete">CommitOperationDelete</a> to rename an LFS file on the Hub.',Pm,Nl,zm,R,El,zk,uf,lI="Scheduler to upload a local folder to the Hub at regular intervals (e.g. push to hub every 5 minutes).",Ok,hf,dI=`The recommended way to use the scheduler is to use it as a context manager. This ensures that the scheduler is
properly stopped and the last commit is triggered when the script ends. The scheduler can also be stopped manually
with the <code>stop</code> method. Checkout the <a href="https://huggingface.co/docs/huggingface_hub/guides/upload#scheduled-uploads" rel="nofollow">upload guide</a>
to learn more about how to use it.`,Qk,cs,Kk,ls,ej,lt,Rl,tj,ff,pI="Push folder to the Hub and return the commit info.",nj,Dl,gI=`<p>This method is not meant to be called directly. It is run in the background by the scheduler, respecting a
queue mechanism to avoid concurrent commits. Making a direct call to the method might lead to concurrency
issues.</p>`,oj,mf,uI=`The default behavior of <code>push_to_hub</code> is to assume an append-only folder. It lists all files in the folder and
uploads only changed files. If no changes are found, the method returns without committing anything. If you want
to change this behavior, you can inherit from <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitScheduler">CommitScheduler</a> and override this method. This can be useful
for example to compress data together in a single file before committing. For more details and examples, check
out our <a href="https://huggingface.co/docs/huggingface_hub/main/en/guides/upload#scheduled-uploads" rel="nofollow">integration guide</a>.`,aj,jn,Gl,sj,_f,hI="Stop the scheduler.",rj,bf,fI="A stopped scheduler cannot be restarted. Mostly for tests purposes.",ij,Tn,Zl,cj,yf,mI="Trigger a <code>push_to_hub</code> and return a future.",lj,vf,_I=`This method is automatically called every <code>every</code> minutes. You can also call it manually to trigger a commit
immediately, without waiting for the next scheduled commit.`,Om,Fl,Qm,Xf,Km;return g=new kI({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),v=new A({props:{title:"HfApi Client",local:"hfapi-client",headingTag:"h1"}}),Is=new H({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTJDJTIwbGlzdF9tb2RlbHMlMEElMEElMjMlMjBVc2UlMjByb290JTIwbWV0aG9kJTBBbW9kZWxzJTIwJTNEJTIwbGlzdF9tb2RlbHMoKSUwQSUwQSUyMyUyME9yJTIwY29uZmlndXJlJTIwYSUyMEhmQXBpJTIwY2xpZW50JTBBaGZfYXBpJTIwJTNEJTIwSGZBcGkoJTBBJTIwJTIwJTIwJTIwZW5kcG9pbnQlM0QlMjJodHRwcyUzQSUyRiUyRmh1Z2dpbmdmYWNlLmNvJTIyJTJDJTIwJTIzJTIwQ2FuJTIwYmUlMjBhJTIwUHJpdmF0ZSUyMEh1YiUyMGVuZHBvaW50LiUwQSUyMCUyMCUyMCUyMHRva2VuJTNEJTIyaGZfeHh4JTIyJTJDJTIwJTIzJTIwVG9rZW4lMjBpcyUyMG5vdCUyMHBlcnNpc3RlZCUyMG9uJTIwdGhlJTIwbWFjaGluZS4lMEEpJTBBbW9kZWxzJTIwJTNEJTIwaGZfYXBpLmxpc3RfbW9kZWxzKCk=",highlighted:`<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi, list_models

<span class="hljs-comment"># Use root method</span>
models = list_models()

<span class="hljs-comment"># Or configure a HfApi client</span>
hf_api = HfApi(
    endpoint=<span class="hljs-string">&quot;https://huggingface.co&quot;</span>, <span class="hljs-comment"># Can be a Private Hub endpoint.</span>
    token=<span class="hljs-string">&quot;hf_xxx&quot;</span>, <span class="hljs-comment"># Token is not persisted on the machine.</span>
)
models = hf_api.list_models()`,wrap:!1}}),Us=new A({props:{title:"HfApi",local:"huggingface_hub.HfApi",headingTag:"h2"}}),Cs=new M({props:{name:"class huggingface_hub.HfApi",anchor:"huggingface_hub.HfApi",parameters:[{name:"endpoint",val:": Optional[str] = None"},{name:"token",val:": Union[str, bool, None] = None"},{name:"library_name",val:": Optional[str] = None"},{name:"library_version",val:": Optional[str] = None"},{name:"user_agent",val:": Union[dict, str, None] = None"},{name:"headers",val:": Optional[dict[str, str]] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.endpoint",description:`<strong>endpoint</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Endpoint of the Hub. Defaults to <a href="https://huggingface.co" rel="nofollow">https://huggingface.co</a>.`,name:"endpoint"},{anchor:"huggingface_hub.HfApi.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.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. Example: <code>&quot;transformers&quot;</code>.`,name:"library_name"},{anchor:"huggingface_hub.HfApi.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. Example: <code>&quot;4.24.0&quot;</code>.`,name:"library_version"},{anchor:"huggingface_hub.HfApi.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"},{anchor:"huggingface_hub.HfApi.headers",description:`<strong>headers</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
Additional headers to be sent with each request. Example: <code>{&quot;X-My-Header&quot;: &quot;value&quot;}</code>.
Headers passed here are taking precedence over the default headers.`,name:"headers"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1649"}}),Js=new M({props:{name:"accept_access_request",anchor:"huggingface_hub.HfApi.accept_access_request",parameters:[{name:"repo_id",val:": str"},{name:"user",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.accept_access_request.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The id of the repo to accept access request for.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.accept_access_request.user",description:`<strong>user</strong> (<code>str</code>) &#x2014;
The username of the user which access request should be accepted.`,name:"user"},{anchor:"huggingface_hub.HfApi.accept_access_request.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repo to accept access request for. Must be one of <code>model</code>, <code>dataset</code> or <code>space</code>.
Defaults to <code>model</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.accept_access_request.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8750",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 400 if the repo is not gated.</li>
<li><code>HfHubHTTPError</code> —
HTTP 403 if you only have read-only access to the repo. This can be the case if you don’t have <code>write</code>
or <code>admin</code> role in the organization the repo belongs to or if you passed a <code>read</code> token.</li>
<li><code>HfHubHTTPError</code> —
HTTP 404 if the user does not exist on the Hub.</li>
<li><code>HfHubHTTPError</code> —
HTTP 404 if the user access request cannot be found.</li>
<li><code>HfHubHTTPError</code> —
HTTP 404 if the user access request is already in the accepted list.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),As=new M({props:{name:"add_collection_item",anchor:"huggingface_hub.HfApi.add_collection_item",parameters:[{name:"collection_slug",val:": str"},{name:"item_id",val:": str"},{name:"item_type",val:": CollectionItemType_T"},{name:"note",val:": Optional[str] = None"},{name:"exists_ok",val:": bool = False"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.add_collection_item.collection_slug",description:`<strong>collection_slug</strong> (<code>str</code>) &#x2014;
Slug of the collection to update. Example: <code>&quot;TheBloke/recent-models-64f9a55bb3115b4f513ec026&quot;</code>.`,name:"collection_slug"},{anchor:"huggingface_hub.HfApi.add_collection_item.item_id",description:`<strong>item_id</strong> (<code>str</code>) &#x2014;
ID of the item to add to the collection. It can be the ID of a repo on the Hub (e.g. <code>&quot;facebook/bart-large-mnli&quot;</code>)
or a paper id (e.g. <code>&quot;2307.09288&quot;</code>).`,name:"item_id"},{anchor:"huggingface_hub.HfApi.add_collection_item.item_type",description:`<strong>item_type</strong> (<code>str</code>) &#x2014;
Type of the item to add. Can be one of <code>&quot;model&quot;</code>, <code>&quot;dataset&quot;</code>, <code>&quot;space&quot;</code> or <code>&quot;paper&quot;</code>.`,name:"item_type"},{anchor:"huggingface_hub.HfApi.add_collection_item.note",description:`<strong>note</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A note to attach to the item in the collection. The maximum size for a note is 500 characters.`,name:"note"},{anchor:"huggingface_hub.HfApi.add_collection_item.exists_ok",description:`<strong>exists_ok</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If <code>True</code>, do not raise an error if item already exists.`,name:"exists_ok"},{anchor:"huggingface_hub.HfApi.add_collection_item.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8302",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 403 if you only have read-only access to the repo. This can be the case if you don’t have <code>write</code>
or <code>admin</code> role in the organization the repo belongs to or if you passed a <code>read</code> token.</li>
<li><code>HfHubHTTPError</code> —
HTTP 404 if the item you try to add to the collection does not exist on the Hub.</li>
<li><code>HfHubHTTPError</code> —
HTTP 409 if the item you try to add to the collection is already in the collection (and exists_ok=False)</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),_o=new I({props:{anchor:"huggingface_hub.HfApi.add_collection_item.example",$$slots:{default:[TI]},$$scope:{ctx:q}}}),Ns=new M({props:{name:"add_space_secret",anchor:"huggingface_hub.HfApi.add_space_secret",parameters:[{name:"repo_id",val:": str"},{name:"key",val:": str"},{name:"value",val:": str"},{name:"description",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.add_space_secret.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
ID of the repo to update. Example: <code>&quot;bigcode/in-the-stack&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.add_space_secret.key",description:`<strong>key</strong> (<code>str</code>) &#x2014;
Secret key. Example: <code>&quot;GITHUB_API_KEY&quot;</code>`,name:"key"},{anchor:"huggingface_hub.HfApi.add_space_secret.value",description:`<strong>value</strong> (<code>str</code>) &#x2014;
Secret value. Example: <code>&quot;your_github_api_key&quot;</code>.`,name:"value"},{anchor:"huggingface_hub.HfApi.add_space_secret.description",description:`<strong>description</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Secret description. Example: <code>&quot;Github API key to access the Github API&quot;</code>.`,name:"description"},{anchor:"huggingface_hub.HfApi.add_space_secret.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6770"}}),Es=new M({props:{name:"add_space_variable",anchor:"huggingface_hub.HfApi.add_space_variable",parameters:[{name:"repo_id",val:": str"},{name:"key",val:": str"},{name:"value",val:": str"},{name:"description",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.add_space_variable.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
ID of the repo to update. Example: <code>&quot;bigcode/in-the-stack&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.add_space_variable.key",description:`<strong>key</strong> (<code>str</code>) &#x2014;
Variable key. Example: <code>&quot;MODEL_REPO_ID&quot;</code>`,name:"key"},{anchor:"huggingface_hub.HfApi.add_space_variable.value",description:`<strong>value</strong> (<code>str</code>) &#x2014;
Variable value. Example: <code>&quot;the_model_repo_id&quot;</code>.`,name:"value"},{anchor:"huggingface_hub.HfApi.add_space_variable.description",description:`<strong>description</strong> (<code>str</code>) &#x2014;
Description of the variable. Example: <code>&quot;Model Repo ID of the implemented model&quot;</code>.`,name:"description"},{anchor:"huggingface_hub.HfApi.add_space_variable.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6859"}}),Rs=new M({props:{name:"auth_check",anchor:"huggingface_hub.HfApi.auth_check",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.auth_check.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository to check for access. Format should be <code>&quot;user/repo_name&quot;</code>.
Example: <code>&quot;user/my-cool-model&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.auth_check.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repository. Should be one of <code>&quot;model&quot;</code>, <code>&quot;dataset&quot;</code>, or <code>&quot;space&quot;</code>.
If not specified, the default is <code>&quot;model&quot;</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.auth_check.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9780",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li>
<p><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
Raised if the repository does not exist, is private, or the user does not have access. This can
occur if the <code>repo_id</code> or <code>repo_type</code> is incorrect or if the repository is private but the user
is not authenticated.</p>
</li>
<li>
<p><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.GatedRepoError"
>GatedRepoError</a> —
Raised if the repository exists but is gated and the user is not authorized to access it.</p>
</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.GatedRepoError"
>GatedRepoError</a></p>
`}}),bo=new I({props:{anchor:"huggingface_hub.HfApi.auth_check.example",$$slots:{default:[MI]},$$scope:{ctx:q}}}),Ds=new M({props:{name:"cancel_access_request",anchor:"huggingface_hub.HfApi.cancel_access_request",parameters:[{name:"repo_id",val:": str"},{name:"user",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.cancel_access_request.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The id of the repo to cancel access request for.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.cancel_access_request.user",description:`<strong>user</strong> (<code>str</code>) &#x2014;
The username of the user which access request should be cancelled.`,name:"user"},{anchor:"huggingface_hub.HfApi.cancel_access_request.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repo to cancel access request for. Must be one of <code>model</code>, <code>dataset</code> or <code>space</code>.
Defaults to <code>model</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.cancel_access_request.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8710",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 400 if the repo is not gated.</li>
<li><code>HfHubHTTPError</code> —
HTTP 403 if you only have read-only access to the repo. This can be the case if you don’t have <code>write</code>
or <code>admin</code> role in the organization the repo belongs to or if you passed a <code>read</code> token.</li>
<li><code>HfHubHTTPError</code> —
HTTP 404 if the user does not exist on the Hub.</li>
<li><code>HfHubHTTPError</code> —
HTTP 404 if the user access request cannot be found.</li>
<li><code>HfHubHTTPError</code> —
HTTP 404 if the user access request is already in the pending list.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),Gs=new M({props:{name:"cancel_job",anchor:"huggingface_hub.HfApi.cancel_job",parameters:[{name:"job_id",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.cancel_job.job_id",description:`<strong>job_id</strong> (<code>str</code>) &#x2014;
ID of the Job.`,name:"job_id"},{anchor:"huggingface_hub.HfApi.cancel_job.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the Job is running. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.cancel_job.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L10101"}}),Zs=new M({props:{name:"change_discussion_status",anchor:"huggingface_hub.HfApi.change_discussion_status",parameters:[{name:"repo_id",val:": str"},{name:"discussion_num",val:": int"},{name:"new_status",val:": Literal['open', 'closed']"},{name:"token",val:": Union[bool, str, None] = None"},{name:"comment",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.change_discussion_status.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.change_discussion_status.discussion_num",description:`<strong>discussion_num</strong> (<code>int</code>) &#x2014;
The number of the Discussion or Pull Request . Must be a strictly positive integer.`,name:"discussion_num"},{anchor:"huggingface_hub.HfApi.change_discussion_status.new_status",description:`<strong>new_status</strong> (<code>str</code>) &#x2014;
The new status for the discussion, either <code>&quot;open&quot;</code> or <code>&quot;closed&quot;</code>.`,name:"new_status"},{anchor:"huggingface_hub.HfApi.change_discussion_status.comment",description:`<strong>comment</strong> (<code>str</code>, <em>optional</em>) &#x2014;
An optional comment to post with the status change.`,name:"comment"},{anchor:"huggingface_hub.HfApi.change_discussion_status.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.change_discussion_status.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6525",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>the status change event</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/community#huggingface_hub.DiscussionStatusChange"
>DiscussionStatusChange</a></p>
`}}),vo=new I({props:{anchor:"huggingface_hub.HfApi.change_discussion_status.example",$$slots:{default:[qI]},$$scope:{ctx:q}}}),Ss=new M({props:{name:"comment_discussion",anchor:"huggingface_hub.HfApi.comment_discussion",parameters:[{name:"repo_id",val:": str"},{name:"discussion_num",val:": int"},{name:"comment",val:": str"},{name:"token",val:": Union[bool, str, None] = None"},{name:"repo_type",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.comment_discussion.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.comment_discussion.discussion_num",description:`<strong>discussion_num</strong> (<code>int</code>) &#x2014;
The number of the Discussion or Pull Request . Must be a strictly positive integer.`,name:"discussion_num"},{anchor:"huggingface_hub.HfApi.comment_discussion.comment",description:`<strong>comment</strong> (<code>str</code>) &#x2014;
The content of the comment to create. Comments support markdown formatting.`,name:"comment"},{anchor:"huggingface_hub.HfApi.comment_discussion.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.comment_discussion.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6382",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>the newly created comment</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/community#huggingface_hub.DiscussionComment"
>DiscussionComment</a></p>
`}}),xo=new I({props:{anchor:"huggingface_hub.HfApi.comment_discussion.example",$$slots:{default:[HI]},$$scope:{ctx:q}}}),Ls=new M({props:{name:"create_branch",anchor:"huggingface_hub.HfApi.create_branch",parameters:[{name:"repo_id",val:": str"},{name:"branch",val:": str"},{name:"revision",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"exist_ok",val:": bool = False"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_branch.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository in which the branch will be created.
Example: <code>&quot;user/my-cool-model&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.create_branch.branch",description:`<strong>branch</strong> (<code>str</code>) &#x2014;
The name of the branch to create.`,name:"branch"},{anchor:"huggingface_hub.HfApi.create_branch.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision to create the branch from. It can be a branch name or
the OID/SHA of a commit, as a hexadecimal string. Defaults to the head
of the <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.create_branch.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.create_branch.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if creating a branch on a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if tagging a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.create_branch.exist_ok",description:`<strong>exist_ok</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
If <code>True</code>, do not raise an error if branch already exists.`,name:"exist_ok"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L5732",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If repository is not found (error 404): wrong repo_id/repo_type, private
but not authenticated or repo does not exist.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.BadRequestError"
>BadRequestError</a> —
If invalid reference for a branch. Ex: <code>refs/pr/5</code> or ‘refs/foo/bar’.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a> —
If the branch already exists on the repo (error 409) and <code>exist_ok</code> is
set to <code>False</code>.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.BadRequestError"
>BadRequestError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a></p>
`}}),Bs=new M({props:{name:"create_collection",anchor:"huggingface_hub.HfApi.create_collection",parameters:[{name:"title",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"description",val:": Optional[str] = None"},{name:"private",val:": bool = False"},{name:"exists_ok",val:": bool = False"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_collection.title",description:`<strong>title</strong> (<code>str</code>) &#x2014;
Title of the collection to create. Example: <code>&quot;Recent models&quot;</code>.`,name:"title"},{anchor:"huggingface_hub.HfApi.create_collection.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Namespace of the collection to create (username or org). Will default to the owner name.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.create_collection.description",description:`<strong>description</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Description of the collection to create.`,name:"description"},{anchor:"huggingface_hub.HfApi.create_collection.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether the collection should be private or not. Defaults to <code>False</code> (i.e. public collection).`,name:"private"},{anchor:"huggingface_hub.HfApi.create_collection.exists_ok",description:`<strong>exists_ok</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If <code>True</code>, do not raise an error if collection already exists.`,name:"exists_ok"},{anchor:"huggingface_hub.HfApi.create_collection.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8128"}}),$o=new I({props:{anchor:"huggingface_hub.HfApi.create_collection.example",$$slots:{default:[II]},$$scope:{ctx:q}}}),Vs=new M({props:{name:"create_commit",anchor:"huggingface_hub.HfApi.create_commit",parameters:[{name:"repo_id",val:": str"},{name:"operations",val:": Iterable[CommitOperation]"},{name:"commit_message",val:": str"},{name:"commit_description",val:": Optional[str] = None"},{name:"token",val:": Union[str, bool, None] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"create_pr",val:": Optional[bool] = None"},{name:"num_threads",val:": int = 5"},{name:"parent_commit",val:": Optional[str] = None"},{name:"run_as_future",val:": bool = False"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_commit.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository in which the commit will be created, for example:
<code>&quot;username/custom_transformers&quot;</code>`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.create_commit.operations",description:`<strong>operations</strong> (<code>Iterable</code> of <code>CommitOperation()</code>) &#x2014;
An iterable of operations to include in the commit, either:</p>
<ul>
<li><a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitOperationAdd">CommitOperationAdd</a> to upload a file</li>
<li><a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitOperationDelete">CommitOperationDelete</a> to delete a file</li>
<li><a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitOperationCopy">CommitOperationCopy</a> to copy a file</li>
</ul>
<p>Operation objects will be mutated to include information relative to the upload. Do not reuse the
same objects for multiple commits.`,name:"operations"},{anchor:"huggingface_hub.HfApi.create_commit.commit_message",description:`<strong>commit_message</strong> (<code>str</code>) &#x2014;
The summary (first line) of the commit that will be created.`,name:"commit_message"},{anchor:"huggingface_hub.HfApi.create_commit.commit_description",description:`<strong>commit_description</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The description of the commit that will be created`,name:"commit_description"},{anchor:"huggingface_hub.HfApi.create_commit.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.create_commit.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.create_commit.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision to commit from. Defaults to the head of the <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.create_commit.create_pr",description:`<strong>create_pr</strong> (<code>boolean</code>, <em>optional</em>) &#x2014;
Whether or not to create a Pull Request with that commit. Defaults to <code>False</code>.
If <code>revision</code> is not set, PR is opened against the <code>&quot;main&quot;</code> branch. If
<code>revision</code> is set and is a branch, PR is opened against this branch. If
<code>revision</code> is set and is not a branch name (example: a commit oid), an
<code>RevisionNotFoundError</code> is returned by the server.`,name:"create_pr"},{anchor:"huggingface_hub.HfApi.create_commit.num_threads",description:`<strong>num_threads</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of concurrent threads for uploading files. Defaults to 5.
Setting it to 2 means at most 2 files will be uploaded concurrently.`,name:"num_threads"},{anchor:"huggingface_hub.HfApi.create_commit.parent_commit",description:`<strong>parent_commit</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The OID / SHA of the parent commit, as a hexadecimal string.
Shorthands (7 first characters) are also supported. If specified and <code>create_pr</code> is <code>False</code>,
the commit will fail if <code>revision</code> does not point to <code>parent_commit</code>. If specified and <code>create_pr</code>
is <code>True</code>, the pull request will be created from <code>parent_commit</code>. Specifying <code>parent_commit</code>
ensures the repo has not changed before committing the changes, and can be especially useful
if the repo is updated / committed to concurrently.`,name:"parent_commit"},{anchor:"huggingface_hub.HfApi.create_commit.run_as_future",description:`<strong>run_as_future</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to run this method in the background. Background jobs are run sequentially without
blocking the main thread. Passing <code>run_as_future=True</code> will return a <a href="https://docs.python.org/3/library/concurrent.futures.html#future-objects" rel="nofollow">Future</a>
object. Defaults to <code>False</code>.`,name:"run_as_future"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L3960",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Instance of <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitInfo"
>CommitInfo</a> containing information about the newly created commit (commit hash, commit
url, pr url, commit message,…). If <code>run_as_future=True</code> is passed, returns a Future object which will
contain the result when executed.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitInfo"
>CommitInfo</a> or <code>Future</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If commit message is empty.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If parent commit is not a valid commit OID.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If a README.md file with an invalid metadata section is committed. In this case, the commit will fail
early, before trying to upload any file.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If <code>create_pr</code> is <code>True</code> and revision is neither <code>None</code> nor <code>"main"</code>.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If repository is not found (error 404): wrong repo_id/repo_type, private
but not authenticated or repo does not exist.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>ValueError</code> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a></p>
`}}),zs=new M({props:{name:"create_discussion",anchor:"huggingface_hub.HfApi.create_discussion",parameters:[{name:"repo_id",val:": str"},{name:"title",val:": str"},{name:"token",val:": Union[bool, str, None] = None"},{name:"description",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"pull_request",val:": bool = False"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_discussion.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.create_discussion.title",description:`<strong>title</strong> (<code>str</code>) &#x2014;
The title of the discussion. It can be up to 200 characters long,
and must be at least 3 characters long. Leading and trailing whitespaces
will be stripped.`,name:"title"},{anchor:"huggingface_hub.HfApi.create_discussion.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.create_discussion.description",description:`<strong>description</strong> (<code>str</code>, <em>optional</em>) &#x2014;
An optional description for the Pull Request.
Defaults to <code>&quot;Discussion opened with the huggingface_hub Python library&quot;</code>`,name:"description"},{anchor:"huggingface_hub.HfApi.create_discussion.pull_request",description:`<strong>pull_request</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to create a Pull Request or discussion. If <code>True</code>, creates a Pull Request.
If <code>False</code>, creates a discussion. Defaults to <code>False</code>.`,name:"pull_request"},{anchor:"huggingface_hub.HfApi.create_discussion.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6209"}}),Qs=new M({props:{name:"create_inference_endpoint",anchor:"huggingface_hub.HfApi.create_inference_endpoint",parameters:[{name:"name",val:": str"},{name:"repository",val:": str"},{name:"framework",val:": str"},{name:"accelerator",val:": str"},{name:"instance_size",val:": str"},{name:"instance_type",val:": str"},{name:"region",val:": str"},{name:"vendor",val:": str"},{name:"account_id",val:": Optional[str] = None"},{name:"min_replica",val:": int = 1"},{name:"max_replica",val:": int = 1"},{name:"scale_to_zero_timeout",val:": Optional[int] = None"},{name:"revision",val:": Optional[str] = None"},{name:"task",val:": Optional[str] = None"},{name:"custom_image",val:": Optional[dict] = None"},{name:"env",val:": Optional[dict[str, str]] = None"},{name:"secrets",val:": Optional[dict[str, str]] = None"},{name:"type",val:": InferenceEndpointType = <InferenceEndpointType.PROTECTED: 'protected'>"},{name:"domain",val:": Optional[str] = None"},{name:"path",val:": Optional[str] = None"},{name:"cache_http_responses",val:": Optional[bool] = None"},{name:"tags",val:": Optional[list[str]] = None"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_inference_endpoint.name",description:`<strong>name</strong> (<code>str</code>) &#x2014;
The unique name for the new Inference Endpoint.`,name:"name"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.repository",description:`<strong>repository</strong> (<code>str</code>) &#x2014;
The name of the model repository associated with the Inference Endpoint (e.g. <code>&quot;gpt2&quot;</code>).`,name:"repository"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.framework",description:`<strong>framework</strong> (<code>str</code>) &#x2014;
The machine learning framework used for the model (e.g. <code>&quot;custom&quot;</code>).`,name:"framework"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.accelerator",description:`<strong>accelerator</strong> (<code>str</code>) &#x2014;
The hardware accelerator to be used for inference (e.g. <code>&quot;cpu&quot;</code>).`,name:"accelerator"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.instance_size",description:`<strong>instance_size</strong> (<code>str</code>) &#x2014;
The size or type of the instance to be used for hosting the model (e.g. <code>&quot;x4&quot;</code>).`,name:"instance_size"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.instance_type",description:`<strong>instance_type</strong> (<code>str</code>) &#x2014;
The cloud instance type where the Inference Endpoint will be deployed (e.g. <code>&quot;intel-icl&quot;</code>).`,name:"instance_type"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.region",description:`<strong>region</strong> (<code>str</code>) &#x2014;
The cloud region in which the Inference Endpoint will be created (e.g. <code>&quot;us-east-1&quot;</code>).`,name:"region"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.vendor",description:`<strong>vendor</strong> (<code>str</code>) &#x2014;
The cloud provider or vendor where the Inference Endpoint will be hosted (e.g. <code>&quot;aws&quot;</code>).`,name:"vendor"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.account_id",description:`<strong>account_id</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The account ID used to link a VPC to a private Inference Endpoint (if applicable).`,name:"account_id"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.min_replica",description:`<strong>min_replica</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The minimum number of replicas (instances) to keep running for the Inference Endpoint. To enable
scaling to zero, set this value to 0 and adjust <code>scale_to_zero_timeout</code> accordingly. Defaults to 1.`,name:"min_replica"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.max_replica",description:`<strong>max_replica</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The maximum number of replicas (instances) to scale to for the Inference Endpoint. Defaults to 1.`,name:"max_replica"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.scale_to_zero_timeout",description:`<strong>scale_to_zero_timeout</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The duration in minutes before an inactive endpoint is scaled to zero, or no scaling to zero if
set to None and <code>min_replica</code> is not 0. Defaults to None.`,name:"scale_to_zero_timeout"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The specific model revision to deploy on the Inference Endpoint (e.g. <code>&quot;6c0e6080953db56375760c0471a8c5f2929baf11&quot;</code>).`,name:"revision"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.task",description:`<strong>task</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The task on which to deploy the model (e.g. <code>&quot;text-classification&quot;</code>).`,name:"task"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.custom_image",description:`<strong>custom_image</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
A custom Docker image to use for the Inference Endpoint. This is useful if you want to deploy an
Inference Endpoint running on the <code>text-generation-inference</code> (TGI) framework (see examples).`,name:"custom_image"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.env",description:`<strong>env</strong> (<code>dict[str, str]</code>, <em>optional</em>) &#x2014;
Non-secret environment variables to inject in the container environment.`,name:"env"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.secrets",description:`<strong>secrets</strong> (<code>dict[str, str]</code>, <em>optional</em>) &#x2014;
Secret values to inject in the container environment.`,name:"secrets"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.type",description:"<strong>type</strong> ([`InferenceEndpointType]<code>, *optional*) -- The type of the Inference Endpoint, which can be </code>&#x201C;protected&#x201D;<code>(default),</code>&#x201C;public&#x201D;<code>or</code>&#x201C;private&#x201D;`.",name:"type"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.domain",description:`<strong>domain</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The custom domain for the Inference Endpoint deployment, if setup the inference endpoint will be available at this domain (e.g. <code>&quot;my-new-domain.cool-website.woof&quot;</code>).`,name:"domain"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.path",description:`<strong>path</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The custom path to the deployed model, should start with a <code>/</code> (e.g. <code>&quot;/models/google-bert/bert-base-uncased&quot;</code>).`,name:"path"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.cache_http_responses",description:`<strong>cache_http_responses</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to cache HTTP responses from the Inference Endpoint. Defaults to <code>False</code>.`,name:"cache_http_responses"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.tags",description:`<strong>tags</strong> (<code>list[str]</code>, <em>optional</em>) &#x2014;
A list of tags to associate with the Inference Endpoint.`,name:"tags"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the Inference Endpoint will be created. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7380",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>information about the updated Inference Endpoint.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/inference_endpoints#huggingface_hub.InferenceEndpoint"
>InferenceEndpoint</a></p>
`}}),ko=new I({props:{anchor:"huggingface_hub.HfApi.create_inference_endpoint.example",$$slots:{default:[UI]},$$scope:{ctx:q}}}),jo=new I({props:{anchor:"huggingface_hub.HfApi.create_inference_endpoint.example-2",$$slots:{default:[CI]},$$scope:{ctx:q}}}),To=new I({props:{anchor:"huggingface_hub.HfApi.create_inference_endpoint.example-3",$$slots:{default:[JI]},$$scope:{ctx:q}}}),Ks=new M({props:{name:"create_inference_endpoint_from_catalog",anchor:"huggingface_hub.HfApi.create_inference_endpoint_from_catalog",parameters:[{name:"repo_id",val:": str"},{name:"name",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"},{name:"namespace",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_inference_endpoint_from_catalog.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The ID of the model in the catalog to deploy as an Inference Endpoint.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint_from_catalog.name",description:`<strong>name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The unique name for the new Inference Endpoint. If not provided, a random name will be generated.`,name:"name"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint_from_catalog.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).`,name:"token"},{anchor:"huggingface_hub.HfApi.create_inference_endpoint_from_catalog.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the Inference Endpoint will be created. Defaults to the current user&#x2019;s namespace.`,name:"namespace"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7609",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>information about the new Inference Endpoint.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/inference_endpoints#huggingface_hub.InferenceEndpoint"
>InferenceEndpoint</a></p>
`}}),tr=new M({props:{name:"create_pull_request",anchor:"huggingface_hub.HfApi.create_pull_request",parameters:[{name:"repo_id",val:": str"},{name:"title",val:": str"},{name:"token",val:": Union[bool, str, None] = None"},{name:"description",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_pull_request.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.create_pull_request.title",description:`<strong>title</strong> (<code>str</code>) &#x2014;
The title of the discussion. It can be up to 200 characters long,
and must be at least 3 characters long. Leading and trailing whitespaces
will be stripped.`,name:"title"},{anchor:"huggingface_hub.HfApi.create_pull_request.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.create_pull_request.description",description:`<strong>description</strong> (<code>str</code>, <em>optional</em>) &#x2014;
An optional description for the Pull Request.
Defaults to <code>&quot;Discussion opened with the huggingface_hub Python library&quot;</code>`,name:"description"},{anchor:"huggingface_hub.HfApi.create_pull_request.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6298"}}),or=new M({props:{name:"create_repo",anchor:"huggingface_hub.HfApi.create_repo",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Union[str, bool, None] = None"},{name:"private",val:": Optional[bool] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"exist_ok",val:": bool = False"},{name:"resource_group_id",val:": Optional[str] = None"},{name:"space_sdk",val:": Optional[str] = None"},{name:"space_hardware",val:": Optional[SpaceHardware] = None"},{name:"space_storage",val:": Optional[SpaceStorage] = None"},{name:"space_sleep_time",val:": Optional[int] = None"},{name:"space_secrets",val:": Optional[list[dict[str, str]]] = None"},{name:"space_variables",val:": Optional[list[dict[str, str]]] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_repo.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.create_repo.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.create_repo.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to make the repo private. If <code>None</code> (default), the repo will be public unless the organization&#x2019;s default is private. This value is ignored if the repo already exists.`,name:"private"},{anchor:"huggingface_hub.HfApi.create_repo.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.create_repo.exist_ok",description:`<strong>exist_ok</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
If <code>True</code>, do not raise an error if repo already exists.`,name:"exist_ok"},{anchor:"huggingface_hub.HfApi.create_repo.resource_group_id",description:`<strong>resource_group_id</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Resource group in which to create the repo. Resource groups is only available for Enterprise Hub organizations and
allow to define which members of the organization can access the resource. The ID of a resource group
can be found in the URL of the resource&#x2019;s page on the Hub (e.g. <code>&quot;66670e5163145ca562cb1988&quot;</code>).
To learn more about resource groups, see <a href="https://huggingface.co/docs/hub/en/security-resource-groups" rel="nofollow">https://huggingface.co/docs/hub/en/security-resource-groups</a>.`,name:"resource_group_id"},{anchor:"huggingface_hub.HfApi.create_repo.space_sdk",description:`<strong>space_sdk</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Choice of SDK to use if repo_type is &#x201C;space&#x201D;. Can be &#x201C;streamlit&#x201D;, &#x201C;gradio&#x201D;, &#x201C;docker&#x201D;, or &#x201C;static&#x201D;.`,name:"space_sdk"},{anchor:"huggingface_hub.HfApi.create_repo.space_hardware",description:`<strong>space_hardware</strong> (<code>SpaceHardware</code> or <code>str</code>, <em>optional</em>) &#x2014;
Choice of Hardware if repo_type is &#x201C;space&#x201D;. See <a href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceHardware">SpaceHardware</a> for a complete list.`,name:"space_hardware"},{anchor:"huggingface_hub.HfApi.create_repo.space_storage",description:`<strong>space_storage</strong> (<code>SpaceStorage</code> or <code>str</code>, <em>optional</em>) &#x2014;
Choice of persistent storage tier. Example: <code>&quot;small&quot;</code>. See <a href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceStorage">SpaceStorage</a> for a complete list.`,name:"space_storage"},{anchor:"huggingface_hub.HfApi.create_repo.space_sleep_time",description:`<strong>space_sleep_time</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of seconds of inactivity to wait before a Space is put to sleep. Set to <code>-1</code> if you don&#x2019;t want
your Space to sleep (default behavior for upgraded hardware). For free hardware, you can&#x2019;t configure
the sleep time (value is fixed to 48 hours of inactivity).
See <a href="https://huggingface.co/docs/hub/spaces-gpus#sleep-time" rel="nofollow">https://huggingface.co/docs/hub/spaces-gpus#sleep-time</a> for more details.`,name:"space_sleep_time"},{anchor:"huggingface_hub.HfApi.create_repo.space_secrets",description:`<strong>space_secrets</strong> (<code>list[dict[str, str]]</code>, <em>optional</em>) &#x2014;
A list of secret keys to set in your Space. Each item is in the form <code>{&quot;key&quot;: ..., &quot;value&quot;: ..., &quot;description&quot;: ...}</code> where description is optional.
For more details, see <a href="https://huggingface.co/docs/hub/spaces-overview#managing-secrets" rel="nofollow">https://huggingface.co/docs/hub/spaces-overview#managing-secrets</a>.`,name:"space_secrets"},{anchor:"huggingface_hub.HfApi.create_repo.space_variables",description:`<strong>space_variables</strong> (<code>list[dict[str, str]]</code>, <em>optional</em>) &#x2014;
A list of public environment variables to set in your Space. Each item is in the form <code>{&quot;key&quot;: ..., &quot;value&quot;: ..., &quot;description&quot;: ...}</code> where description is optional.
For more details, see <a href="https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables" rel="nofollow">https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables</a>.`,name:"space_variables"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L3595",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>URL to the newly created repo. Value is a subclass of <code>str</code> containing
attributes like <code>endpoint</code>, <code>repo_type</code> and <code>repo_id</code>.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.RepoUrl"
>RepoUrl</a></p>
`}}),ar=new M({props:{name:"create_scheduled_job",anchor:"huggingface_hub.HfApi.create_scheduled_job",parameters:[{name:"image",val:": str"},{name:"command",val:": list[str]"},{name:"schedule",val:": str"},{name:"suspend",val:": Optional[bool] = None"},{name:"concurrency",val:": Optional[bool] = None"},{name:"env",val:": Optional[dict[str, Any]] = None"},{name:"secrets",val:": Optional[dict[str, Any]] = None"},{name:"flavor",val:": Optional[SpaceHardware] = None"},{name:"timeout",val:": Optional[Union[int, float, str]] = None"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_scheduled_job.image",description:`<strong>image</strong> (<code>str</code>) &#x2014;
The Docker image to use.
Examples: <code>&quot;ubuntu&quot;</code>, <code>&quot;python:3.12&quot;</code>, <code>&quot;pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel&quot;</code>.
Example with an image from a Space: <code>&quot;hf.co/spaces/lhoestq/duckdb&quot;</code>.`,name:"image"},{anchor:"huggingface_hub.HfApi.create_scheduled_job.command",description:`<strong>command</strong> (<code>list[str]</code>) &#x2014;
The command to run. Example: <code>[&quot;echo&quot;, &quot;hello&quot;]</code>.`,name:"command"},{anchor:"huggingface_hub.HfApi.create_scheduled_job.schedule",description:`<strong>schedule</strong> (<code>str</code>) &#x2014;
One of &#x201C;@annually&#x201D;, &#x201C;@yearly&#x201D;, &#x201C;@monthly&#x201D;, &#x201C;@weekly&#x201D;, &#x201C;@daily&#x201D;, &#x201C;@hourly&#x201D;, or a
CRON schedule expression (e.g., &#x2018;0 9 * * 1&#x2019; for 9 AM every Monday).`,name:"schedule"},{anchor:"huggingface_hub.HfApi.create_scheduled_job.suspend",description:`<strong>suspend</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If True, the scheduled Job is suspended (paused).  Defaults to False.`,name:"suspend"},{anchor:"huggingface_hub.HfApi.create_scheduled_job.concurrency",description:`<strong>concurrency</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If True, multiple instances of this Job can run concurrently. Defaults to False.`,name:"concurrency"},{anchor:"huggingface_hub.HfApi.create_scheduled_job.env",description:`<strong>env</strong> (<code>dict[str, Any]</code>, <em>optional</em>) &#x2014;
Defines the environment variables for the Job.`,name:"env"},{anchor:"huggingface_hub.HfApi.create_scheduled_job.secrets",description:`<strong>secrets</strong> (<code>dict[str, Any]</code>, <em>optional</em>) &#x2014;
Defines the secret environment variables for the Job.`,name:"secrets"},{anchor:"huggingface_hub.HfApi.create_scheduled_job.flavor",description:`<strong>flavor</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Flavor for the hardware, as in Hugging Face Spaces. See <a href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceHardware">SpaceHardware</a> for possible values.
Defaults to <code>&quot;cpu-basic&quot;</code>.`,name:"flavor"},{anchor:"huggingface_hub.HfApi.create_scheduled_job.timeout",description:`<strong>timeout</strong> (<code>Union[int, float, str]</code>, <em>optional</em>) &#x2014;
Max duration for the Job: int/float with s (seconds, default), m (minutes), h (hours) or d (days).
Example: <code>300</code> or <code>&quot;5m&quot;</code> for 5 minutes.`,name:"timeout"},{anchor:"huggingface_hub.HfApi.create_scheduled_job.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the Job will be created. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.create_scheduled_job.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L10245"}}),qo=new I({props:{anchor:"huggingface_hub.HfApi.create_scheduled_job.example",$$slots:{default:[AI]},$$scope:{ctx:q}}}),Ho=new I({props:{anchor:"huggingface_hub.HfApi.create_scheduled_job.example-2",$$slots:{default:[NI]},$$scope:{ctx:q}}}),Io=new I({props:{anchor:"huggingface_hub.HfApi.create_scheduled_job.example-3",$$slots:{default:[EI]},$$scope:{ctx:q}}}),sr=new M({props:{name:"create_scheduled_uv_job",anchor:"huggingface_hub.HfApi.create_scheduled_uv_job",parameters:[{name:"script",val:": str"},{name:"script_args",val:": Optional[list[str]] = None"},{name:"schedule",val:": str"},{name:"suspend",val:": Optional[bool] = None"},{name:"concurrency",val:": Optional[bool] = None"},{name:"dependencies",val:": Optional[list[str]] = None"},{name:"python",val:": Optional[str] = None"},{name:"image",val:": Optional[str] = None"},{name:"env",val:": Optional[dict[str, Any]] = None"},{name:"secrets",val:": Optional[dict[str, Any]] = None"},{name:"flavor",val:": Optional[SpaceHardware] = None"},{name:"timeout",val:": Optional[Union[int, float, str]] = None"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"},{name:"_repo",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.script",description:`<strong>script</strong> (<code>str</code>) &#x2014;
Path or URL of the UV script, or a command.`,name:"script"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.script_args",description:`<strong>script_args</strong> (<code>list[str]</code>, <em>optional</em>) &#x2014;
Arguments to pass to the script, or a command.`,name:"script_args"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.schedule",description:`<strong>schedule</strong> (<code>str</code>) &#x2014;
One of &#x201C;@annually&#x201D;, &#x201C;@yearly&#x201D;, &#x201C;@monthly&#x201D;, &#x201C;@weekly&#x201D;, &#x201C;@daily&#x201D;, &#x201C;@hourly&#x201D;, or a
CRON schedule expression (e.g., &#x2018;0 9 * * 1&#x2019; for 9 AM every Monday).`,name:"schedule"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.suspend",description:`<strong>suspend</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If True, the scheduled Job is suspended (paused).  Defaults to False.`,name:"suspend"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.concurrency",description:`<strong>concurrency</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If True, multiple instances of this Job can run concurrently. Defaults to False.`,name:"concurrency"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.dependencies",description:`<strong>dependencies</strong> (<code>list[str]</code>, <em>optional</em>) &#x2014;
Dependencies to use to run the UV script.`,name:"dependencies"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.python",description:`<strong>python</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Use a specific Python version. Default is 3.12.`,name:"python"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.image",description:`<strong>image</strong> (<code>str</code>, <em>optional</em>, defaults to &#x201C;ghcr.io/astral-sh/uv &#x2014;python3.12-bookworm&#x201D;):
Use a custom Docker image with <code>uv</code> installed.`,name:"image"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.env",description:`<strong>env</strong> (<code>dict[str, Any]</code>, <em>optional</em>) &#x2014;
Defines the environment variables for the Job.`,name:"env"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.secrets",description:`<strong>secrets</strong> (<code>dict[str, Any]</code>, <em>optional</em>) &#x2014;
Defines the secret environment variables for the Job.`,name:"secrets"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.flavor",description:`<strong>flavor</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Flavor for the hardware, as in Hugging Face Spaces. See <a href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceHardware">SpaceHardware</a> for possible values.
Defaults to <code>&quot;cpu-basic&quot;</code>.`,name:"flavor"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.timeout",description:`<strong>timeout</strong> (<code>Union[int, float, str]</code>, <em>optional</em>) &#x2014;
Max duration for the Job: int/float with s (seconds, default), m (minutes), h (hours) or d (days).
Example: <code>300</code> or <code>&quot;5m&quot;</code> for 5 minutes.`,name:"timeout"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the Job will be created. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L10517"}}),Uo=new I({props:{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.example",$$slots:{default:[RI]},$$scope:{ctx:q}}}),Co=new I({props:{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.example-2",$$slots:{default:[DI]},$$scope:{ctx:q}}}),Jo=new I({props:{anchor:"huggingface_hub.HfApi.create_scheduled_uv_job.example-3",$$slots:{default:[GI]},$$scope:{ctx:q}}}),rr=new M({props:{name:"create_tag",anchor:"huggingface_hub.HfApi.create_tag",parameters:[{name:"repo_id",val:": str"},{name:"tag",val:": str"},{name:"tag_message",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"exist_ok",val:": bool = False"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_tag.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository in which a commit will be tagged.
Example: <code>&quot;user/my-cool-model&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.create_tag.tag",description:`<strong>tag</strong> (<code>str</code>) &#x2014;
The name of the tag to create.`,name:"tag"},{anchor:"huggingface_hub.HfApi.create_tag.tag_message",description:`<strong>tag_message</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The description of the tag to create.`,name:"tag_message"},{anchor:"huggingface_hub.HfApi.create_tag.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision to tag. It can be a branch name or the OID/SHA of a
commit, as a hexadecimal string. Shorthands (7 first characters) are
also supported. Defaults to the head of the <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.create_tag.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.create_tag.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if tagging a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if tagging a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.create_tag.exist_ok",description:`<strong>exist_ok</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
If <code>True</code>, do not raise an error if tag already exists.`,name:"exist_ok"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L5864",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If repository is not found (error 404): wrong repo_id/repo_type, private
but not authenticated or repo does not exist.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> —
If revision is not found (error 404) on the repo.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a> —
If the branch already exists on the repo (error 409) and <code>exist_ok</code> is
set to <code>False</code>.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a></p>
`}}),ir=new M({props:{name:"create_webhook",anchor:"huggingface_hub.HfApi.create_webhook",parameters:[{name:"url",val:": Optional[str] = None"},{name:"job_id",val:": Optional[str] = None"},{name:"watched",val:": list[Union[dict, WebhookWatchedItem]]"},{name:"domains",val:": Optional[list[constants.WEBHOOK_DOMAIN_T]] = None"},{name:"secret",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_webhook.url",description:`<strong>url</strong> (<code>str</code>) &#x2014;
URL to send the payload to.`,name:"url"},{anchor:"huggingface_hub.HfApi.create_webhook.job_id",description:`<strong>job_id</strong> (<code>str</code>) &#x2014;
ID of the source Job to trigger with the webhook payload in the environment variable WEBHOOK_PAYLOAD.
Additional environment variables are available for convenience: WEBHOOK_REPO_ID, WEBHOOK_REPO_TYPE and WEBHOOK_SECRET.`,name:"job_id"},{anchor:"huggingface_hub.HfApi.create_webhook.watched",description:`<strong>watched</strong> (<code>list[WebhookWatchedItem]</code>) &#x2014;
List of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.WebhookWatchedItem">WebhookWatchedItem</a> to be watched by the webhook. It can be users, orgs, models, datasets or spaces.
Watched items can also be provided as plain dictionaries.`,name:"watched"},{anchor:"huggingface_hub.HfApi.create_webhook.domains",description:`<strong>domains</strong> (<code>list[Literal[&quot;repo&quot;, &quot;discussion&quot;]]</code>, optional) &#x2014;
List of domains to watch. It can be &#x201C;repo&#x201D;, &#x201C;discussion&#x201D; or both.`,name:"domains"},{anchor:"huggingface_hub.HfApi.create_webhook.secret",description:`<strong>secret</strong> (<code>str</code>, optional) &#x2014;
A secret to sign the payload with.`,name:"secret"},{anchor:"huggingface_hub.HfApi.create_webhook.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved token, which is the recommended
method for authentication (see <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9032",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Info about the newly created webhook.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.WebhookInfo"
>WebhookInfo</a></p>
`}}),No=new I({props:{anchor:"huggingface_hub.HfApi.create_webhook.example",$$slots:{default:[ZI]},$$scope:{ctx:q}}}),Eo=new I({props:{anchor:"huggingface_hub.HfApi.create_webhook.example-2",$$slots:{default:[FI]},$$scope:{ctx:q}}}),cr=new M({props:{name:"dataset_info",anchor:"huggingface_hub.HfApi.dataset_info",parameters:[{name:"repo_id",val:": str"},{name:"revision",val:": Optional[str] = None"},{name:"timeout",val:": Optional[float] = None"},{name:"files_metadata",val:": bool = False"},{name:"expand",val:": Optional[list[ExpandDatasetProperty_T]] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.dataset_info.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.dataset_info.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The revision of the dataset repository from which to get the
information.`,name:"revision"},{anchor:"huggingface_hub.HfApi.dataset_info.timeout",description:`<strong>timeout</strong> (<code>float</code>, <em>optional</em>) &#x2014;
Whether to set a timeout for the request to the Hub.`,name:"timeout"},{anchor:"huggingface_hub.HfApi.dataset_info.files_metadata",description:`<strong>files_metadata</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to retrieve metadata for files in the repository
(size, LFS metadata, etc). Defaults to <code>False</code>.`,name:"files_metadata"},{anchor:"huggingface_hub.HfApi.dataset_info.expand",description:`<strong>expand</strong> (<code>list[ExpandDatasetProperty_T]</code>, <em>optional</em>) &#x2014;
List properties to return in the response. When used, only the properties in the list will be returned.
This parameter cannot be used if <code>files_metadata</code> is passed.
Possible values are <code>&quot;author&quot;</code>, <code>&quot;cardData&quot;</code>, <code>&quot;citation&quot;</code>, <code>&quot;createdAt&quot;</code>, <code>&quot;disabled&quot;</code>, <code>&quot;description&quot;</code>, <code>&quot;downloads&quot;</code>, <code>&quot;downloadsAllTime&quot;</code>, <code>&quot;gated&quot;</code>, <code>&quot;lastModified&quot;</code>, <code>&quot;likes&quot;</code>, <code>&quot;paperswithcode_id&quot;</code>, <code>&quot;private&quot;</code>, <code>&quot;siblings&quot;</code>, <code>&quot;sha&quot;</code>, <code>&quot;tags&quot;</code>, <code>&quot;trendingScore&quot;</code>,<code>&quot;usedStorage&quot;</code>, and <code>&quot;resourceGroup&quot;</code>.`,name:"expand"},{anchor:"huggingface_hub.HfApi.dataset_info.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2556",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The dataset repository information.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.DatasetInfo"
>hf_api.DatasetInfo</a></p>
`}}),dr=new M({props:{name:"delete_branch",anchor:"huggingface_hub.HfApi.delete_branch",parameters:[{name:"repo_id",val:": str"},{name:"branch",val:": str"},{name:"token",val:": Union[bool, str, None] = None"},{name:"repo_type",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_branch.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository in which a branch will be deleted.
Example: <code>&quot;user/my-cool-model&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.delete_branch.branch",description:`<strong>branch</strong> (<code>str</code>) &#x2014;
The name of the branch to delete.`,name:"branch"},{anchor:"huggingface_hub.HfApi.delete_branch.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.delete_branch.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if creating a branch on a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if tagging a model. Default is <code>None</code>.`,name:"repo_type"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L5812",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If repository is not found (error 404): wrong repo_id/repo_type, private
but not authenticated or repo does not exist.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a> —
If trying to delete a protected branch. Ex: <code>main</code> cannot be deleted.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a> —
If trying to delete a branch that does not exist.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a></p>
`}}),pr=new M({props:{name:"delete_collection",anchor:"huggingface_hub.HfApi.delete_collection",parameters:[{name:"collection_slug",val:": str"},{name:"missing_ok",val:": bool = False"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_collection.collection_slug",description:`<strong>collection_slug</strong> (<code>str</code>) &#x2014;
Slug of the collection to delete. Example: <code>&quot;TheBloke/recent-models-64f9a55bb3115b4f513ec026&quot;</code>.`,name:"collection_slug"},{anchor:"huggingface_hub.HfApi.delete_collection.missing_ok",description:`<strong>missing_ok</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If <code>True</code>, do not raise an error if collection doesn&#x2019;t exists.`,name:"missing_ok"},{anchor:"huggingface_hub.HfApi.delete_collection.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8264"}}),Do=new I({props:{anchor:"huggingface_hub.HfApi.delete_collection.example",$$slots:{default:[SI]},$$scope:{ctx:q}}}),ur=new M({props:{name:"delete_collection_item",anchor:"huggingface_hub.HfApi.delete_collection_item",parameters:[{name:"collection_slug",val:": str"},{name:"item_object_id",val:": str"},{name:"missing_ok",val:": bool = False"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_collection_item.collection_slug",description:`<strong>collection_slug</strong> (<code>str</code>) &#x2014;
Slug of the collection to update. Example: <code>&quot;TheBloke/recent-models-64f9a55bb3115b4f513ec026&quot;</code>.`,name:"collection_slug"},{anchor:"huggingface_hub.HfApi.delete_collection_item.item_object_id",description:`<strong>item_object_id</strong> (<code>str</code>) &#x2014;
ID of the item in the collection. This is not the id of the item on the Hub (repo_id or paper id).
It must be retrieved from a <a href="/docs/huggingface_hub/main/en/package_reference/collections#huggingface_hub.CollectionItem">CollectionItem</a> object. Example: <code>collection.items[0].item_object_id</code>.`,name:"item_object_id"},{anchor:"huggingface_hub.HfApi.delete_collection_item.missing_ok",description:`<strong>missing_ok</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If <code>True</code>, do not raise an error if item doesn&#x2019;t exists.`,name:"missing_ok"},{anchor:"huggingface_hub.HfApi.delete_collection_item.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8437"}}),Go=new I({props:{anchor:"huggingface_hub.HfApi.delete_collection_item.example",$$slots:{default:[WI]},$$scope:{ctx:q}}}),hr=new M({props:{name:"delete_file",anchor:"huggingface_hub.HfApi.delete_file",parameters:[{name:"path_in_repo",val:": str"},{name:"repo_id",val:": str"},{name:"token",val:": Union[str, bool, None] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"commit_message",val:": Optional[str] = None"},{name:"commit_description",val:": Optional[str] = None"},{name:"create_pr",val:": Optional[bool] = None"},{name:"parent_commit",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_file.path_in_repo",description:`<strong>path_in_repo</strong> (<code>str</code>) &#x2014;
Relative filepath in the repo, for example:
<code>&quot;checkpoints/1fec34a/weights.bin&quot;</code>`,name:"path_in_repo"},{anchor:"huggingface_hub.HfApi.delete_file.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository from which the file will be deleted, for example:
<code>&quot;username/custom_transformers&quot;</code>`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.delete_file.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.delete_file.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if the file is in a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if in a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.delete_file.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision to commit from. Defaults to the head of the <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.delete_file.commit_message",description:`<strong>commit_message</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The summary / title / first line of the generated commit. Defaults to
<code>f&quot;Delete {path_in_repo} with huggingface_hub&quot;</code>.`,name:"commit_message"},{anchor:"huggingface_hub.HfApi.delete_file.commit_description",description:`<strong>commit_description</strong> (<code>str</code> <em>optional</em>) &#x2014;
The description of the generated commit`,name:"commit_description"},{anchor:"huggingface_hub.HfApi.delete_file.create_pr",description:`<strong>create_pr</strong> (<code>boolean</code>, <em>optional</em>) &#x2014;
Whether or not to create a Pull Request with that commit. Defaults to <code>False</code>.
If <code>revision</code> is not set, PR is opened against the <code>&quot;main&quot;</code> branch. If
<code>revision</code> is set and is a branch, PR is opened against this branch. If
<code>revision</code> is set and is not a branch name (example: a commit oid), an
<code>RevisionNotFoundError</code> is returned by the server.`,name:"create_pr"},{anchor:"huggingface_hub.HfApi.delete_file.parent_commit",description:`<strong>parent_commit</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The OID / SHA of the parent commit, as a hexadecimal string. Shorthands (7 first characters) are also supported.
If specified and <code>create_pr</code> is <code>False</code>, the commit will fail if <code>revision</code> does not point to <code>parent_commit</code>.
If specified and <code>create_pr</code> is <code>True</code>, the pull request will be created from <code>parent_commit</code>.
Specifying <code>parent_commit</code> ensures the repo has not changed before committing the changes, and can be
especially useful if the repo is updated / committed to concurrently.`,name:"parent_commit"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L4819"}}),mr=new M({props:{name:"delete_files",anchor:"huggingface_hub.HfApi.delete_files",parameters:[{name:"repo_id",val:": str"},{name:"delete_patterns",val:": list[str]"},{name:"token",val:": Union[bool, str, None] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"commit_message",val:": Optional[str] = None"},{name:"commit_description",val:": Optional[str] = None"},{name:"create_pr",val:": Optional[bool] = None"},{name:"parent_commit",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_files.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository from which the folder will be deleted, for example:
<code>&quot;username/custom_transformers&quot;</code>`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.delete_files.delete_patterns",description:`<strong>delete_patterns</strong> (<code>list[str]</code>) &#x2014;
List of files or folders to delete. Each string can either be
a file path, a folder path or a Unix shell-style wildcard.
E.g. <code>[&quot;file.txt&quot;, &quot;folder/&quot;, &quot;data/*.parquet&quot;]</code>`,name:"delete_patterns"},{anchor:"huggingface_hub.HfApi.delete_files.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.
to the stored token.`,name:"token"},{anchor:"huggingface_hub.HfApi.delete_files.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Type of the repo to delete files from. Can be <code>&quot;model&quot;</code>,
<code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code>. Defaults to <code>&quot;model&quot;</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.delete_files.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision to commit from. Defaults to the head of the <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.delete_files.commit_message",description:`<strong>commit_message</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The summary (first line) of the generated commit. Defaults to
<code>f&quot;Delete files using huggingface_hub&quot;</code>.`,name:"commit_message"},{anchor:"huggingface_hub.HfApi.delete_files.commit_description",description:`<strong>commit_description</strong> (<code>str</code> <em>optional</em>) &#x2014;
The description of the generated commit.`,name:"commit_description"},{anchor:"huggingface_hub.HfApi.delete_files.create_pr",description:`<strong>create_pr</strong> (<code>boolean</code>, <em>optional</em>) &#x2014;
Whether or not to create a Pull Request with that commit. Defaults to <code>False</code>.
If <code>revision</code> is not set, PR is opened against the <code>&quot;main&quot;</code> branch. If
<code>revision</code> is set and is a branch, PR is opened against this branch. If
<code>revision</code> is set and is not a branch name (example: a commit oid), an
<code>RevisionNotFoundError</code> is returned by the server.`,name:"create_pr"},{anchor:"huggingface_hub.HfApi.delete_files.parent_commit",description:`<strong>parent_commit</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The OID / SHA of the parent commit, as a hexadecimal string. Shorthands (7 first characters) are also supported.
If specified and <code>create_pr</code> is <code>False</code>, the commit will fail if <code>revision</code> does not point to <code>parent_commit</code>.
If specified and <code>create_pr</code> is <code>True</code>, the pull request will be created from <code>parent_commit</code>.
Specifying <code>parent_commit</code> ensures the repo has not changed before committing the changes, and can be
especially useful if the repo is updated / committed to concurrently.`,name:"parent_commit"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L4906"}}),_r=new M({props:{name:"delete_folder",anchor:"huggingface_hub.HfApi.delete_folder",parameters:[{name:"path_in_repo",val:": str"},{name:"repo_id",val:": str"},{name:"token",val:": Union[bool, str, None] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"commit_message",val:": Optional[str] = None"},{name:"commit_description",val:": Optional[str] = None"},{name:"create_pr",val:": Optional[bool] = None"},{name:"parent_commit",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_folder.path_in_repo",description:`<strong>path_in_repo</strong> (<code>str</code>) &#x2014;
Relative folder path in the repo, for example: <code>&quot;checkpoints/1fec34a&quot;</code>.`,name:"path_in_repo"},{anchor:"huggingface_hub.HfApi.delete_folder.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository from which the folder will be deleted, for example:
<code>&quot;username/custom_transformers&quot;</code>`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.delete_folder.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.
to the stored token.`,name:"token"},{anchor:"huggingface_hub.HfApi.delete_folder.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if the folder is in a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if in a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.delete_folder.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision to commit from. Defaults to the head of the <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.delete_folder.commit_message",description:`<strong>commit_message</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The summary / title / first line of the generated commit. Defaults to
<code>f&quot;Delete folder {path_in_repo} with huggingface_hub&quot;</code>.`,name:"commit_message"},{anchor:"huggingface_hub.HfApi.delete_folder.commit_description",description:`<strong>commit_description</strong> (<code>str</code> <em>optional</em>) &#x2014;
The description of the generated commit.`,name:"commit_description"},{anchor:"huggingface_hub.HfApi.delete_folder.create_pr",description:`<strong>create_pr</strong> (<code>boolean</code>, <em>optional</em>) &#x2014;
Whether or not to create a Pull Request with that commit. Defaults to <code>False</code>.
If <code>revision</code> is not set, PR is opened against the <code>&quot;main&quot;</code> branch. If
<code>revision</code> is set and is a branch, PR is opened against this branch. If
<code>revision</code> is set and is not a branch name (example: a commit oid), an
<code>RevisionNotFoundError</code> is returned by the server.`,name:"create_pr"},{anchor:"huggingface_hub.HfApi.delete_folder.parent_commit",description:`<strong>parent_commit</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The OID / SHA of the parent commit, as a hexadecimal string. Shorthands (7 first characters) are also supported.
If specified and <code>create_pr</code> is <code>False</code>, the commit will fail if <code>revision</code> does not point to <code>parent_commit</code>.
If specified and <code>create_pr</code> is <code>True</code>, the pull request will be created from <code>parent_commit</code>.
Specifying <code>parent_commit</code> ensures the repo has not changed before committing the changes, and can be
especially useful if the repo is updated / committed to concurrently.`,name:"parent_commit"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L4982"}}),br=new M({props:{name:"delete_inference_endpoint",anchor:"huggingface_hub.HfApi.delete_inference_endpoint",parameters:[{name:"name",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_inference_endpoint.name",description:`<strong>name</strong> (<code>str</code>) &#x2014;
The name of the Inference Endpoint to delete.`,name:"name"},{anchor:"huggingface_hub.HfApi.delete_inference_endpoint.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace in which the Inference Endpoint is located. Defaults to the current user.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.delete_inference_endpoint.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7875"}}),yr=new M({props:{name:"delete_repo",anchor:"huggingface_hub.HfApi.delete_repo",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Union[str, bool, None] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"missing_ok",val:": bool = False"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_repo.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.delete_repo.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.delete_repo.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.delete_repo.missing_ok",description:`<strong>missing_ok</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
If <code>True</code>, do not raise an error if repo does not exist.`,name:"missing_ok"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L3739",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If the repository to delete from cannot be found and <code>missing_ok</code> is set to False (default).</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a></p>
`}}),vr=new M({props:{name:"delete_scheduled_job",anchor:"huggingface_hub.HfApi.delete_scheduled_job",parameters:[{name:"scheduled_job_id",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_scheduled_job.scheduled_job_id",description:`<strong>scheduled_job_id</strong> (<code>str</code>) &#x2014;
ID of the scheduled Job.`,name:"scheduled_job_id"},{anchor:"huggingface_hub.HfApi.delete_scheduled_job.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the scheduled Job is. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.delete_scheduled_job.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L10429"}}),xr=new M({props:{name:"delete_space_secret",anchor:"huggingface_hub.HfApi.delete_space_secret",parameters:[{name:"repo_id",val:": str"},{name:"key",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_space_secret.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
ID of the repo to update. Example: <code>&quot;bigcode/in-the-stack&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.delete_space_secret.key",description:`<strong>key</strong> (<code>str</code>) &#x2014;
Secret key. Example: <code>&quot;GITHUB_API_KEY&quot;</code>.`,name:"key"},{anchor:"huggingface_hub.HfApi.delete_space_secret.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6810"}}),wr=new M({props:{name:"delete_space_storage",anchor:"huggingface_hub.HfApi.delete_space_storage",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_space_storage.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
ID of the Space to update. Example: <code>&quot;open-llm-leaderboard/open_llm_leaderboard&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.delete_space_storage.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7287",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Runtime information about a Space including Space stage and hardware.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceRuntime"
>SpaceRuntime</a></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>BadRequestError</code> —
If space has no persistent storage.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>BadRequestError</code></p>
`}}),$r=new M({props:{name:"delete_space_variable",anchor:"huggingface_hub.HfApi.delete_space_variable",parameters:[{name:"repo_id",val:": str"},{name:"key",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_space_variable.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
ID of the repo to update. Example: <code>&quot;bigcode/in-the-stack&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.delete_space_variable.key",description:`<strong>key</strong> (<code>str</code>) &#x2014;
Variable key. Example: <code>&quot;MODEL_REPO_ID&quot;</code>`,name:"key"},{anchor:"huggingface_hub.HfApi.delete_space_variable.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6900"}}),kr=new M({props:{name:"delete_tag",anchor:"huggingface_hub.HfApi.delete_tag",parameters:[{name:"repo_id",val:": str"},{name:"tag",val:": str"},{name:"token",val:": Union[bool, str, None] = None"},{name:"repo_type",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_tag.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository in which a tag will be deleted.
Example: <code>&quot;user/my-cool-model&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.delete_tag.tag",description:`<strong>tag</strong> (<code>str</code>) &#x2014;
The name of the tag to delete.`,name:"tag"},{anchor:"huggingface_hub.HfApi.delete_tag.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.delete_tag.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if tagging a dataset or space, <code>None</code> or
<code>&quot;model&quot;</code> if tagging a model. Default is <code>None</code>.`,name:"repo_type"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L5938",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If repository is not found (error 404): wrong repo_id/repo_type, private
but not authenticated or repo does not exist.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> —
If tag is not found.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a></p>
`}}),jr=new M({props:{name:"delete_webhook",anchor:"huggingface_hub.HfApi.delete_webhook",parameters:[{name:"webhook_id",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.delete_webhook.webhook_id",description:`<strong>webhook_id</strong> (<code>str</code>) &#x2014;
The unique identifier of the webhook to delete.`,name:"webhook_id"},{anchor:"huggingface_hub.HfApi.delete_webhook.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved token, which is the recommended
method for authentication (see <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9349",returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>None</code></p>
`}}),Lo=new I({props:{anchor:"huggingface_hub.HfApi.delete_webhook.example",$$slots:{default:[LI]},$$scope:{ctx:q}}}),Tr=new M({props:{name:"disable_webhook",anchor:"huggingface_hub.HfApi.disable_webhook",parameters:[{name:"webhook_id",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.disable_webhook.webhook_id",description:`<strong>webhook_id</strong> (<code>str</code>) &#x2014;
The unique identifier of the webhook to disable.`,name:"webhook_id"},{anchor:"huggingface_hub.HfApi.disable_webhook.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved token, which is the recommended
method for authentication (see <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9296",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Info about the disabled webhook.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.WebhookInfo"
>WebhookInfo</a></p>
`}}),Bo=new I({props:{anchor:"huggingface_hub.HfApi.disable_webhook.example",$$slots:{default:[BI]},$$scope:{ctx:q}}}),Mr=new M({props:{name:"duplicate_space",anchor:"huggingface_hub.HfApi.duplicate_space",parameters:[{name:"from_id",val:": str"},{name:"to_id",val:": Optional[str] = None"},{name:"private",val:": Optional[bool] = None"},{name:"token",val:": Union[bool, str, None] = None"},{name:"exist_ok",val:": bool = False"},{name:"hardware",val:": Optional[SpaceHardware] = None"},{name:"storage",val:": Optional[SpaceStorage] = None"},{name:"sleep_time",val:": Optional[int] = None"},{name:"secrets",val:": Optional[list[dict[str, str]]] = None"},{name:"variables",val:": Optional[list[dict[str, str]]] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.duplicate_space.from_id",description:`<strong>from_id</strong> (<code>str</code>) &#x2014;
ID of the Space to duplicate. Example: <code>&quot;pharma/CLIP-Interrogator&quot;</code>.`,name:"from_id"},{anchor:"huggingface_hub.HfApi.duplicate_space.to_id",description:`<strong>to_id</strong> (<code>str</code>, <em>optional</em>) &#x2014;
ID of the new Space. Example: <code>&quot;dog/CLIP-Interrogator&quot;</code>. If not provided, the new Space will have the same
name as the original Space, but in your account.`,name:"to_id"},{anchor:"huggingface_hub.HfApi.duplicate_space.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether the new Space should be private or not. Defaults to the same privacy as the original Space.`,name:"private"},{anchor:"huggingface_hub.HfApi.duplicate_space.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.duplicate_space.exist_ok",description:`<strong>exist_ok</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
If <code>True</code>, do not raise an error if repo already exists.`,name:"exist_ok"},{anchor:"huggingface_hub.HfApi.duplicate_space.hardware",description:`<strong>hardware</strong> (<code>SpaceHardware</code> or <code>str</code>, <em>optional</em>) &#x2014;
Choice of Hardware. Example: <code>&quot;t4-medium&quot;</code>. See <a href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceHardware">SpaceHardware</a> for a complete list.`,name:"hardware"},{anchor:"huggingface_hub.HfApi.duplicate_space.storage",description:`<strong>storage</strong> (<code>SpaceStorage</code> or <code>str</code>, <em>optional</em>) &#x2014;
Choice of persistent storage tier. Example: <code>&quot;small&quot;</code>. See <a href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceStorage">SpaceStorage</a> for a complete list.`,name:"storage"},{anchor:"huggingface_hub.HfApi.duplicate_space.sleep_time",description:`<strong>sleep_time</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of seconds of inactivity to wait before a Space is put to sleep. Set to <code>-1</code> if you don&#x2019;t want
your Space to sleep (default behavior for upgraded hardware). For free hardware, you can&#x2019;t configure
the sleep time (value is fixed to 48 hours of inactivity).
See <a href="https://huggingface.co/docs/hub/spaces-gpus#sleep-time" rel="nofollow">https://huggingface.co/docs/hub/spaces-gpus#sleep-time</a> for more details.`,name:"sleep_time"},{anchor:"huggingface_hub.HfApi.duplicate_space.secrets",description:`<strong>secrets</strong> (<code>list[dict[str, str]]</code>, <em>optional</em>) &#x2014;
A list of secret keys to set in your Space. Each item is in the form <code>{&quot;key&quot;: ..., &quot;value&quot;: ..., &quot;description&quot;: ...}</code> where description is optional.
For more details, see <a href="https://huggingface.co/docs/hub/spaces-overview#managing-secrets" rel="nofollow">https://huggingface.co/docs/hub/spaces-overview#managing-secrets</a>.`,name:"secrets"},{anchor:"huggingface_hub.HfApi.duplicate_space.variables",description:`<strong>variables</strong> (<code>list[dict[str, str]]</code>, <em>optional</em>) &#x2014;
A list of public environment variables to set in your Space. Each item is in the form <code>{&quot;key&quot;: ..., &quot;value&quot;: ..., &quot;description&quot;: ...}</code> where description is optional.
For more details, see <a href="https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables" rel="nofollow">https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables</a>.`,name:"variables"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7133",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>URL to the newly created repo. Value is a subclass of <code>str</code> containing
attributes like <code>endpoint</code>, <code>repo_type</code> and <code>repo_id</code>.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.RepoUrl"
>RepoUrl</a></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If one of <code>from_id</code> or <code>to_id</code> cannot be found. This may be because it doesn’t exist,
or because it is set to <code>private</code> and you do not have access.</li>
<li><code>HfHubHTTPError</code> —
If the HuggingFace API returned an error</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <code>HfHubHTTPError</code></p>
`}}),Vo=new I({props:{anchor:"huggingface_hub.HfApi.duplicate_space.example",$$slots:{default:[VI]},$$scope:{ctx:q}}}),qr=new M({props:{name:"edit_discussion_comment",anchor:"huggingface_hub.HfApi.edit_discussion_comment",parameters:[{name:"repo_id",val:": str"},{name:"discussion_num",val:": int"},{name:"comment_id",val:": str"},{name:"new_content",val:": str"},{name:"token",val:": Union[bool, str, None] = None"},{name:"repo_type",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.edit_discussion_comment.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.edit_discussion_comment.discussion_num",description:`<strong>discussion_num</strong> (<code>int</code>) &#x2014;
The number of the Discussion or Pull Request . Must be a strictly positive integer.`,name:"discussion_num"},{anchor:"huggingface_hub.HfApi.edit_discussion_comment.comment_id",description:`<strong>comment_id</strong> (<code>str</code>) &#x2014;
The ID of the comment to edit.`,name:"comment_id"},{anchor:"huggingface_hub.HfApi.edit_discussion_comment.new_content",description:`<strong>new_content</strong> (<code>str</code>) &#x2014;
The new content of the comment. Comments support markdown formatting.`,name:"new_content"},{anchor:"huggingface_hub.HfApi.edit_discussion_comment.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.edit_discussion_comment.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6653",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>the edited comment</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/community#huggingface_hub.DiscussionComment"
>DiscussionComment</a></p>
`}}),Ir=new M({props:{name:"enable_webhook",anchor:"huggingface_hub.HfApi.enable_webhook",parameters:[{name:"webhook_id",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.enable_webhook.webhook_id",description:`<strong>webhook_id</strong> (<code>str</code>) &#x2014;
The unique identifier of the webhook to enable.`,name:"webhook_id"},{anchor:"huggingface_hub.HfApi.enable_webhook.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved token, which is the recommended
method for authentication (see <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9243",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Info about the enabled webhook.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.WebhookInfo"
>WebhookInfo</a></p>
`}}),Yo=new I({props:{anchor:"huggingface_hub.HfApi.enable_webhook.example",$$slots:{default:[YI]},$$scope:{ctx:q}}}),Ur=new M({props:{name:"fetch_job_logs",anchor:"huggingface_hub.HfApi.fetch_job_logs",parameters:[{name:"job_id",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.fetch_job_logs.job_id",description:`<strong>job_id</strong> (<code>str</code>) &#x2014;
ID of the Job.`,name:"job_id"},{anchor:"huggingface_hub.HfApi.fetch_job_logs.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the Job is running. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.fetch_job_logs.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9927"}}),Xo=new I({props:{anchor:"huggingface_hub.HfApi.fetch_job_logs.example",$$slots:{default:[XI]},$$scope:{ctx:q}}}),Cr=new M({props:{name:"file_exists",anchor:"huggingface_hub.HfApi.file_exists",parameters:[{name:"repo_id",val:": str"},{name:"filename",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"token",val:": Union[str, bool, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.file_exists.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.file_exists.filename",description:`<strong>filename</strong> (<code>str</code>) &#x2014;
The name of the file to check, for example:
<code>&quot;config.json&quot;</code>`,name:"filename"},{anchor:"huggingface_hub.HfApi.file_exists.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if getting repository info from a dataset or a space,
<code>None</code> or <code>&quot;model&quot;</code> if getting repository info from a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.file_exists.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The revision of the repository from which to get the information. Defaults to <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.file_exists.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2858",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>True if the file exists, False otherwise.</p>
`}}),Po=new I({props:{anchor:"huggingface_hub.HfApi.file_exists.example",$$slots:{default:[PI]},$$scope:{ctx:q}}}),Jr=new M({props:{name:"get_collection",anchor:"huggingface_hub.HfApi.get_collection",parameters:[{name:"collection_slug",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_collection.collection_slug",description:`<strong>collection_slug</strong> (<code>str</code>) &#x2014;
Slug of the collection of the Hub. Example: <code>&quot;TheBloke/recent-models-64f9a55bb3115b4f513ec026&quot;</code>.`,name:"collection_slug"},{anchor:"huggingface_hub.HfApi.get_collection.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8089"}}),zo=new I({props:{anchor:"huggingface_hub.HfApi.get_collection.example",$$slots:{default:[zI]},$$scope:{ctx:q}}}),Ar=new M({props:{name:"get_dataset_tags",anchor:"huggingface_hub.HfApi.get_dataset_tags",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1783"}}),Nr=new M({props:{name:"get_discussion_details",anchor:"huggingface_hub.HfApi.get_discussion_details",parameters:[{name:"repo_id",val:": str"},{name:"discussion_num",val:": int"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_discussion_details.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.get_discussion_details.discussion_num",description:`<strong>discussion_num</strong> (<code>int</code>) &#x2014;
The number of the Discussion or Pull Request . Must be a strictly positive integer.`,name:"discussion_num"},{anchor:"huggingface_hub.HfApi.get_discussion_details.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.get_discussion_details.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6133"}}),Rr=new M({props:{name:"get_full_repo_name",anchor:"huggingface_hub.HfApi.get_full_repo_name",parameters:[{name:"model_id",val:": str"},{name:"organization",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_full_repo_name.model_id",description:`<strong>model_id</strong> (<code>str</code>) &#x2014;
The name of the model.`,name:"model_id"},{anchor:"huggingface_hub.HfApi.get_full_repo_name.organization",description:`<strong>organization</strong> (<code>str</code>, <em>optional</em>) &#x2014;
If passed, the repository name will be in the organization
namespace instead of the user namespace.`,name:"organization"},{anchor:"huggingface_hub.HfApi.get_full_repo_name.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L5987",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The repository name in the user’s namespace
({username}/{model_id}) if no organization is passed, and under the
organization namespace ({organization}/{model_id}) otherwise.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>str</code></p>
`}}),Dr=new M({props:{name:"get_hf_file_metadata",anchor:"huggingface_hub.HfApi.get_hf_file_metadata",parameters:[{name:"url",val:": str"},{name:"token",val:": Union[bool, str, None] = None"},{name:"timeout",val:": Optional[float] = 10"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_hf_file_metadata.url",description:`<strong>url</strong> (<code>str</code>) &#x2014;
File url, for example returned by <a href="/docs/huggingface_hub/main/en/package_reference/file_download#huggingface_hub.hf_hub_url">hf_hub_url()</a>.`,name:"url"},{anchor:"huggingface_hub.HfApi.get_hf_file_metadata.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.get_hf_file_metadata.timeout",description:`<strong>timeout</strong> (<code>float</code>, <em>optional</em>, defaults to 10) &#x2014;
How many seconds to wait for the server to send metadata before giving up.`,name:"timeout"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L5166",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A <a
  href="/docs/huggingface_hub/main/en/package_reference/file_download#huggingface_hub.HfFileMetadata"
>HfFileMetadata</a> object containing metadata such as location, etag, size and commit_hash.</p>
`}}),Gr=new M({props:{name:"get_inference_endpoint",anchor:"huggingface_hub.HfApi.get_inference_endpoint",parameters:[{name:"name",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_inference_endpoint.name",description:`<strong>name</strong> (<code>str</code>) &#x2014;
The name of the Inference Endpoint to retrieve information about.`,name:"name"},{anchor:"huggingface_hub.HfApi.get_inference_endpoint.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace in which the Inference Endpoint is located. Defaults to the current user.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.get_inference_endpoint.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7691",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>information about the requested Inference Endpoint.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/inference_endpoints#huggingface_hub.InferenceEndpoint"
>InferenceEndpoint</a></p>
`}}),ea=new I({props:{anchor:"huggingface_hub.HfApi.get_inference_endpoint.example",$$slots:{default:[OI]},$$scope:{ctx:q}}}),Zr=new M({props:{name:"get_model_tags",anchor:"huggingface_hub.HfApi.get_model_tags",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1774"}}),Fr=new M({props:{name:"get_organization_overview",anchor:"huggingface_hub.HfApi.get_organization_overview",parameters:[{name:"organization",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_organization_overview.organization",description:`<strong>organization</strong> (<code>str</code>) &#x2014;
Name of the organization to get an overview of.`,name:"organization"},{anchor:"huggingface_hub.HfApi.get_organization_overview.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved token, which is the recommended method
for authentication (see <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9574",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>An <code>Organization</code> object with the organization’s overview.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Organization</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="https://requests.readthedocs.io/en/latest/api/#requests.HTTPError"
  rel="nofollow"
><code>HTTPError</code></a> —
HTTP 404 If the organization does not exist on the Hub.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HTTPError</code></p>
`}}),Sr=new M({props:{name:"get_paths_info",anchor:"huggingface_hub.HfApi.get_paths_info",parameters:[{name:"repo_id",val:": str"},{name:"paths",val:": Union[list[str], str]"},{name:"expand",val:": bool = False"},{name:"revision",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[str, bool, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_paths_info.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.get_paths_info.paths",description:`<strong>paths</strong> (<code>Union[list[str], str]</code>, <em>optional</em>) &#x2014;
The paths to get information about. If a path do not exist, it is ignored without raising
an exception.`,name:"paths"},{anchor:"huggingface_hub.HfApi.get_paths_info.expand",description:`<strong>expand</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to fetch more information about the paths (e.g. last commit and files&#x2019; security scan results). This
operation is more expensive for the server so only 50 results are returned per page (instead of 1000).
As pagination is implemented in <code>huggingface_hub</code>, this is transparent for you except for the time it
takes to get the results.`,name:"expand"},{anchor:"huggingface_hub.HfApi.get_paths_info.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The revision of the repository from which to get the information. Defaults to <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.get_paths_info.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repository from which to get the information (<code>&quot;model&quot;</code>, <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code>.
Defaults to <code>&quot;model&quot;</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.get_paths_info.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L3316",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The information about the paths, as a list of <code>RepoFile</code> and <code>RepoFolder</code> objects.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>list[Union[RepoFile, RepoFolder]]</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If repository is not found (error 404): wrong repo_id/repo_type, private but not authenticated or repo
does not exist.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> —
If revision is not found (error 404) on the repo.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a></p>
`}}),oa=new I({props:{anchor:"huggingface_hub.HfApi.get_paths_info.example",$$slots:{default:[QI]},$$scope:{ctx:q}}}),Wr=new M({props:{name:"get_repo_discussions",anchor:"huggingface_hub.HfApi.get_repo_discussions",parameters:[{name:"repo_id",val:": str"},{name:"author",val:": Optional[str] = None"},{name:"discussion_type",val:": Optional[constants.DiscussionTypeFilter] = None"},{name:"discussion_status",val:": Optional[constants.DiscussionStatusFilter] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_repo_discussions.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.get_repo_discussions.author",description:`<strong>author</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Pass a value to filter by discussion author. <code>None</code> means no filter.
Default is <code>None</code>.`,name:"author"},{anchor:"huggingface_hub.HfApi.get_repo_discussions.discussion_type",description:`<strong>discussion_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;pull_request&quot;</code> to fetch only pull requests, <code>&quot;discussion&quot;</code>
to fetch only discussions. Set to <code>&quot;all&quot;</code> or <code>None</code> to fetch both.
Default is <code>None</code>.`,name:"discussion_type"},{anchor:"huggingface_hub.HfApi.get_repo_discussions.discussion_status",description:`<strong>discussion_status</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;open&quot;</code> (respectively <code>&quot;closed&quot;</code>) to fetch only open
(respectively closed) discussions. Set to <code>&quot;all&quot;</code> or <code>None</code>
to fetch both.
Default is <code>None</code>.`,name:"discussion_status"},{anchor:"huggingface_hub.HfApi.get_repo_discussions.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if fetching from a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if fetching from a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.get_repo_discussions.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6025",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>An iterator of <a
  href="/docs/huggingface_hub/main/en/package_reference/community#huggingface_hub.Discussion"
>Discussion</a> objects.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterator[Discussion]</code></p>
`}}),aa=new I({props:{anchor:"huggingface_hub.HfApi.get_repo_discussions.example",$$slots:{default:[KI]},$$scope:{ctx:q}}}),sa=new I({props:{anchor:"huggingface_hub.HfApi.get_repo_discussions.example-2",$$slots:{default:[e4]},$$scope:{ctx:q}}}),Lr=new M({props:{name:"get_safetensors_metadata",anchor:"huggingface_hub.HfApi.get_safetensors_metadata",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_safetensors_metadata.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A user or an organization name and a repo name separated by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.get_safetensors_metadata.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if the file is in a dataset or space, <code>None</code> or <code>&quot;model&quot;</code> if in a
model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.get_safetensors_metadata.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision to fetch the file from. Can be a branch name, a tag, or a commit hash. Defaults to the
head of the <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.get_safetensors_metadata.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L5489",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>information related to safetensors repo.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>SafetensorsRepoMetadata</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>NotASafetensorsRepoError</code> —
If the repo is not a safetensors repo i.e. doesn’t have either a
<code>model.safetensors</code> or a <code>model.safetensors.index.json</code> file.</li>
<li><code>SafetensorsParsingError</code> —
If a safetensors file header couldn’t be parsed correctly.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>NotASafetensorsRepoError</code> or <code>SafetensorsParsingError</code></p>
`}}),ra=new I({props:{anchor:"huggingface_hub.HfApi.get_safetensors_metadata.example",$$slots:{default:[t4]},$$scope:{ctx:q}}}),Br=new M({props:{name:"get_space_runtime",anchor:"huggingface_hub.HfApi.get_space_runtime",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_space_runtime.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
ID of the repo to update. Example: <code>&quot;bigcode/in-the-stack&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.get_space_runtime.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6929",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Runtime information about a Space including Space stage and hardware.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceRuntime"
>SpaceRuntime</a></p>
`}}),Vr=new M({props:{name:"get_space_variables",anchor:"huggingface_hub.HfApi.get_space_variables",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_space_variables.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
ID of the repo to query. Example: <code>&quot;bigcode/in-the-stack&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.get_space_variables.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6836"}}),Yr=new M({props:{name:"get_user_overview",anchor:"huggingface_hub.HfApi.get_user_overview",parameters:[{name:"username",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_user_overview.username",description:`<strong>username</strong> (<code>str</code>) &#x2014;
Username of the user to get an overview of.`,name:"username"},{anchor:"huggingface_hub.HfApi.get_user_overview.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9548",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.User"
>User</a> object with the user’s overview.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>User</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 404 If the user does not exist on the Hub.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),Xr=new M({props:{name:"get_webhook",anchor:"huggingface_hub.HfApi.get_webhook",parameters:[{name:"webhook_id",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_webhook.webhook_id",description:`<strong>webhook_id</strong> (<code>str</code>) &#x2014;
The unique identifier of the webhook to get.`,name:"webhook_id"},{anchor:"huggingface_hub.HfApi.get_webhook.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved token, which is the recommended
method for authentication (see <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8928",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Info about the webhook.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.WebhookInfo"
>WebhookInfo</a></p>
`}}),la=new I({props:{anchor:"huggingface_hub.HfApi.get_webhook.example",$$slots:{default:[n4]},$$scope:{ctx:q}}}),Pr=new M({props:{name:"grant_access",anchor:"huggingface_hub.HfApi.grant_access",parameters:[{name:"repo_id",val:": str"},{name:"user",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.grant_access.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The id of the repo to grant access to.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.grant_access.user",description:`<strong>user</strong> (<code>str</code>) &#x2014;
The username of the user to grant access.`,name:"user"},{anchor:"huggingface_hub.HfApi.grant_access.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repo to grant access to. Must be one of <code>model</code>, <code>dataset</code> or <code>space</code>.
Defaults to <code>model</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.grant_access.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8873",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 400 if the repo is not gated.</li>
<li><code>HfHubHTTPError</code> —
HTTP 400 if the user already has access to the repo.</li>
<li><code>HfHubHTTPError</code> —
HTTP 403 if you only have read-only access to the repo. This can be the case if you don’t have <code>write</code>
or <code>admin</code> role in the organization the repo belongs to or if you passed a <code>read</code> token.</li>
<li><code>HfHubHTTPError</code> —
HTTP 404 if the user does not exist on the Hub.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),zr=new M({props:{name:"hf_hub_download",anchor:"huggingface_hub.HfApi.hf_hub_download",parameters:[{name:"repo_id",val:": str"},{name:"filename",val:": str"},{name:"subfolder",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"cache_dir",val:": Union[str, Path, None] = None"},{name:"local_dir",val:": Union[str, Path, None] = None"},{name:"force_download",val:": bool = False"},{name:"etag_timeout",val:": float = 10"},{name:"token",val:": Union[bool, str, None] = None"},{name:"local_files_only",val:": bool = False"},{name:"dry_run",val:": bool = False"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.hf_hub_download.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A user or an organization name and a repo name separated by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.hf_hub_download.filename",description:`<strong>filename</strong> (<code>str</code>) &#x2014;
The name of the file in the repo.`,name:"filename"},{anchor:"huggingface_hub.HfApi.hf_hub_download.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>) &#x2014;
An optional value corresponding to a folder inside the repository.`,name:"subfolder"},{anchor:"huggingface_hub.HfApi.hf_hub_download.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if downloading from a dataset or space,
<code>None</code> or <code>&quot;model&quot;</code> if downloading from a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.hf_hub_download.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
An optional Git revision id which can be a branch name, a tag, or a
commit hash.`,name:"revision"},{anchor:"huggingface_hub.HfApi.hf_hub_download.cache_dir",description:`<strong>cache_dir</strong> (<code>str</code>, <code>Path</code>, <em>optional</em>) &#x2014;
Path to the folder where cached files are stored.`,name:"cache_dir"},{anchor:"huggingface_hub.HfApi.hf_hub_download.local_dir",description:`<strong>local_dir</strong> (<code>str</code> or <code>Path</code>, <em>optional</em>) &#x2014;
If provided, the downloaded file will be placed under this directory.`,name:"local_dir"},{anchor:"huggingface_hub.HfApi.hf_hub_download.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether the file should be downloaded even if it already exists in
the local cache.`,name:"force_download"},{anchor:"huggingface_hub.HfApi.hf_hub_download.etag_timeout",description:`<strong>etag_timeout</strong> (<code>float</code>, <em>optional</em>, defaults to <code>10</code>) &#x2014;
When fetching ETag, how many seconds to wait for the server to send
data before giving up which is passed to <code>httpx.request</code>.`,name:"etag_timeout"},{anchor:"huggingface_hub.HfApi.hf_hub_download.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.hf_hub_download.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
If <code>True</code>, avoid downloading the file and return the path to the
local cached file if it exists.`,name:"local_files_only"},{anchor:"huggingface_hub.HfApi.hf_hub_download.dry_run",description:`<strong>dry_run</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
If <code>True</code>, perform a dry run without actually downloading the file. Returns a
<a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.DryRunFileInfo">DryRunFileInfo</a> object containing information about what would be downloaded.`,name:"dry_run"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L5240",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li>If <code>dry_run=False</code>: Local path of file or if networking is off, last version of file cached on disk.</li>
<li>If <code>dry_run=True</code>: A <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.DryRunFileInfo"
>DryRunFileInfo</a> object containing download information.</li>
</ul>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>str</code> or <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.DryRunFileInfo"
>DryRunFileInfo</a></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<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,
or because it is set to <code>private</code> and you do not have access.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> —
If the revision to download from cannot be found.</li>
<li><code>~utils.RemoteEntryNotFoundError</code> —
If the file to download cannot be found.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.LocalEntryNotFoundError"
>LocalEntryNotFoundError</a> —
If network is disabled or unavailable and file is not found in cache.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#EnvironmentError"
  rel="nofollow"
><code>EnvironmentError</code></a> —
If <code>token=True</code> but the token cannot be found.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#OSError"
  rel="nofollow"
><code>OSError</code></a> —
If ETag cannot be determined.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If some parameter value is invalid.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> or <code>~utils.RemoteEntryNotFoundError</code> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.LocalEntryNotFoundError"
>LocalEntryNotFoundError</a> or <code>EnvironmentError</code> or <code>OSError</code> or <code>ValueError</code></p>
`}}),da=new I({props:{anchor:"huggingface_hub.HfApi.hf_hub_download.example",$$slots:{default:[o4]},$$scope:{ctx:q}}}),Or=new M({props:{name:"hide_discussion_comment",anchor:"huggingface_hub.HfApi.hide_discussion_comment",parameters:[{name:"repo_id",val:": str"},{name:"discussion_num",val:": int"},{name:"comment_id",val:": str"},{name:"token",val:": Union[bool, str, None] = None"},{name:"repo_type",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.hide_discussion_comment.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.hide_discussion_comment.discussion_num",description:`<strong>discussion_num</strong> (<code>int</code>) &#x2014;
The number of the Discussion or Pull Request . Must be a strictly positive integer.`,name:"discussion_num"},{anchor:"huggingface_hub.HfApi.hide_discussion_comment.comment_id",description:`<strong>comment_id</strong> (<code>str</code>) &#x2014;
The ID of the comment to edit.`,name:"comment_id"},{anchor:"huggingface_hub.HfApi.hide_discussion_comment.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.hide_discussion_comment.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6710",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>the hidden comment</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/community#huggingface_hub.DiscussionComment"
>DiscussionComment</a></p>
`}}),ei=new M({props:{name:"inspect_job",anchor:"huggingface_hub.HfApi.inspect_job",parameters:[{name:"job_id",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.inspect_job.job_id",description:`<strong>job_id</strong> (<code>str</code>) &#x2014;
ID of the Job.`,name:"job_id"},{anchor:"huggingface_hub.HfApi.inspect_job.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the Job is running. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.inspect_job.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L10050"}}),pa=new I({props:{anchor:"huggingface_hub.HfApi.inspect_job.example",$$slots:{default:[a4]},$$scope:{ctx:q}}}),ti=new M({props:{name:"inspect_scheduled_job",anchor:"huggingface_hub.HfApi.inspect_scheduled_job",parameters:[{name:"scheduled_job_id",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.inspect_scheduled_job.scheduled_job_id",description:`<strong>scheduled_job_id</strong> (<code>str</code>) &#x2014;
ID of the scheduled Job.`,name:"scheduled_job_id"},{anchor:"huggingface_hub.HfApi.inspect_scheduled_job.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the scheduled Job is. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.inspect_scheduled_job.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L10390"}}),ga=new I({props:{anchor:"huggingface_hub.HfApi.inspect_scheduled_job.example",$$slots:{default:[s4]},$$scope:{ctx:q}}}),ni=new M({props:{name:"list_accepted_access_requests",anchor:"huggingface_hub.HfApi.list_accepted_access_requests",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_accepted_access_requests.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The id of the repo to get access requests for.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.list_accepted_access_requests.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repo to get access requests for. Must be one of <code>model</code>, <code>dataset</code> or <code>space</code>.
Defaults to <code>model</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.list_accepted_access_requests.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8557",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A list of <code>AccessRequest</code> objects. Each time contains a <code>username</code>, <code>email</code>,
<code>status</code> and <code>timestamp</code> attribute. If the gated repo has a custom form, the <code>fields</code> attribute will
be populated with user’s answers.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>list[AccessRequest]</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 400 if the repo is not gated.</li>
<li><code>HfHubHTTPError</code> —
HTTP 403 if you only have read-only access to the repo. This can be the case if you don’t have <code>write</code>
or <code>admin</code> role in the organization the repo belongs to or if you passed a <code>read</code> token.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),ua=new I({props:{anchor:"huggingface_hub.HfApi.list_accepted_access_requests.example",$$slots:{default:[r4]},$$scope:{ctx:q}}}),oi=new M({props:{name:"list_collections",anchor:"huggingface_hub.HfApi.list_collections",parameters:[{name:"owner",val:": Union[list[str], str, None] = None"},{name:"item",val:": Union[list[str], str, None] = None"},{name:"sort",val:": Optional[Literal['lastModified', 'trending', 'upvotes']] = None"},{name:"limit",val:": Optional[int] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_collections.owner",description:`<strong>owner</strong> (<code>list[str]</code> or <code>str</code>, <em>optional</em>) &#x2014;
Filter by owner&#x2019;s username.`,name:"owner"},{anchor:"huggingface_hub.HfApi.list_collections.item",description:`<strong>item</strong> (<code>list[str]</code> or <code>str</code>, <em>optional</em>) &#x2014;
Filter collections containing a particular items. Example: <code>&quot;models/teknium/OpenHermes-2.5-Mistral-7B&quot;</code>, <code>&quot;datasets/squad&quot;</code> or <code>&quot;papers/2311.12983&quot;</code>.`,name:"item"},{anchor:"huggingface_hub.HfApi.list_collections.sort",description:`<strong>sort</strong> (<code>Literal[&quot;lastModified&quot;, &quot;trending&quot;, &quot;upvotes&quot;]</code>, <em>optional</em>) &#x2014;
Sort collections by last modified, trending or upvotes.`,name:"sort"},{anchor:"huggingface_hub.HfApi.list_collections.limit",description:`<strong>limit</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Maximum number of collections to be returned.`,name:"limit"},{anchor:"huggingface_hub.HfApi.list_collections.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8033",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>an iterable of <a
  href="/docs/huggingface_hub/main/en/package_reference/collections#huggingface_hub.Collection"
>Collection</a> objects.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterable[Collection]</code></p>
`}}),si=new M({props:{name:"list_datasets",anchor:"huggingface_hub.HfApi.list_datasets",parameters:[{name:"filter",val:": Union[str, Iterable[str], None] = None"},{name:"author",val:": Optional[str] = None"},{name:"benchmark",val:": Optional[Union[str, list[str]]] = None"},{name:"dataset_name",val:": Optional[str] = None"},{name:"gated",val:": Optional[bool] = None"},{name:"language_creators",val:": Optional[Union[str, list[str]]] = None"},{name:"language",val:": Optional[Union[str, list[str]]] = None"},{name:"multilinguality",val:": Optional[Union[str, list[str]]] = None"},{name:"size_categories",val:": Optional[Union[str, list[str]]] = None"},{name:"task_categories",val:": Optional[Union[str, list[str]]] = None"},{name:"task_ids",val:": Optional[Union[str, list[str]]] = None"},{name:"search",val:": Optional[str] = None"},{name:"sort",val:": Optional[Union[Literal['last_modified'], str]] = None"},{name:"direction",val:": Optional[Literal[-1]] = None"},{name:"limit",val:": Optional[int] = None"},{name:"expand",val:": Optional[list[ExpandDatasetProperty_T]] = None"},{name:"full",val:": Optional[bool] = None"},{name:"token",val:": Union[bool, str, None] = None"},{name:"tags",val:": Optional[Union[str, list[str]]] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_datasets.filter",description:`<strong>filter</strong> (<code>str</code> or <code>Iterable[str]</code>, <em>optional</em>) &#x2014;
A string or list of string to filter datasets on the hub.`,name:"filter"},{anchor:"huggingface_hub.HfApi.list_datasets.author",description:`<strong>author</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A string which identify the author of the returned datasets.`,name:"author"},{anchor:"huggingface_hub.HfApi.list_datasets.benchmark",description:`<strong>benchmark</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string or list of strings that can be used to identify datasets on
the Hub by their official benchmark.`,name:"benchmark"},{anchor:"huggingface_hub.HfApi.list_datasets.dataset_name",description:`<strong>dataset_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A string or list of strings that can be used to identify datasets on
the Hub by its name, such as <code>SQAC</code> or <code>wikineural</code>`,name:"dataset_name"},{anchor:"huggingface_hub.HfApi.list_datasets.gated",description:`<strong>gated</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
A boolean to filter datasets on the Hub that are gated or not. By default, all datasets are returned.
If <code>gated=True</code> is passed, only gated datasets are returned.
If <code>gated=False</code> is passed, only non-gated datasets are returned.`,name:"gated"},{anchor:"huggingface_hub.HfApi.list_datasets.language_creators",description:`<strong>language_creators</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string or list of strings that can be used to identify datasets on
the Hub with how the data was curated, such as <code>crowdsourced</code> or
<code>machine_generated</code>.`,name:"language_creators"},{anchor:"huggingface_hub.HfApi.list_datasets.language",description:`<strong>language</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string or list of strings representing a two-character language to
filter datasets by on the Hub.`,name:"language"},{anchor:"huggingface_hub.HfApi.list_datasets.multilinguality",description:`<strong>multilinguality</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string or list of strings representing a filter for datasets that
contain multiple languages.`,name:"multilinguality"},{anchor:"huggingface_hub.HfApi.list_datasets.size_categories",description:`<strong>size_categories</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string or list of strings that can be used to identify datasets on
the Hub by the size of the dataset such as <code>100K&lt;n&lt;1M</code> or
<code>1M&lt;n&lt;10M</code>.`,name:"size_categories"},{anchor:"huggingface_hub.HfApi.list_datasets.tags",description:`<strong>tags</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
Deprecated. Pass tags in <code>filter</code> to filter datasets by tags.`,name:"tags"},{anchor:"huggingface_hub.HfApi.list_datasets.task_categories",description:`<strong>task_categories</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string or list of strings that can be used to identify datasets on
the Hub by the designed task, such as <code>audio_classification</code> or
<code>named_entity_recognition</code>.`,name:"task_categories"},{anchor:"huggingface_hub.HfApi.list_datasets.task_ids",description:`<strong>task_ids</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string or list of strings that can be used to identify datasets on
the Hub by the specific task such as <code>speech_emotion_recognition</code> or
<code>paraphrase</code>.`,name:"task_ids"},{anchor:"huggingface_hub.HfApi.list_datasets.search",description:`<strong>search</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A string that will be contained in the returned datasets.`,name:"search"},{anchor:"huggingface_hub.HfApi.list_datasets.sort",description:`<strong>sort</strong> (<code>Literal[&quot;last_modified&quot;]</code> or <code>str</code>, <em>optional</em>) &#x2014;
The key with which to sort the resulting models. Possible values are &#x201C;last_modified&#x201D;, &#x201C;trending_score&#x201D;,
&#x201C;created_at&#x201D;, &#x201C;downloads&#x201D; and &#x201C;likes&#x201D;.`,name:"sort"},{anchor:"huggingface_hub.HfApi.list_datasets.direction",description:`<strong>direction</strong> (<code>Literal[-1]</code> or <code>int</code>, <em>optional</em>) &#x2014;
Direction in which to sort. The value <code>-1</code> sorts by descending
order while all other values sort by ascending order.`,name:"direction"},{anchor:"huggingface_hub.HfApi.list_datasets.limit",description:`<strong>limit</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The limit on the number of datasets fetched. Leaving this option
to <code>None</code> fetches all datasets.`,name:"limit"},{anchor:"huggingface_hub.HfApi.list_datasets.expand",description:`<strong>expand</strong> (<code>list[ExpandDatasetProperty_T]</code>, <em>optional</em>) &#x2014;
List properties to return in the response. When used, only the properties in the list will be returned.
This parameter cannot be used if <code>full</code> is passed.
Possible values are <code>&quot;author&quot;</code>, <code>&quot;cardData&quot;</code>, <code>&quot;citation&quot;</code>, <code>&quot;createdAt&quot;</code>, <code>&quot;disabled&quot;</code>, <code>&quot;description&quot;</code>, <code>&quot;downloads&quot;</code>, <code>&quot;downloadsAllTime&quot;</code>, <code>&quot;gated&quot;</code>, <code>&quot;lastModified&quot;</code>, <code>&quot;likes&quot;</code>, <code>&quot;paperswithcode_id&quot;</code>, <code>&quot;private&quot;</code>, <code>&quot;siblings&quot;</code>, <code>&quot;sha&quot;</code>, <code>&quot;tags&quot;</code>, <code>&quot;trendingScore&quot;</code>, <code>&quot;usedStorage&quot;</code>, and <code>&quot;resourceGroup&quot;</code>.`,name:"expand"},{anchor:"huggingface_hub.HfApi.list_datasets.full",description:`<strong>full</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to fetch all dataset data, including the <code>last_modified</code>,
the <code>card_data</code> and  the files. Can contain useful information such as the
PapersWithCode ID.`,name:"full"},{anchor:"huggingface_hub.HfApi.list_datasets.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1992",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>an iterable of <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.DatasetInfo"
>huggingface_hub.hf_api.DatasetInfo</a> objects.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterable[DatasetInfo]</code></p>
`}}),ha=new I({props:{anchor:"huggingface_hub.HfApi.list_datasets.example",$$slots:{default:[i4]},$$scope:{ctx:q}}}),fa=new I({props:{anchor:"huggingface_hub.HfApi.list_datasets.example-2",$$slots:{default:[c4]},$$scope:{ctx:q}}}),ri=new M({props:{name:"list_inference_catalog",anchor:"huggingface_hub.HfApi.list_inference_catalog",parameters:[{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_inference_catalog.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7661",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A list of model IDs available in the catalog.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>List<code>str</code></p>
`}}),ci=new M({props:{name:"list_inference_endpoints",anchor:"huggingface_hub.HfApi.list_inference_endpoints",parameters:[{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_inference_endpoints.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace to list endpoints for. Defaults to the current user. Set to <code>&quot;*&quot;</code> to list all endpoints
from all namespaces (i.e. personal namespace and all orgs the user belongs to).`,name:"namespace"},{anchor:"huggingface_hub.HfApi.list_inference_endpoints.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7322",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A list of all inference endpoints for the given namespace.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>list<a
  href="/docs/huggingface_hub/main/en/package_reference/inference_endpoints#huggingface_hub.InferenceEndpoint"
>InferenceEndpoint</a></p>
`}}),ma=new I({props:{anchor:"huggingface_hub.HfApi.list_inference_endpoints.example",$$slots:{default:[l4]},$$scope:{ctx:q}}}),li=new M({props:{name:"list_jobs",anchor:"huggingface_hub.HfApi.list_jobs",parameters:[{name:"timeout",val:": Optional[int] = None"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_jobs.timeout",description:`<strong>timeout</strong> (<code>float</code>, <em>optional</em>) &#x2014;
Whether to set a timeout for the request to the Hub.`,name:"timeout"},{anchor:"huggingface_hub.HfApi.list_jobs.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace from where it lists the jobs. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.list_jobs.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L10018"}}),di=new M({props:{name:"list_lfs_files",anchor:"huggingface_hub.HfApi.list_lfs_files",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_lfs_files.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository for which you are listing LFS files.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.list_lfs_files.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Type of repository. Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if listing from a dataset or space, <code>None</code> or
<code>&quot;model&quot;</code> if listing from a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.list_lfs_files.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L3473",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>An iterator of <code>LFSFileInfo</code> objects.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterable[LFSFileInfo]</code></p>
`}}),ba=new I({props:{anchor:"huggingface_hub.HfApi.list_lfs_files.example",$$slots:{default:[d4]},$$scope:{ctx:q}}}),pi=new M({props:{name:"list_liked_repos",anchor:"huggingface_hub.HfApi.list_liked_repos",parameters:[{name:"user",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_liked_repos.user",description:`<strong>user</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Name of the user for which you want to fetch the likes.`,name:"user"},{anchor:"huggingface_hub.HfApi.list_liked_repos.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2366",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>object containing the user name and 3 lists of repo ids (1 for
models, 1 for datasets and 1 for Spaces).</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.UserLikes"
>UserLikes</a></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If <code>user</code> is not passed and no token found (either from argument or from machine).</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>ValueError</code></p>
`}}),ya=new I({props:{anchor:"huggingface_hub.HfApi.list_liked_repos.example",$$slots:{default:[p4]},$$scope:{ctx:q}}}),gi=new M({props:{name:"list_models",anchor:"huggingface_hub.HfApi.list_models",parameters:[{name:"filter",val:": Union[str, Iterable[str], None] = None"},{name:"author",val:": Optional[str] = None"},{name:"apps",val:": Optional[Union[str, list[str]]] = None"},{name:"gated",val:": Optional[bool] = None"},{name:"inference",val:": Optional[Literal['warm']] = None"},{name:"inference_provider",val:": Optional[Union[Literal['all'], 'PROVIDER_T', list['PROVIDER_T']]] = None"},{name:"model_name",val:": Optional[str] = None"},{name:"trained_dataset",val:": Optional[Union[str, list[str]]] = None"},{name:"search",val:": Optional[str] = None"},{name:"pipeline_tag",val:": Optional[str] = None"},{name:"emissions_thresholds",val:": Optional[tuple[float, float]] = None"},{name:"sort",val:": Union[Literal['last_modified'], str, None] = None"},{name:"direction",val:": Optional[Literal[-1]] = None"},{name:"limit",val:": Optional[int] = None"},{name:"expand",val:": Optional[list[ExpandModelProperty_T]] = None"},{name:"full",val:": Optional[bool] = None"},{name:"cardData",val:": bool = False"},{name:"fetch_config",val:": bool = False"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_models.filter",description:`<strong>filter</strong> (<code>str</code> or <code>Iterable[str]</code>, <em>optional</em>) &#x2014;
A string or list of string to filter models on the Hub.
Models can be filtered by library, language, task, tags, and more.`,name:"filter"},{anchor:"huggingface_hub.HfApi.list_models.author",description:`<strong>author</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A string which identify the author (user or organization) of the
returned models.`,name:"author"},{anchor:"huggingface_hub.HfApi.list_models.apps",description:`<strong>apps</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string or list of strings to filter models on the Hub that
support the specified apps. Example values include <code>&quot;ollama&quot;</code> or <code>[&quot;ollama&quot;, &quot;vllm&quot;]</code>.`,name:"apps"},{anchor:"huggingface_hub.HfApi.list_models.gated",description:`<strong>gated</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
A boolean to filter models on the Hub that are gated or not. By default, all models are returned.
If <code>gated=True</code> is passed, only gated models are returned.
If <code>gated=False</code> is passed, only non-gated models are returned.`,name:"gated"},{anchor:"huggingface_hub.HfApi.list_models.inference",description:`<strong>inference</strong> (<code>Literal[&quot;warm&quot;]</code>, <em>optional</em>) &#x2014;
If &#x201C;warm&#x201D;, filter models on the Hub currently served by at least one provider.`,name:"inference"},{anchor:"huggingface_hub.HfApi.list_models.inference_provider",description:`<strong>inference_provider</strong> (<code>Literal[&quot;all&quot;]</code> or <code>str</code>, <em>optional</em>) &#x2014;
A string to filter models on the Hub that are served by a specific provider.
Pass <code>&quot;all&quot;</code> to get all models served by at least one provider.`,name:"inference_provider"},{anchor:"huggingface_hub.HfApi.list_models.model_name",description:`<strong>model_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A string that contain complete or partial names for models on the
Hub, such as &#x201C;bert&#x201D; or &#x201C;bert-base-cased&#x201D;`,name:"model_name"},{anchor:"huggingface_hub.HfApi.list_models.trained_dataset",description:`<strong>trained_dataset</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string tag or a list of string tags of the trained dataset for a
model on the Hub.`,name:"trained_dataset"},{anchor:"huggingface_hub.HfApi.list_models.search",description:`<strong>search</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A string that will be contained in the returned model ids.`,name:"search"},{anchor:"huggingface_hub.HfApi.list_models.pipeline_tag",description:`<strong>pipeline_tag</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A string pipeline tag to filter models on the Hub by, such as <code>summarization</code>.`,name:"pipeline_tag"},{anchor:"huggingface_hub.HfApi.list_models.emissions_thresholds",description:`<strong>emissions_thresholds</strong> (<code>Tuple</code>, <em>optional</em>) &#x2014;
A tuple of two ints or floats representing a minimum and maximum
carbon footprint to filter the resulting models with in grams.`,name:"emissions_thresholds"},{anchor:"huggingface_hub.HfApi.list_models.sort",description:`<strong>sort</strong> (<code>Literal[&quot;last_modified&quot;]</code> or <code>str</code>, <em>optional</em>) &#x2014;
The key with which to sort the resulting models. Possible values are &#x201C;last_modified&#x201D;, &#x201C;trending_score&#x201D;,
&#x201C;created_at&#x201D;, &#x201C;downloads&#x201D; and &#x201C;likes&#x201D;.`,name:"sort"},{anchor:"huggingface_hub.HfApi.list_models.direction",description:`<strong>direction</strong> (<code>Literal[-1]</code> or <code>int</code>, <em>optional</em>) &#x2014;
Direction in which to sort. The value <code>-1</code> sorts by descending
order while all other values sort by ascending order.`,name:"direction"},{anchor:"huggingface_hub.HfApi.list_models.limit",description:`<strong>limit</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The limit on the number of models fetched. Leaving this option
to <code>None</code> fetches all models.`,name:"limit"},{anchor:"huggingface_hub.HfApi.list_models.expand",description:`<strong>expand</strong> (<code>list[ExpandModelProperty_T]</code>, <em>optional</em>) &#x2014;
List properties to return in the response. When used, only the properties in the list will be returned.
This parameter cannot be used if <code>full</code>, <code>cardData</code> or <code>fetch_config</code> are passed.
Possible values are <code>&quot;author&quot;</code>, <code>&quot;cardData&quot;</code>, <code>&quot;config&quot;</code>, <code>&quot;createdAt&quot;</code>, <code>&quot;disabled&quot;</code>, <code>&quot;downloads&quot;</code>, <code>&quot;downloadsAllTime&quot;</code>, <code>&quot;gated&quot;</code>, <code>&quot;gguf&quot;</code>, <code>&quot;inference&quot;</code>, <code>&quot;inferenceProviderMapping&quot;</code>, <code>&quot;lastModified&quot;</code>, <code>&quot;library_name&quot;</code>, <code>&quot;likes&quot;</code>, <code>&quot;mask_token&quot;</code>, <code>&quot;model-index&quot;</code>, <code>&quot;pipeline_tag&quot;</code>, <code>&quot;private&quot;</code>, <code>&quot;safetensors&quot;</code>, <code>&quot;sha&quot;</code>, <code>&quot;siblings&quot;</code>, <code>&quot;spaces&quot;</code>, <code>&quot;tags&quot;</code>, <code>&quot;transformersInfo&quot;</code>, <code>&quot;trendingScore&quot;</code>, <code>&quot;widgetData&quot;</code>, and <code>&quot;resourceGroup&quot;</code>.`,name:"expand"},{anchor:"huggingface_hub.HfApi.list_models.full",description:`<strong>full</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to fetch all model data, including the <code>last_modified</code>,
the <code>sha</code>, the files and the <code>tags</code>. This is set to <code>True</code> by
default when using a filter.`,name:"full"},{anchor:"huggingface_hub.HfApi.list_models.cardData",description:`<strong>cardData</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to grab the metadata for the model as well. Can contain
useful information such as carbon emissions, metrics, and
datasets trained on.`,name:"cardData"},{anchor:"huggingface_hub.HfApi.list_models.fetch_config",description:`<strong>fetch_config</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to fetch the model configs as well. This is not included
in <code>full</code> due to its size.`,name:"fetch_config"},{anchor:"huggingface_hub.HfApi.list_models.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1792",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>an iterable of <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.ModelInfo"
>huggingface_hub.hf_api.ModelInfo</a> objects.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterable[ModelInfo]</code></p>
`}}),va=new I({props:{anchor:"huggingface_hub.HfApi.list_models.example",$$slots:{default:[g4]},$$scope:{ctx:q}}}),ui=new M({props:{name:"list_organization_followers",anchor:"huggingface_hub.HfApi.list_organization_followers",parameters:[{name:"organization",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_organization_followers.organization",description:`<strong>organization</strong> (<code>str</code>) &#x2014;
Name of the organization to get the followers of.`,name:"organization"},{anchor:"huggingface_hub.HfApi.list_organization_followers.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9601",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A list of <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.User"
>User</a> objects with the followers of the organization.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterable[User]</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 404 If the organization does not exist on the Hub.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),hi=new M({props:{name:"list_organization_members",anchor:"huggingface_hub.HfApi.list_organization_members",parameters:[{name:"organization",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_organization_members.organization",description:`<strong>organization</strong> (<code>str</code>) &#x2014;
Name of the organization to get the members of.`,name:"organization"},{anchor:"huggingface_hub.HfApi.list_organization_members.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9630",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A list of <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.User"
>User</a> objects with the members of the organization.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterable[User]</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 404 If the organization does not exist on the Hub.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),fi=new M({props:{name:"list_papers",anchor:"huggingface_hub.HfApi.list_papers",parameters:[{name:"query",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_papers.query",description:`<strong>query</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A search query string to find papers.
If provided, returns papers that match the query.`,name:"query"},{anchor:"huggingface_hub.HfApi.list_papers.token",description:`<strong>token</strong> (Union[bool, str, None], <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9714",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>an iterable of <code>huggingface_hub.hf_api.PaperInfo</code> objects.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterable[PaperInfo]</code></p>
`}}),$a=new I({props:{anchor:"huggingface_hub.HfApi.list_papers.example",$$slots:{default:[u4]},$$scope:{ctx:q}}}),mi=new M({props:{name:"list_pending_access_requests",anchor:"huggingface_hub.HfApi.list_pending_access_requests",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_pending_access_requests.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The id of the repo to get access requests for.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.list_pending_access_requests.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repo to get access requests for. Must be one of <code>model</code>, <code>dataset</code> or <code>space</code>.
Defaults to <code>model</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.list_pending_access_requests.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8493",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A list of <code>AccessRequest</code> objects. Each time contains a <code>username</code>, <code>email</code>,
<code>status</code> and <code>timestamp</code> attribute. If the gated repo has a custom form, the <code>fields</code> attribute will
be populated with user’s answers.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>list[AccessRequest]</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 400 if the repo is not gated.</li>
<li><code>HfHubHTTPError</code> —
HTTP 403 if you only have read-only access to the repo. This can be the case if you don’t have <code>write</code>
or <code>admin</code> role in the organization the repo belongs to or if you passed a <code>read</code> token.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),ka=new I({props:{anchor:"huggingface_hub.HfApi.list_pending_access_requests.example",$$slots:{default:[h4]},$$scope:{ctx:q}}}),_i=new M({props:{name:"list_rejected_access_requests",anchor:"huggingface_hub.HfApi.list_rejected_access_requests",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_rejected_access_requests.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The id of the repo to get access requests for.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.list_rejected_access_requests.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repo to get access requests for. Must be one of <code>model</code>, <code>dataset</code> or <code>space</code>.
Defaults to <code>model</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.list_rejected_access_requests.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8619",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A list of <code>AccessRequest</code> objects. Each time contains a <code>username</code>, <code>email</code>,
<code>status</code> and <code>timestamp</code> attribute. If the gated repo has a custom form, the <code>fields</code> attribute will
be populated with user’s answers.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>list[AccessRequest]</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 400 if the repo is not gated.</li>
<li><code>HfHubHTTPError</code> —
HTTP 403 if you only have read-only access to the repo. This can be the case if you don’t have <code>write</code>
or <code>admin</code> role in the organization the repo belongs to or if you passed a <code>read</code> token.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),ja=new I({props:{anchor:"huggingface_hub.HfApi.list_rejected_access_requests.example",$$slots:{default:[f4]},$$scope:{ctx:q}}}),bi=new M({props:{name:"list_repo_commits",anchor:"huggingface_hub.HfApi.list_repo_commits",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"},{name:"revision",val:": Optional[str] = None"},{name:"formatted",val:": bool = False"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_repo_commits.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.list_repo_commits.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if listing commits from a dataset or a Space, <code>None</code> or <code>&quot;model&quot;</code> if
listing from a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.list_repo_commits.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.list_repo_commits.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision to commit from. Defaults to the head of the <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.list_repo_commits.formatted",description:`<strong>formatted</strong> (<code>bool</code>) &#x2014;
Whether to return the HTML-formatted title and description of the commits. Defaults to False.`,name:"formatted"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L3230",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>list of objects containing information about the commits for a repo on the Hub.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>list[<a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.GitCommitInfo"
>GitCommitInfo</a>]</p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If repository is not found (error 404): wrong repo_id/repo_type, private but not authenticated or repo
does not exist.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> —
If revision is not found (error 404) on the repo.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a></p>
`}}),Ta=new I({props:{anchor:"huggingface_hub.HfApi.list_repo_commits.example",$$slots:{default:[m4]},$$scope:{ctx:q}}}),yi=new M({props:{name:"list_repo_files",anchor:"huggingface_hub.HfApi.list_repo_files",parameters:[{name:"repo_id",val:": str"},{name:"revision",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[str, bool, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_repo_files.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.list_repo_files.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The revision of the repository from which to get the information.`,name:"revision"},{anchor:"huggingface_hub.HfApi.list_repo_files.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to
a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.list_repo_files.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2916",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>the list of files in a given repository.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>list[str]</code></p>
`}}),vi=new M({props:{name:"list_repo_likers",anchor:"huggingface_hub.HfApi.list_repo_likers",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_repo_likers.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository to retrieve . Example: <code>&quot;user/my-cool-model&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.list_repo_likers.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.list_repo_likers.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2442",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>an iterable of <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.User"
>huggingface_hub.hf_api.User</a> objects.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterable[User]</code></p>
`}}),xi=new M({props:{name:"list_repo_refs",anchor:"huggingface_hub.HfApi.list_repo_refs",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"include_pull_requests",val:": bool = False"},{name:"token",val:": Union[str, bool, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_repo_refs.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.list_repo_refs.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if listing refs from a dataset or a Space,
<code>None</code> or <code>&quot;model&quot;</code> if listing from a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.list_repo_refs.include_pull_requests",description:`<strong>include_pull_requests</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to include refs from pull requests in the list. Defaults to <code>False</code>.`,name:"include_pull_requests"},{anchor:"huggingface_hub.HfApi.list_repo_refs.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L3158",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>object containing all information about branches and tags for a
repo on the Hub.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.GitRefs"
>GitRefs</a></p>
`}}),qa=new I({props:{anchor:"huggingface_hub.HfApi.list_repo_refs.example",$$slots:{default:[_4]},$$scope:{ctx:q}}}),wi=new M({props:{name:"list_repo_tree",anchor:"huggingface_hub.HfApi.list_repo_tree",parameters:[{name:"repo_id",val:": str"},{name:"path_in_repo",val:": Optional[str] = None"},{name:"recursive",val:": bool = False"},{name:"expand",val:": bool = False"},{name:"revision",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[str, bool, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_repo_tree.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.list_repo_tree.path_in_repo",description:`<strong>path_in_repo</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Relative path of the tree (folder) in the repo, for example:
<code>&quot;checkpoints/1fec34a/results&quot;</code>. Will default to the root tree (folder) of the repository.`,name:"path_in_repo"},{anchor:"huggingface_hub.HfApi.list_repo_tree.recursive",description:`<strong>recursive</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to list tree&#x2019;s files and folders recursively.`,name:"recursive"},{anchor:"huggingface_hub.HfApi.list_repo_tree.expand",description:`<strong>expand</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to fetch more information about the tree&#x2019;s files and folders (e.g. last commit and files&#x2019; security scan results). This
operation is more expensive for the server so only 50 results are returned per page (instead of 1000).
As pagination is implemented in <code>huggingface_hub</code>, this is transparent for you except for the time it
takes to get the results.`,name:"expand"},{anchor:"huggingface_hub.HfApi.list_repo_tree.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The revision of the repository from which to get the tree. Defaults to <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.list_repo_tree.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repository from which to get the tree (<code>&quot;model&quot;</code>, <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code>.
Defaults to <code>&quot;model&quot;</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.list_repo_tree.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2953",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The information about the tree’s files and folders, as an iterable of <code>RepoFile</code> and <code>RepoFolder</code> objects. The order of the files and folders is
not guaranteed.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterable[Union[RepoFile, RepoFolder]]</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If repository is not found (error 404): wrong repo_id/repo_type, private but not authenticated or repo
does not exist.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> —
If revision is not found (error 404) on the repo.</li>
<li><code>~utils.RemoteEntryNotFoundError</code> —
If the tree (folder) does not exist (error 404) on the repo.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> or <code>~utils.RemoteEntryNotFoundError</code></p>
`}}),Ha=new I({props:{anchor:"huggingface_hub.HfApi.list_repo_tree.example",$$slots:{default:[b4]},$$scope:{ctx:q}}}),Ia=new I({props:{anchor:"huggingface_hub.HfApi.list_repo_tree.example-2",$$slots:{default:[y4]},$$scope:{ctx:q}}}),$i=new M({props:{name:"list_scheduled_jobs",anchor:"huggingface_hub.HfApi.list_scheduled_jobs",parameters:[{name:"timeout",val:": Optional[int] = None"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_scheduled_jobs.timeout",description:`<strong>timeout</strong> (<code>float</code>, <em>optional</em>) &#x2014;
Whether to set a timeout for the request to the Hub.`,name:"timeout"},{anchor:"huggingface_hub.HfApi.list_scheduled_jobs.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace from where it lists the jobs. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.list_scheduled_jobs.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L10358"}}),ki=new M({props:{name:"list_spaces",anchor:"huggingface_hub.HfApi.list_spaces",parameters:[{name:"filter",val:": Union[str, Iterable[str], None] = None"},{name:"author",val:": Optional[str] = None"},{name:"search",val:": Optional[str] = None"},{name:"datasets",val:": Union[str, Iterable[str], None] = None"},{name:"models",val:": Union[str, Iterable[str], None] = None"},{name:"linked",val:": bool = False"},{name:"sort",val:": Union[Literal['last_modified'], str, None] = None"},{name:"direction",val:": Optional[Literal[-1]] = None"},{name:"limit",val:": Optional[int] = None"},{name:"expand",val:": Optional[list[ExpandSpaceProperty_T]] = None"},{name:"full",val:": Optional[bool] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_spaces.filter",description:`<strong>filter</strong> (<code>str</code> or <code>Iterable</code>, <em>optional</em>) &#x2014;
A string tag or list of tags that can be used to identify Spaces on the Hub.`,name:"filter"},{anchor:"huggingface_hub.HfApi.list_spaces.author",description:`<strong>author</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A string which identify the author of the returned Spaces.`,name:"author"},{anchor:"huggingface_hub.HfApi.list_spaces.search",description:`<strong>search</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A string that will be contained in the returned Spaces.`,name:"search"},{anchor:"huggingface_hub.HfApi.list_spaces.datasets",description:`<strong>datasets</strong> (<code>str</code> or <code>Iterable</code>, <em>optional</em>) &#x2014;
Whether to return Spaces that make use of a dataset.
The name of a specific dataset can be passed as a string.`,name:"datasets"},{anchor:"huggingface_hub.HfApi.list_spaces.models",description:`<strong>models</strong> (<code>str</code> or <code>Iterable</code>, <em>optional</em>) &#x2014;
Whether to return Spaces that make use of a model.
The name of a specific model can be passed as a string.`,name:"models"},{anchor:"huggingface_hub.HfApi.list_spaces.linked",description:`<strong>linked</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to return Spaces that make use of either a model or a dataset.`,name:"linked"},{anchor:"huggingface_hub.HfApi.list_spaces.sort",description:`<strong>sort</strong> (<code>Literal[&quot;last_modified&quot;]</code> or <code>str</code>, <em>optional</em>) &#x2014;
The key with which to sort the resulting models. Possible values are &#x201C;last_modified&#x201D;, &#x201C;trending_score&#x201D;,
&#x201C;created_at&#x201D; and &#x201C;likes&#x201D;.`,name:"sort"},{anchor:"huggingface_hub.HfApi.list_spaces.direction",description:`<strong>direction</strong> (<code>Literal[-1]</code> or <code>int</code>, <em>optional</em>) &#x2014;
Direction in which to sort. The value <code>-1</code> sorts by descending
order while all other values sort by ascending order.`,name:"direction"},{anchor:"huggingface_hub.HfApi.list_spaces.limit",description:`<strong>limit</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The limit on the number of Spaces fetched. Leaving this option
to <code>None</code> fetches all Spaces.`,name:"limit"},{anchor:"huggingface_hub.HfApi.list_spaces.expand",description:`<strong>expand</strong> (<code>list[ExpandSpaceProperty_T]</code>, <em>optional</em>) &#x2014;
List properties to return in the response. When used, only the properties in the list will be returned.
This parameter cannot be used if <code>full</code> is passed.
Possible values are <code>&quot;author&quot;</code>, <code>&quot;cardData&quot;</code>, <code>&quot;datasets&quot;</code>, <code>&quot;disabled&quot;</code>, <code>&quot;lastModified&quot;</code>, <code>&quot;createdAt&quot;</code>, <code>&quot;likes&quot;</code>, <code>&quot;models&quot;</code>, <code>&quot;private&quot;</code>, <code>&quot;runtime&quot;</code>, <code>&quot;sdk&quot;</code>, <code>&quot;siblings&quot;</code>, <code>&quot;sha&quot;</code>, <code>&quot;subdomain&quot;</code>, <code>&quot;tags&quot;</code>, <code>&quot;trendingScore&quot;</code>, <code>&quot;usedStorage&quot;</code>, and <code>&quot;resourceGroup&quot;</code>.`,name:"expand"},{anchor:"huggingface_hub.HfApi.list_spaces.full",description:`<strong>full</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to fetch all Spaces data, including the <code>last_modified</code>, <code>siblings</code>
and <code>card_data</code> fields.`,name:"full"},{anchor:"huggingface_hub.HfApi.list_spaces.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2205",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>an iterable of <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.SpaceInfo"
>huggingface_hub.hf_api.SpaceInfo</a> objects.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterable[SpaceInfo]</code></p>
`}}),ji=new M({props:{name:"list_user_followers",anchor:"huggingface_hub.HfApi.list_user_followers",parameters:[{name:"username",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_user_followers.username",description:`<strong>username</strong> (<code>str</code>) &#x2014;
Username of the user to get the followers of.`,name:"username"},{anchor:"huggingface_hub.HfApi.list_user_followers.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9658",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A list of <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.User"
>User</a> objects with the followers of the user.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterable[User]</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 404 If the user does not exist on the Hub.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),Ti=new M({props:{name:"list_user_following",anchor:"huggingface_hub.HfApi.list_user_following",parameters:[{name:"username",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_user_following.username",description:`<strong>username</strong> (<code>str</code>) &#x2014;
Username of the user to get the users followed by.`,name:"username"},{anchor:"huggingface_hub.HfApi.list_user_following.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9686",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A list of <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.User"
>User</a> objects with the users followed by the user.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Iterable[User]</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 404 If the user does not exist on the Hub.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),Mi=new M({props:{name:"list_webhooks",anchor:"huggingface_hub.HfApi.list_webhooks",parameters:[{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_webhooks.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved token, which is the recommended
method for authentication (see <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8981",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>List of webhook info objects.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>list[WebhookInfo]</code></p>
`}}),Na=new I({props:{anchor:"huggingface_hub.HfApi.list_webhooks.example",$$slots:{default:[v4]},$$scope:{ctx:q}}}),qi=new M({props:{name:"merge_pull_request",anchor:"huggingface_hub.HfApi.merge_pull_request",parameters:[{name:"repo_id",val:": str"},{name:"discussion_num",val:": int"},{name:"token",val:": Union[bool, str, None] = None"},{name:"comment",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.merge_pull_request.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.merge_pull_request.discussion_num",description:`<strong>discussion_num</strong> (<code>int</code>) &#x2014;
The number of the Discussion or Pull Request . Must be a strictly positive integer.`,name:"discussion_num"},{anchor:"huggingface_hub.HfApi.merge_pull_request.comment",description:`<strong>comment</strong> (<code>str</code>, <em>optional</em>) &#x2014;
An optional comment to post with the status change.`,name:"comment"},{anchor:"huggingface_hub.HfApi.merge_pull_request.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.merge_pull_request.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6600",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>the status change event</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/community#huggingface_hub.DiscussionStatusChange"
>DiscussionStatusChange</a></p>
`}}),Ii=new M({props:{name:"model_info",anchor:"huggingface_hub.HfApi.model_info",parameters:[{name:"repo_id",val:": str"},{name:"revision",val:": Optional[str] = None"},{name:"timeout",val:": Optional[float] = None"},{name:"securityStatus",val:": Optional[bool] = None"},{name:"files_metadata",val:": bool = False"},{name:"expand",val:": Optional[list[ExpandModelProperty_T]] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.model_info.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.model_info.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The revision of the model repository from which to get the
information.`,name:"revision"},{anchor:"huggingface_hub.HfApi.model_info.timeout",description:`<strong>timeout</strong> (<code>float</code>, <em>optional</em>) &#x2014;
Whether to set a timeout for the request to the Hub.`,name:"timeout"},{anchor:"huggingface_hub.HfApi.model_info.securityStatus",description:`<strong>securityStatus</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to retrieve the security status from the model
repository as well. The security status will be returned in the <code>security_repo_status</code> field.`,name:"securityStatus"},{anchor:"huggingface_hub.HfApi.model_info.files_metadata",description:`<strong>files_metadata</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to retrieve metadata for files in the repository
(size, LFS metadata, etc). Defaults to <code>False</code>.`,name:"files_metadata"},{anchor:"huggingface_hub.HfApi.model_info.expand",description:`<strong>expand</strong> (<code>list[ExpandModelProperty_T]</code>, <em>optional</em>) &#x2014;
List properties to return in the response. When used, only the properties in the list will be returned.
This parameter cannot be used if <code>securityStatus</code> or <code>files_metadata</code> are passed.
Possible values are <code>&quot;author&quot;</code>, <code>&quot;baseModels&quot;</code>, <code>&quot;cardData&quot;</code>, <code>&quot;childrenModelCount&quot;</code>, <code>&quot;config&quot;</code>, <code>&quot;createdAt&quot;</code>, <code>&quot;disabled&quot;</code>, <code>&quot;downloads&quot;</code>, <code>&quot;downloadsAllTime&quot;</code>, <code>&quot;gated&quot;</code>, <code>&quot;gguf&quot;</code>, <code>&quot;inference&quot;</code>, <code>&quot;inferenceProviderMapping&quot;</code>, <code>&quot;lastModified&quot;</code>, <code>&quot;library_name&quot;</code>, <code>&quot;likes&quot;</code>, <code>&quot;mask_token&quot;</code>, <code>&quot;model-index&quot;</code>, <code>&quot;pipeline_tag&quot;</code>, <code>&quot;private&quot;</code>, <code>&quot;safetensors&quot;</code>, <code>&quot;sha&quot;</code>, <code>&quot;siblings&quot;</code>, <code>&quot;spaces&quot;</code>, <code>&quot;tags&quot;</code>, <code>&quot;transformersInfo&quot;</code>, <code>&quot;trendingScore&quot;</code>, <code>&quot;widgetData&quot;</code>, <code>&quot;usedStorage&quot;</code>, and <code>&quot;resourceGroup&quot;</code>.`,name:"expand"},{anchor:"huggingface_hub.HfApi.model_info.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2481",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The model repository information.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.ModelInfo"
>huggingface_hub.hf_api.ModelInfo</a></p>
`}}),Ci=new M({props:{name:"move_repo",anchor:"huggingface_hub.HfApi.move_repo",parameters:[{name:"from_id",val:": str"},{name:"to_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[str, bool, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.move_repo.from_id",description:`<strong>from_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>. Original repository identifier.`,name:"from_id"},{anchor:"huggingface_hub.HfApi.move_repo.to_id",description:`<strong>to_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>. Final repository identifier.`,name:"to_id"},{anchor:"huggingface_hub.HfApi.move_repo.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.move_repo.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L3864"}}),Ai=new M({props:{name:"paper_info",anchor:"huggingface_hub.HfApi.paper_info",parameters:[{name:"id",val:": str"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.paper_info.id",description:`<strong>id</strong> (<code>str</code>, <strong>optional</strong>) &#x2014;
ArXiv id of the paper.`,name:"id"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9760",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A <code>PaperInfo</code> object.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>PaperInfo</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 404 If the paper does not exist on the Hub.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),Ni=new M({props:{name:"parse_safetensors_file_metadata",anchor:"huggingface_hub.HfApi.parse_safetensors_file_metadata",parameters:[{name:"repo_id",val:": str"},{name:"filename",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.parse_safetensors_file_metadata.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A user or an organization name and a repo name separated by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.parse_safetensors_file_metadata.filename",description:`<strong>filename</strong> (<code>str</code>) &#x2014;
The name of the file in the repo.`,name:"filename"},{anchor:"huggingface_hub.HfApi.parse_safetensors_file_metadata.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if the file is in a dataset or space, <code>None</code> or <code>&quot;model&quot;</code> if in a
model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.parse_safetensors_file_metadata.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision to fetch the file from. Can be a branch name, a tag, or a commit hash. Defaults to the
head of the <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.parse_safetensors_file_metadata.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L5629",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>information related to a safetensors file.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>SafetensorsFileMetadata</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>NotASafetensorsRepoError</code> —
If the repo is not a safetensors repo i.e. doesn’t have either a
<code>model.safetensors</code> or a <code>model.safetensors.index.json</code> file.</li>
<li><code>SafetensorsParsingError</code> —
If a safetensors file header couldn’t be parsed correctly.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>NotASafetensorsRepoError</code> or <code>SafetensorsParsingError</code></p>
`}}),Ei=new M({props:{name:"pause_inference_endpoint",anchor:"huggingface_hub.HfApi.pause_inference_endpoint",parameters:[{name:"name",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.pause_inference_endpoint.name",description:`<strong>name</strong> (<code>str</code>) &#x2014;
The name of the Inference Endpoint to pause.`,name:"name"},{anchor:"huggingface_hub.HfApi.pause_inference_endpoint.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace in which the Inference Endpoint is located. Defaults to the current user.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.pause_inference_endpoint.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7903",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>information about the paused Inference Endpoint.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/inference_endpoints#huggingface_hub.InferenceEndpoint"
>InferenceEndpoint</a></p>
`}}),Ri=new M({props:{name:"pause_space",anchor:"huggingface_hub.HfApi.pause_space",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.pause_space.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
ID of the Space to pause. Example: <code>&quot;Salesforce/BLIP2&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.pause_space.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7048",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Runtime information about your Space including <code>stage=PAUSED</code> and requested hardware.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceRuntime"
>SpaceRuntime</a></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If your Space is not found (error 404). Most probably wrong repo_id or your space is private but you
are not authenticated.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a> —
403 Forbidden: only the owner of a Space can pause it. If you want to manage a Space that you don’t
own, either ask the owner by opening a Discussion or duplicate the Space.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.BadRequestError"
>BadRequestError</a> —
If your Space is a static Space. Static Spaces are always running and never billed. If you want to hide
a static Space, you can set it to private.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.BadRequestError"
>BadRequestError</a></p>
`}}),Di=new M({props:{name:"permanently_delete_lfs_files",anchor:"huggingface_hub.HfApi.permanently_delete_lfs_files",parameters:[{name:"repo_id",val:": str"},{name:"lfs_files",val:": Iterable[LFSFileInfo]"},{name:"rewrite_history",val:": bool = True"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.permanently_delete_lfs_files.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository for which you are listing LFS files.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.permanently_delete_lfs_files.lfs_files",description:`<strong>lfs_files</strong> (<code>Iterable[LFSFileInfo]</code>) &#x2014;
An iterable of <code>LFSFileInfo</code> items to permanently delete from the repo. Use <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_lfs_files">list_lfs_files()</a> to list
all LFS files from a repo.`,name:"lfs_files"},{anchor:"huggingface_hub.HfApi.permanently_delete_lfs_files.rewrite_history",description:`<strong>rewrite_history</strong> (<code>bool</code>, <em>optional</em>, default to <code>True</code>) &#x2014;
Whether to rewrite repository history to remove file pointers referencing the deleted LFS files (recommended).`,name:"rewrite_history"},{anchor:"huggingface_hub.HfApi.permanently_delete_lfs_files.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Type of repository. Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if listing from a dataset or space, <code>None</code> or
<code>&quot;model&quot;</code> if listing from a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.permanently_delete_lfs_files.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L3527"}}),Ra=new I({props:{anchor:"huggingface_hub.HfApi.permanently_delete_lfs_files.example",$$slots:{default:[x4]},$$scope:{ctx:q}}}),Zi=new M({props:{name:"preupload_lfs_files",anchor:"huggingface_hub.HfApi.preupload_lfs_files",parameters:[{name:"repo_id",val:": str"},{name:"additions",val:": Iterable[CommitOperationAdd]"},{name:"token",val:": Union[str, bool, None] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"create_pr",val:": Optional[bool] = None"},{name:"num_threads",val:": int = 5"},{name:"free_memory",val:": bool = True"},{name:"gitignore_content",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.preupload_lfs_files.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository in which you will commit the files, for example: <code>&quot;username/custom_transformers&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.preupload_lfs_files.operations",description:`<strong>operations</strong> (<code>Iterable</code> of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitOperationAdd">CommitOperationAdd</a>) &#x2014;
The list of files to upload. Warning: the objects in this list will be mutated to include information
relative to the upload. Do not reuse the same objects for multiple commits.`,name:"operations"},{anchor:"huggingface_hub.HfApi.preupload_lfs_files.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.preupload_lfs_files.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of repository to upload to (e.g. <code>&quot;model&quot;</code> -default-, <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code>).`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.preupload_lfs_files.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision to commit from. Defaults to the head of the <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.preupload_lfs_files.create_pr",description:`<strong>create_pr</strong> (<code>boolean</code>, <em>optional</em>) &#x2014;
Whether or not you plan to create a Pull Request with that commit. Defaults to <code>False</code>.`,name:"create_pr"},{anchor:"huggingface_hub.HfApi.preupload_lfs_files.num_threads",description:`<strong>num_threads</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of concurrent threads for uploading files. Defaults to 5.
Setting it to 2 means at most 2 files will be uploaded concurrently.`,name:"num_threads"},{anchor:"huggingface_hub.HfApi.preupload_lfs_files.gitignore_content",description:`<strong>gitignore_content</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The content of the <code>.gitignore</code> file to know which files should be ignored. The order of priority
is to first check if <code>gitignore_content</code> is passed, then check if the <code>.gitignore</code> file is present
in the list of files to commit and finally default to the <code>.gitignore</code> file already hosted on the Hub
(if any).`,name:"gitignore_content"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L4247"}}),Da=new I({props:{anchor:"huggingface_hub.HfApi.preupload_lfs_files.example",$$slots:{default:[w4]},$$scope:{ctx:q}}}),Wi=new M({props:{name:"reject_access_request",anchor:"huggingface_hub.HfApi.reject_access_request",parameters:[{name:"repo_id",val:": str"},{name:"user",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"rejection_reason",val:": Optional[str]"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.reject_access_request.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The id of the repo to reject access request for.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.reject_access_request.user",description:`<strong>user</strong> (<code>str</code>) &#x2014;
The username of the user which access request should be rejected.`,name:"user"},{anchor:"huggingface_hub.HfApi.reject_access_request.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repo to reject access request for. Must be one of <code>model</code>, <code>dataset</code> or <code>space</code>.
Defaults to <code>model</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.reject_access_request.rejection_reason",description:`<strong>rejection_reason</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Optional rejection reason that will be visible to the user (max 200 characters).`,name:"rejection_reason"},{anchor:"huggingface_hub.HfApi.reject_access_request.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8792",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>HfHubHTTPError</code> —
HTTP 400 if the repo is not gated.</li>
<li><code>HfHubHTTPError</code> —
HTTP 403 if you only have read-only access to the repo. This can be the case if you don’t have <code>write</code>
or <code>admin</code> role in the organization the repo belongs to or if you passed a <code>read</code> token.</li>
<li><code>HfHubHTTPError</code> —
HTTP 404 if the user does not exist on the Hub.</li>
<li><code>HfHubHTTPError</code> —
HTTP 404 if the user access request cannot be found.</li>
<li><code>HfHubHTTPError</code> —
HTTP 404 if the user access request is already in the rejected list.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>HfHubHTTPError</code></p>
`}}),Li=new M({props:{name:"rename_discussion",anchor:"huggingface_hub.HfApi.rename_discussion",parameters:[{name:"repo_id",val:": str"},{name:"discussion_num",val:": int"},{name:"new_title",val:": str"},{name:"token",val:": Union[bool, str, None] = None"},{name:"repo_type",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.rename_discussion.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.rename_discussion.discussion_num",description:`<strong>discussion_num</strong> (<code>int</code>) &#x2014;
The number of the Discussion or Pull Request . Must be a strictly positive integer.`,name:"discussion_num"},{anchor:"huggingface_hub.HfApi.rename_discussion.new_title",description:`<strong>new_title</strong> (<code>str</code>) &#x2014;
The new title for the discussion`,name:"new_title"},{anchor:"huggingface_hub.HfApi.rename_discussion.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.rename_discussion.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6458",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>the title change event</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/community#huggingface_hub.DiscussionTitleChange"
>DiscussionTitleChange</a></p>
`}}),Ga=new I({props:{anchor:"huggingface_hub.HfApi.rename_discussion.example",$$slots:{default:[$4]},$$scope:{ctx:q}}}),Vi=new M({props:{name:"repo_exists",anchor:"huggingface_hub.HfApi.repo_exists",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[str, bool, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.repo_exists.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.repo_exists.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if getting repository info from a dataset or a space,
<code>None</code> or <code>&quot;model&quot;</code> if getting repository info from a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.repo_exists.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2767",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>True if the repository exists, False otherwise.</p>
`}}),Za=new I({props:{anchor:"huggingface_hub.HfApi.repo_exists.example",$$slots:{default:[k4]},$$scope:{ctx:q}}}),Yi=new M({props:{name:"repo_info",anchor:"huggingface_hub.HfApi.repo_info",parameters:[{name:"repo_id",val:": str"},{name:"revision",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"timeout",val:": Optional[float] = None"},{name:"files_metadata",val:": bool = False"},{name:"expand",val:": Optional[Union[ExpandModelProperty_T, ExpandDatasetProperty_T, ExpandSpaceProperty_T]] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.repo_info.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.repo_info.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The revision of the repository from which to get the
information.`,name:"revision"},{anchor:"huggingface_hub.HfApi.repo_info.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if getting repository info from a dataset or a space,
<code>None</code> or <code>&quot;model&quot;</code> if getting repository info from a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.repo_info.timeout",description:`<strong>timeout</strong> (<code>float</code>, <em>optional</em>) &#x2014;
Whether to set a timeout for the request to the Hub.`,name:"timeout"},{anchor:"huggingface_hub.HfApi.repo_info.expand",description:`<strong>expand</strong> (<code>ExpandModelProperty_T</code> or <code>ExpandDatasetProperty_T</code> or <code>ExpandSpaceProperty_T</code>, <em>optional</em>) &#x2014;
List properties to return in the response. When used, only the properties in the list will be returned.
This parameter cannot be used if <code>files_metadata</code> is passed.
For an exhaustive list of available properties, check out <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.model_info">model_info()</a>, <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.dataset_info">dataset_info()</a> or <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.space_info">space_info()</a>.`,name:"expand"},{anchor:"huggingface_hub.HfApi.repo_info.files_metadata",description:`<strong>files_metadata</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to retrieve metadata for files in the repository
(size, LFS metadata, etc). Defaults to <code>False</code>.`,name:"files_metadata"},{anchor:"huggingface_hub.HfApi.repo_info.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2696",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The repository information, as a
<a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.DatasetInfo"
>huggingface_hub.hf_api.DatasetInfo</a>, <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.ModelInfo"
>huggingface_hub.hf_api.ModelInfo</a>
or <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.SpaceInfo"
>huggingface_hub.hf_api.SpaceInfo</a> object.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Union[SpaceInfo, DatasetInfo, ModelInfo]</code></p>
`}}),Pi=new M({props:{name:"request_space_hardware",anchor:"huggingface_hub.HfApi.request_space_hardware",parameters:[{name:"repo_id",val:": str"},{name:"hardware",val:": SpaceHardware"},{name:"token",val:": Union[bool, str, None] = None"},{name:"sleep_time",val:": Optional[int] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.request_space_hardware.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
ID of the repo to update. Example: <code>&quot;bigcode/in-the-stack&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.request_space_hardware.hardware",description:`<strong>hardware</strong> (<code>str</code> or <a href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceHardware">SpaceHardware</a>) &#x2014;
Hardware on which to run the Space. Example: <code>&quot;t4-medium&quot;</code>.`,name:"hardware"},{anchor:"huggingface_hub.HfApi.request_space_hardware.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.request_space_hardware.sleep_time",description:`<strong>sleep_time</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of seconds of inactivity to wait before a Space is put to sleep. Set to <code>-1</code> if you don&#x2019;t want
your Space to sleep (default behavior for upgraded hardware). For free hardware, you can&#x2019;t configure
the sleep time (value is fixed to 48 hours of inactivity).
See <a href="https://huggingface.co/docs/hub/spaces-gpus#sleep-time" rel="nofollow">https://huggingface.co/docs/hub/spaces-gpus#sleep-time</a> for more details.`,name:"sleep_time"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L6950",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Runtime information about a Space including Space stage and hardware.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceRuntime"
>SpaceRuntime</a></p>
`}}),Oi=new M({props:{name:"request_space_storage",anchor:"huggingface_hub.HfApi.request_space_storage",parameters:[{name:"repo_id",val:": str"},{name:"storage",val:": SpaceStorage"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.request_space_storage.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
ID of the Space to update. Example: <code>&quot;open-llm-leaderboard/open_llm_leaderboard&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.request_space_storage.storage",description:`<strong>storage</strong> (<code>str</code> or <a href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceStorage">SpaceStorage</a>) &#x2014;
Storage tier. Either &#x2018;small&#x2019;, &#x2018;medium&#x2019;, or &#x2018;large&#x2019;.`,name:"storage"},{anchor:"huggingface_hub.HfApi.request_space_storage.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7251",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Runtime information about a Space including Space stage and hardware.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceRuntime"
>SpaceRuntime</a></p>
`}}),Ki=new M({props:{name:"restart_space",anchor:"huggingface_hub.HfApi.restart_space",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Union[bool, str, None] = None"},{name:"factory_reboot",val:": bool = False"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.restart_space.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
ID of the Space to restart. Example: <code>&quot;Salesforce/BLIP2&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.restart_space.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.restart_space.factory_reboot",description:`<strong>factory_reboot</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If <code>True</code>, the Space will be rebuilt from scratch without caching any requirements.`,name:"factory_reboot"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7087",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Runtime information about your Space.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceRuntime"
>SpaceRuntime</a></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If your Space is not found (error 404). Most probably wrong repo_id or your space is private but you
are not authenticated.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a> —
403 Forbidden: only the owner of a Space can restart it. If you want to restart a Space that you don’t
own, either ask the owner by opening a Discussion or duplicate the Space.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.BadRequestError"
>BadRequestError</a> —
If your Space is a static Space. Static Spaces are always running and never billed. If you want to hide
a static Space, you can set it to private.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.BadRequestError"
>BadRequestError</a></p>
`}}),ec=new M({props:{name:"resume_inference_endpoint",anchor:"huggingface_hub.HfApi.resume_inference_endpoint",parameters:[{name:"name",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"running_ok",val:": bool = True"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.resume_inference_endpoint.name",description:`<strong>name</strong> (<code>str</code>) &#x2014;
The name of the Inference Endpoint to resume.`,name:"name"},{anchor:"huggingface_hub.HfApi.resume_inference_endpoint.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace in which the Inference Endpoint is located. Defaults to the current user.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.resume_inference_endpoint.running_ok",description:`<strong>running_ok</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If <code>True</code>, the method will not raise an error if the Inference Endpoint is already running. Defaults to
<code>True</code>.`,name:"running_ok"},{anchor:"huggingface_hub.HfApi.resume_inference_endpoint.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7938",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>information about the resumed Inference Endpoint.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/inference_endpoints#huggingface_hub.InferenceEndpoint"
>InferenceEndpoint</a></p>
`}}),tc=new M({props:{name:"resume_scheduled_job",anchor:"huggingface_hub.HfApi.resume_scheduled_job",parameters:[{name:"scheduled_job_id",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.resume_scheduled_job.scheduled_job_id",description:`<strong>scheduled_job_id</strong> (<code>str</code>) &#x2014;
ID of the scheduled Job.`,name:"scheduled_job_id"},{anchor:"huggingface_hub.HfApi.resume_scheduled_job.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the scheduled Job is. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.resume_scheduled_job.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L10488"}}),nc=new M({props:{name:"revision_exists",anchor:"huggingface_hub.HfApi.revision_exists",parameters:[{name:"repo_id",val:": str"},{name:"revision",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[str, bool, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.revision_exists.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.revision_exists.revision",description:`<strong>revision</strong> (<code>str</code>) &#x2014;
The revision of the repository to check.`,name:"revision"},{anchor:"huggingface_hub.HfApi.revision_exists.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if getting repository info from a dataset or a space,
<code>None</code> or <code>&quot;model&quot;</code> if getting repository info from a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.revision_exists.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2811",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>True if the repository and the revision exists, False otherwise.</p>
`}}),Sa=new I({props:{anchor:"huggingface_hub.HfApi.revision_exists.example",$$slots:{default:[j4]},$$scope:{ctx:q}}}),oc=new M({props:{name:"run_as_future",anchor:"huggingface_hub.HfApi.run_as_future",parameters:[{name:"fn",val:": Callable[..., R]"},{name:"*args",val:""},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"huggingface_hub.HfApi.run_as_future.fn",description:`<strong>fn</strong> (<code>Callable</code>) &#x2014;
The method to run in the background.`,name:"fn"},{anchor:"huggingface_hub.HfApi.run_as_future.*args,",description:`<strong>*args,</strong> **kwargs &#x2014;
Arguments with which the method will be called.`,name:"*args,"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1697",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>a <a
  href="https://docs.python.org/3/library/concurrent.futures.html#future-objects"
  rel="nofollow"
>Future</a> instance to
get the result of the task.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Future</code></p>
`}}),Wa=new I({props:{anchor:"huggingface_hub.HfApi.run_as_future.example",$$slots:{default:[T4]},$$scope:{ctx:q}}}),ac=new M({props:{name:"run_job",anchor:"huggingface_hub.HfApi.run_job",parameters:[{name:"image",val:": str"},{name:"command",val:": list[str]"},{name:"env",val:": Optional[dict[str, Any]] = None"},{name:"secrets",val:": Optional[dict[str, Any]] = None"},{name:"flavor",val:": Optional[SpaceHardware] = None"},{name:"timeout",val:": Optional[Union[int, float, str]] = None"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.run_job.image",description:`<strong>image</strong> (<code>str</code>) &#x2014;
The Docker image to use.
Examples: <code>&quot;ubuntu&quot;</code>, <code>&quot;python:3.12&quot;</code>, <code>&quot;pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel&quot;</code>.
Example with an image from a Space: <code>&quot;hf.co/spaces/lhoestq/duckdb&quot;</code>.`,name:"image"},{anchor:"huggingface_hub.HfApi.run_job.command",description:`<strong>command</strong> (<code>list[str]</code>) &#x2014;
The command to run. Example: <code>[&quot;echo&quot;, &quot;hello&quot;]</code>.`,name:"command"},{anchor:"huggingface_hub.HfApi.run_job.env",description:`<strong>env</strong> (<code>dict[str, Any]</code>, <em>optional</em>) &#x2014;
Defines the environment variables for the Job.`,name:"env"},{anchor:"huggingface_hub.HfApi.run_job.secrets",description:`<strong>secrets</strong> (<code>dict[str, Any]</code>, <em>optional</em>) &#x2014;
Defines the secret environment variables for the Job.`,name:"secrets"},{anchor:"huggingface_hub.HfApi.run_job.flavor",description:`<strong>flavor</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Flavor for the hardware, as in Hugging Face Spaces. See <a href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceHardware">SpaceHardware</a> for possible values.
Defaults to <code>&quot;cpu-basic&quot;</code>.`,name:"flavor"},{anchor:"huggingface_hub.HfApi.run_job.timeout",description:`<strong>timeout</strong> (<code>Union[int, float, str]</code>, <em>optional</em>) &#x2014;
Max duration for the Job: int/float with s (seconds, default), m (minutes), h (hours) or d (days).
Example: <code>300</code> or <code>&quot;5m&quot;</code> for 5 minutes.`,name:"timeout"},{anchor:"huggingface_hub.HfApi.run_job.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the Job will be created. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.run_job.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9844"}}),La=new I({props:{anchor:"huggingface_hub.HfApi.run_job.example",$$slots:{default:[M4]},$$scope:{ctx:q}}}),Ba=new I({props:{anchor:"huggingface_hub.HfApi.run_job.example-2",$$slots:{default:[q4]},$$scope:{ctx:q}}}),sc=new M({props:{name:"run_uv_job",anchor:"huggingface_hub.HfApi.run_uv_job",parameters:[{name:"script",val:": str"},{name:"script_args",val:": Optional[list[str]] = None"},{name:"dependencies",val:": Optional[list[str]] = None"},{name:"python",val:": Optional[str] = None"},{name:"image",val:": Optional[str] = None"},{name:"env",val:": Optional[dict[str, Any]] = None"},{name:"secrets",val:": Optional[dict[str, Any]] = None"},{name:"flavor",val:": Optional[SpaceHardware] = None"},{name:"timeout",val:": Optional[Union[int, float, str]] = None"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"},{name:"_repo",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.run_uv_job.script",description:`<strong>script</strong> (<code>str</code>) &#x2014;
Path or URL of the UV script, or a command.`,name:"script"},{anchor:"huggingface_hub.HfApi.run_uv_job.script_args",description:`<strong>script_args</strong> (<code>list[str]</code>, <em>optional</em>) &#x2014;
Arguments to pass to the script or command.`,name:"script_args"},{anchor:"huggingface_hub.HfApi.run_uv_job.dependencies",description:`<strong>dependencies</strong> (<code>list[str]</code>, <em>optional</em>) &#x2014;
Dependencies to use to run the UV script.`,name:"dependencies"},{anchor:"huggingface_hub.HfApi.run_uv_job.python",description:`<strong>python</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Use a specific Python version. Default is 3.12.`,name:"python"},{anchor:"huggingface_hub.HfApi.run_uv_job.image",description:`<strong>image</strong> (<code>str</code>, <em>optional</em>, defaults to &#x201C;ghcr.io/astral-sh/uv &#x2014;python3.12-bookworm&#x201D;):
Use a custom Docker image with <code>uv</code> installed.`,name:"image"},{anchor:"huggingface_hub.HfApi.run_uv_job.env",description:`<strong>env</strong> (<code>dict[str, Any]</code>, <em>optional</em>) &#x2014;
Defines the environment variables for the Job.`,name:"env"},{anchor:"huggingface_hub.HfApi.run_uv_job.secrets",description:`<strong>secrets</strong> (<code>dict[str, Any]</code>, <em>optional</em>) &#x2014;
Defines the secret environment variables for the Job.`,name:"secrets"},{anchor:"huggingface_hub.HfApi.run_uv_job.flavor",description:`<strong>flavor</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Flavor for the hardware, as in Hugging Face Spaces. See <a href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceHardware">SpaceHardware</a> for possible values.
Defaults to <code>&quot;cpu-basic&quot;</code>.`,name:"flavor"},{anchor:"huggingface_hub.HfApi.run_uv_job.timeout",description:`<strong>timeout</strong> (<code>Union[int, float, str]</code>, <em>optional</em>) &#x2014;
Max duration for the Job: int/float with s (seconds, default), m (minutes), h (hours) or d (days).
Example: <code>300</code> or <code>&quot;5m&quot;</code> for 5 minutes.`,name:"timeout"},{anchor:"huggingface_hub.HfApi.run_uv_job.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the Job will be created. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.run_uv_job.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L10130"}}),Va=new I({props:{anchor:"huggingface_hub.HfApi.run_uv_job.example",$$slots:{default:[H4]},$$scope:{ctx:q}}}),Ya=new I({props:{anchor:"huggingface_hub.HfApi.run_uv_job.example-2",$$slots:{default:[I4]},$$scope:{ctx:q}}}),Xa=new I({props:{anchor:"huggingface_hub.HfApi.run_uv_job.example-3",$$slots:{default:[U4]},$$scope:{ctx:q}}}),rc=new M({props:{name:"scale_to_zero_inference_endpoint",anchor:"huggingface_hub.HfApi.scale_to_zero_inference_endpoint",parameters:[{name:"name",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.scale_to_zero_inference_endpoint.name",description:`<strong>name</strong> (<code>str</code>) &#x2014;
The name of the Inference Endpoint to scale to zero.`,name:"name"},{anchor:"huggingface_hub.HfApi.scale_to_zero_inference_endpoint.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace in which the Inference Endpoint is located. Defaults to the current user.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.scale_to_zero_inference_endpoint.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7984",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>information about the scaled-to-zero Inference Endpoint.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/inference_endpoints#huggingface_hub.InferenceEndpoint"
>InferenceEndpoint</a></p>
`}}),ic=new M({props:{name:"set_space_sleep_time",anchor:"huggingface_hub.HfApi.set_space_sleep_time",parameters:[{name:"repo_id",val:": str"},{name:"sleep_time",val:": int"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.set_space_sleep_time.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
ID of the repo to update. Example: <code>&quot;bigcode/in-the-stack&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.set_space_sleep_time.sleep_time",description:`<strong>sleep_time</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of seconds of inactivity to wait before a Space is put to sleep. Set to <code>-1</code> if you don&#x2019;t want
your Space to pause (default behavior for upgraded hardware). For free hardware, you can&#x2019;t configure
the sleep time (value is fixed to 48 hours of inactivity).
See <a href="https://huggingface.co/docs/hub/spaces-gpus#sleep-time" rel="nofollow">https://huggingface.co/docs/hub/spaces-gpus#sleep-time</a> for more details.`,name:"sleep_time"},{anchor:"huggingface_hub.HfApi.set_space_sleep_time.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7000",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Runtime information about a Space including Space stage and hardware.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceRuntime"
>SpaceRuntime</a></p>
`}}),lc=new M({props:{name:"snapshot_download",anchor:"huggingface_hub.HfApi.snapshot_download",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"cache_dir",val:": Union[str, Path, None] = None"},{name:"local_dir",val:": Union[str, Path, None] = None"},{name:"etag_timeout",val:": float = 10"},{name:"force_download",val:": bool = False"},{name:"token",val:": Union[bool, str, None] = None"},{name:"local_files_only",val:": bool = False"},{name:"allow_patterns",val:": Optional[Union[list[str], str]] = None"},{name:"ignore_patterns",val:": Optional[Union[list[str], str]] = None"},{name:"max_workers",val:": int = 8"},{name:"tqdm_class",val:": Optional[type[base_tqdm]] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.snapshot_download.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A user or an organization name and a repo name separated by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.snapshot_download.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if downloading from a dataset or space,
<code>None</code> or <code>&quot;model&quot;</code> if downloading from a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.snapshot_download.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
An optional Git revision id which can be a branch name, a tag, or a
commit hash.`,name:"revision"},{anchor:"huggingface_hub.HfApi.snapshot_download.cache_dir",description:`<strong>cache_dir</strong> (<code>str</code>, <code>Path</code>, <em>optional</em>) &#x2014;
Path to the folder where cached files are stored.`,name:"cache_dir"},{anchor:"huggingface_hub.HfApi.snapshot_download.local_dir",description:`<strong>local_dir</strong> (<code>str</code> or <code>Path</code>, <em>optional</em>) &#x2014;
If provided, the downloaded files will be placed under this directory.`,name:"local_dir"},{anchor:"huggingface_hub.HfApi.snapshot_download.etag_timeout",description:`<strong>etag_timeout</strong> (<code>float</code>, <em>optional</em>, defaults to <code>10</code>) &#x2014;
When fetching ETag, how many seconds to wait for the server to send
data before giving up which is passed to <code>httpx.request</code>.`,name:"etag_timeout"},{anchor:"huggingface_hub.HfApi.snapshot_download.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether the file should be downloaded even if it already exists in the local cache.`,name:"force_download"},{anchor:"huggingface_hub.HfApi.snapshot_download.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.snapshot_download.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
If <code>True</code>, avoid downloading the file and return the path to the
local cached file if it exists.`,name:"local_files_only"},{anchor:"huggingface_hub.HfApi.snapshot_download.allow_patterns",description:`<strong>allow_patterns</strong> (<code>list[str]</code> or <code>str</code>, <em>optional</em>) &#x2014;
If provided, only files matching at least one pattern are downloaded.`,name:"allow_patterns"},{anchor:"huggingface_hub.HfApi.snapshot_download.ignore_patterns",description:`<strong>ignore_patterns</strong> (<code>list[str]</code> or <code>str</code>, <em>optional</em>) &#x2014;
If provided, files matching any of the patterns are not downloaded.`,name:"ignore_patterns"},{anchor:"huggingface_hub.HfApi.snapshot_download.max_workers",description:`<strong>max_workers</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of concurrent threads to download files (1 thread = 1 file download).
Defaults to 8.`,name:"max_workers"},{anchor:"huggingface_hub.HfApi.snapshot_download.tqdm_class",description:`<strong>tqdm_class</strong> (<code>tqdm</code>, <em>optional</em>) &#x2014;
If provided, overwrites the default behavior for the progress bar. Passed
argument must inherit from <code>tqdm.auto.tqdm</code> or at least mimic its behavior.
Note that the <code>tqdm_class</code> is not passed to each individual download.
Defaults to the custom HF progress bar that can be disabled by setting
<code>HF_HUB_DISABLE_PROGRESS_BARS</code> environment variable.`,name:"tqdm_class"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L5374",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>folder path of the repo snapshot.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>str</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<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,
or because it is set to <code>private</code> and you do not have access.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> —
If the revision to download from cannot be found.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#EnvironmentError"
  rel="nofollow"
><code>EnvironmentError</code></a> —
If <code>token=True</code> and the token cannot be found.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#OSError"
  rel="nofollow"
><code>OSError</code></a> — if
ETag cannot be determined.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
if some parameter value is invalid.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> or <code>EnvironmentError</code> or <code>OSError</code> or <code>ValueError</code></p>
`}}),dc=new M({props:{name:"space_info",anchor:"huggingface_hub.HfApi.space_info",parameters:[{name:"repo_id",val:": str"},{name:"revision",val:": Optional[str] = None"},{name:"timeout",val:": Optional[float] = None"},{name:"files_metadata",val:": bool = False"},{name:"expand",val:": Optional[list[ExpandSpaceProperty_T]] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.space_info.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.space_info.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The revision of the space repository from which to get the
information.`,name:"revision"},{anchor:"huggingface_hub.HfApi.space_info.timeout",description:`<strong>timeout</strong> (<code>float</code>, <em>optional</em>) &#x2014;
Whether to set a timeout for the request to the Hub.`,name:"timeout"},{anchor:"huggingface_hub.HfApi.space_info.files_metadata",description:`<strong>files_metadata</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to retrieve metadata for files in the repository
(size, LFS metadata, etc). Defaults to <code>False</code>.`,name:"files_metadata"},{anchor:"huggingface_hub.HfApi.space_info.expand",description:`<strong>expand</strong> (<code>list[ExpandSpaceProperty_T]</code>, <em>optional</em>) &#x2014;
List properties to return in the response. When used, only the properties in the list will be returned.
This parameter cannot be used if <code>full</code> is passed.
Possible values are <code>&quot;author&quot;</code>, <code>&quot;cardData&quot;</code>, <code>&quot;createdAt&quot;</code>, <code>&quot;datasets&quot;</code>, <code>&quot;disabled&quot;</code>, <code>&quot;lastModified&quot;</code>, <code>&quot;likes&quot;</code>, <code>&quot;models&quot;</code>, <code>&quot;private&quot;</code>, <code>&quot;runtime&quot;</code>, <code>&quot;sdk&quot;</code>, <code>&quot;siblings&quot;</code>, <code>&quot;sha&quot;</code>, <code>&quot;subdomain&quot;</code>, <code>&quot;tags&quot;</code>, <code>&quot;trendingScore&quot;</code>, <code>&quot;usedStorage&quot;</code>, and <code>&quot;resourceGroup&quot;</code>.`,name:"expand"},{anchor:"huggingface_hub.HfApi.space_info.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2626",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The space repository information.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.SpaceInfo"
>SpaceInfo</a></p>
`}}),gc=new M({props:{name:"super_squash_history",anchor:"huggingface_hub.HfApi.super_squash_history",parameters:[{name:"repo_id",val:": str"},{name:"branch",val:": Optional[str] = None"},{name:"commit_message",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Union[str, bool, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.super_squash_history.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.super_squash_history.branch",description:`<strong>branch</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The branch to squash. Defaults to the head of the <code>&quot;main&quot;</code> branch.`,name:"branch"},{anchor:"huggingface_hub.HfApi.super_squash_history.commit_message",description:`<strong>commit_message</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The commit message to use for the squashed commit.`,name:"commit_message"},{anchor:"huggingface_hub.HfApi.super_squash_history.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if listing commits from a dataset or a Space, <code>None</code> or <code>&quot;model&quot;</code> if
listing from a model. Default is <code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.super_squash_history.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L3393",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If repository is not found (error 404): wrong repo_id/repo_type, private but not authenticated or repo
does not exist.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> —
If the branch to squash cannot be found.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.BadRequestError"
>BadRequestError</a> —
If invalid reference for a branch. You cannot squash history on tags.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.BadRequestError"
>BadRequestError</a></p>
`}}),Pa=new I({props:{anchor:"huggingface_hub.HfApi.super_squash_history.example",$$slots:{default:[C4]},$$scope:{ctx:q}}}),fc=new M({props:{name:"suspend_scheduled_job",anchor:"huggingface_hub.HfApi.suspend_scheduled_job",parameters:[{name:"scheduled_job_id",val:": str"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.suspend_scheduled_job.scheduled_job_id",description:`<strong>scheduled_job_id</strong> (<code>str</code>) &#x2014;
ID of the scheduled Job.`,name:"scheduled_job_id"},{anchor:"huggingface_hub.HfApi.suspend_scheduled_job.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the scheduled Job is. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.suspend_scheduled_job.token",description:`<strong>token</strong> <code>(Union[bool, str, None]</code>, <em>optional</em>) &#x2014;
A valid user access token. If not provided, the locally saved token will be used, which is the
recommended authentication method. Set to <code>False</code> to disable authentication.
Refer to: <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L10459"}}),mc=new M({props:{name:"unlike",anchor:"huggingface_hub.HfApi.unlike",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Union[bool, str, None] = None"},{name:"repo_type",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.unlike.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository to unlike. Example: <code>&quot;user/my-cool-model&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.unlike.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.unlike.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if unliking a dataset or space, <code>None</code> or
<code>&quot;model&quot;</code> if unliking a model. Default is <code>None</code>.`,name:"repo_type"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L2315",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If repository is not found (error 404): wrong repo_id/repo_type, private
but not authenticated or repo does not exist.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a></p>
`}}),Oa=new I({props:{anchor:"huggingface_hub.HfApi.unlike.example",$$slots:{default:[J4]},$$scope:{ctx:q}}}),_c=new M({props:{name:"update_collection_item",anchor:"huggingface_hub.HfApi.update_collection_item",parameters:[{name:"collection_slug",val:": str"},{name:"item_object_id",val:": str"},{name:"note",val:": Optional[str] = None"},{name:"position",val:": Optional[int] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.update_collection_item.collection_slug",description:`<strong>collection_slug</strong> (<code>str</code>) &#x2014;
Slug of the collection to update. Example: <code>&quot;TheBloke/recent-models-64f9a55bb3115b4f513ec026&quot;</code>.`,name:"collection_slug"},{anchor:"huggingface_hub.HfApi.update_collection_item.item_object_id",description:`<strong>item_object_id</strong> (<code>str</code>) &#x2014;
ID of the item in the collection. This is not the id of the item on the Hub (repo_id or paper id).
It must be retrieved from a <a href="/docs/huggingface_hub/main/en/package_reference/collections#huggingface_hub.CollectionItem">CollectionItem</a> object. Example: <code>collection.items[0].item_object_id</code>.`,name:"item_object_id"},{anchor:"huggingface_hub.HfApi.update_collection_item.note",description:`<strong>note</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A note to attach to the item in the collection. The maximum size for a note is 500 characters.`,name:"note"},{anchor:"huggingface_hub.HfApi.update_collection_item.position",description:`<strong>position</strong> (<code>int</code>, <em>optional</em>) &#x2014;
New position of the item in the collection.`,name:"position"},{anchor:"huggingface_hub.HfApi.update_collection_item.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8384"}}),Qa=new I({props:{anchor:"huggingface_hub.HfApi.update_collection_item.example",$$slots:{default:[A4]},$$scope:{ctx:q}}}),bc=new M({props:{name:"update_collection_metadata",anchor:"huggingface_hub.HfApi.update_collection_metadata",parameters:[{name:"collection_slug",val:": str"},{name:"title",val:": Optional[str] = None"},{name:"description",val:": Optional[str] = None"},{name:"position",val:": Optional[int] = None"},{name:"private",val:": Optional[bool] = None"},{name:"theme",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.update_collection_metadata.collection_slug",description:`<strong>collection_slug</strong> (<code>str</code>) &#x2014;
Slug of the collection to update. Example: <code>&quot;TheBloke/recent-models-64f9a55bb3115b4f513ec026&quot;</code>.`,name:"collection_slug"},{anchor:"huggingface_hub.HfApi.update_collection_metadata.title",description:`<strong>title</strong> (<code>str</code>) &#x2014;
Title of the collection to update.`,name:"title"},{anchor:"huggingface_hub.HfApi.update_collection_metadata.description",description:`<strong>description</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Description of the collection to update.`,name:"description"},{anchor:"huggingface_hub.HfApi.update_collection_metadata.position",description:`<strong>position</strong> (<code>int</code>, <em>optional</em>) &#x2014;
New position of the collection in the list of collections of the user.`,name:"position"},{anchor:"huggingface_hub.HfApi.update_collection_metadata.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether the collection should be private or not.`,name:"private"},{anchor:"huggingface_hub.HfApi.update_collection_metadata.theme",description:`<strong>theme</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Theme of the collection on the Hub.`,name:"theme"},{anchor:"huggingface_hub.HfApi.update_collection_metadata.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L8196"}}),Ka=new I({props:{anchor:"huggingface_hub.HfApi.update_collection_metadata.example",$$slots:{default:[N4]},$$scope:{ctx:q}}}),yc=new M({props:{name:"update_inference_endpoint",anchor:"huggingface_hub.HfApi.update_inference_endpoint",parameters:[{name:"name",val:": str"},{name:"accelerator",val:": Optional[str] = None"},{name:"instance_size",val:": Optional[str] = None"},{name:"instance_type",val:": Optional[str] = None"},{name:"min_replica",val:": Optional[int] = None"},{name:"max_replica",val:": Optional[int] = None"},{name:"scale_to_zero_timeout",val:": Optional[int] = None"},{name:"repository",val:": Optional[str] = None"},{name:"framework",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"task",val:": Optional[str] = None"},{name:"custom_image",val:": Optional[dict] = None"},{name:"env",val:": Optional[dict[str, str]] = None"},{name:"secrets",val:": Optional[dict[str, str]] = None"},{name:"domain",val:": Optional[str] = None"},{name:"path",val:": Optional[str] = None"},{name:"cache_http_responses",val:": Optional[bool] = None"},{name:"tags",val:": Optional[list[str]] = None"},{name:"namespace",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.update_inference_endpoint.name",description:`<strong>name</strong> (<code>str</code>) &#x2014;
The name of the Inference Endpoint to update.`,name:"name"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.accelerator",description:`<strong>accelerator</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The hardware accelerator to be used for inference (e.g. <code>&quot;cpu&quot;</code>).`,name:"accelerator"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.instance_size",description:`<strong>instance_size</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The size or type of the instance to be used for hosting the model (e.g. <code>&quot;x4&quot;</code>).`,name:"instance_size"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.instance_type",description:`<strong>instance_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The cloud instance type where the Inference Endpoint will be deployed (e.g. <code>&quot;intel-icl&quot;</code>).`,name:"instance_type"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.min_replica",description:`<strong>min_replica</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The minimum number of replicas (instances) to keep running for the Inference Endpoint.`,name:"min_replica"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.max_replica",description:`<strong>max_replica</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The maximum number of replicas (instances) to scale to for the Inference Endpoint.`,name:"max_replica"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.scale_to_zero_timeout",description:`<strong>scale_to_zero_timeout</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The duration in minutes before an inactive endpoint is scaled to zero.`,name:"scale_to_zero_timeout"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.repository",description:`<strong>repository</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The name of the model repository associated with the Inference Endpoint (e.g. <code>&quot;gpt2&quot;</code>).`,name:"repository"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.framework",description:`<strong>framework</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The machine learning framework used for the model (e.g. <code>&quot;custom&quot;</code>).`,name:"framework"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The specific model revision to deploy on the Inference Endpoint (e.g. <code>&quot;6c0e6080953db56375760c0471a8c5f2929baf11&quot;</code>).`,name:"revision"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.task",description:`<strong>task</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The task on which to deploy the model (e.g. <code>&quot;text-classification&quot;</code>).`,name:"task"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.custom_image",description:`<strong>custom_image</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
A custom Docker image to use for the Inference Endpoint. This is useful if you want to deploy an
Inference Endpoint running on the <code>text-generation-inference</code> (TGI) framework (see examples).`,name:"custom_image"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.env",description:`<strong>env</strong> (<code>dict[str, str]</code>, <em>optional</em>) &#x2014;
Non-secret environment variables to inject in the container environment`,name:"env"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.secrets",description:`<strong>secrets</strong> (<code>dict[str, str]</code>, <em>optional</em>) &#x2014;
Secret values to inject in the container environment.`,name:"secrets"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.domain",description:`<strong>domain</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The custom domain for the Inference Endpoint deployment, if setup the inference endpoint will be available at this domain (e.g. <code>&quot;my-new-domain.cool-website.woof&quot;</code>).`,name:"domain"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.path",description:`<strong>path</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The custom path to the deployed model, should start with a <code>/</code> (e.g. <code>&quot;/models/google-bert/bert-base-uncased&quot;</code>).`,name:"path"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.cache_http_responses",description:`<strong>cache_http_responses</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to cache HTTP responses from the Inference Endpoint.`,name:"cache_http_responses"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.tags",description:`<strong>tags</strong> (<code>list[str]</code>, <em>optional</em>) &#x2014;
A list of tags to associate with the Inference Endpoint.`,name:"tags"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.namespace",description:`<strong>namespace</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The namespace where the Inference Endpoint will be updated. Defaults to the current user&#x2019;s namespace.`,name:"namespace"},{anchor:"huggingface_hub.HfApi.update_inference_endpoint.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L7738",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>information about the updated Inference Endpoint.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/inference_endpoints#huggingface_hub.InferenceEndpoint"
>InferenceEndpoint</a></p>
`}}),vc=new M({props:{name:"update_repo_settings",anchor:"huggingface_hub.HfApi.update_repo_settings",parameters:[{name:"repo_id",val:": str"},{name:"gated",val:": Optional[Literal['auto', 'manual', False]] = None"},{name:"private",val:": Optional[bool] = None"},{name:"token",val:": Union[str, bool, None] = None"},{name:"repo_type",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.update_repo_settings.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated by a /.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.update_repo_settings.gated",description:`<strong>gated</strong> (<code>Literal[&quot;auto&quot;, &quot;manual&quot;, False]</code>, <em>optional</em>) &#x2014;
The gated status for the repository. If set to <code>None</code> (default), the <code>gated</code> setting of the repository won&#x2019;t be updated.
<ul>
<li>&#x201C;auto&#x201D;: The repository is gated, and access requests are automatically approved or denied based on predefined criteria.</li>
<li>&#x201C;manual&#x201D;: The repository is gated, and access requests require manual approval.</li>
<li>False : The repository is not gated, and anyone can access it.</li>
</ul>`,name:"gated"},{anchor:"huggingface_hub.HfApi.update_repo_settings.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether the repository should be private.`,name:"private"},{anchor:"huggingface_hub.HfApi.update_repo_settings.token",description:`<strong>token</strong> (<code>Union[str, bool, None]</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved token,
which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass False.`,name:"token"},{anchor:"huggingface_hub.HfApi.update_repo_settings.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repository to update settings from (<code>&quot;model&quot;</code>, <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code>).
Defaults to <code>&quot;model&quot;</code>.`,name:"repo_type"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L3789",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If gated is not one of “auto”, “manual”, or False.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If repo_type is not one of the values in constants.REPO_TYPES.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a> —
If the request to the Hugging Face Hub API fails.</li>
<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,
or because it is set to <code>private</code> and you do not have access.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>ValueError</code> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.HfHubHTTPError"
>HfHubHTTPError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a></p>
`}}),xc=new M({props:{name:"update_webhook",anchor:"huggingface_hub.HfApi.update_webhook",parameters:[{name:"webhook_id",val:": str"},{name:"url",val:": Optional[str] = None"},{name:"watched",val:": Optional[list[Union[dict, WebhookWatchedItem]]] = None"},{name:"domains",val:": Optional[list[constants.WEBHOOK_DOMAIN_T]] = None"},{name:"secret",val:": Optional[str] = None"},{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.update_webhook.webhook_id",description:`<strong>webhook_id</strong> (<code>str</code>) &#x2014;
The unique identifier of the webhook to be updated.`,name:"webhook_id"},{anchor:"huggingface_hub.HfApi.update_webhook.url",description:`<strong>url</strong> (<code>str</code>, optional) &#x2014;
The URL to which the payload will be sent.`,name:"url"},{anchor:"huggingface_hub.HfApi.update_webhook.watched",description:`<strong>watched</strong> (<code>list[WebhookWatchedItem]</code>, optional) &#x2014;
List of items to watch. It can be users, orgs, models, datasets, or spaces.
Refer to <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.WebhookWatchedItem">WebhookWatchedItem</a> for more details. Watched items can also be provided as plain dictionaries.`,name:"watched"},{anchor:"huggingface_hub.HfApi.update_webhook.domains",description:`<strong>domains</strong> (<code>list[Literal[&quot;repo&quot;, &quot;discussion&quot;]]</code>, optional) &#x2014;
The domains to watch. This can include &#x201C;repo&#x201D;, &#x201C;discussion&#x201D;, or both.`,name:"domains"},{anchor:"huggingface_hub.HfApi.update_webhook.secret",description:`<strong>secret</strong> (<code>str</code>, optional) &#x2014;
A secret to sign the payload with, providing an additional layer of security.`,name:"secret"},{anchor:"huggingface_hub.HfApi.update_webhook.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved token, which is the recommended
method for authentication (see <a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L9162",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Info about the updated webhook.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.WebhookInfo"
>WebhookInfo</a></p>
`}}),es=new I({props:{anchor:"huggingface_hub.HfApi.update_webhook.example",$$slots:{default:[E4]},$$scope:{ctx:q}}}),wc=new M({props:{name:"upload_file",anchor:"huggingface_hub.HfApi.upload_file",parameters:[{name:"path_or_fileobj",val:": Union[str, Path, bytes, BinaryIO]"},{name:"path_in_repo",val:": str"},{name:"repo_id",val:": str"},{name:"token",val:": Union[str, bool, None] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"commit_message",val:": Optional[str] = None"},{name:"commit_description",val:": Optional[str] = None"},{name:"create_pr",val:": Optional[bool] = None"},{name:"parent_commit",val:": Optional[str] = None"},{name:"run_as_future",val:": bool = False"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.upload_file.path_or_fileobj",description:`<strong>path_or_fileobj</strong> (<code>str</code>, <code>Path</code>, <code>bytes</code>, or <code>IO</code>) &#x2014;
Path to a file on the local machine or binary data stream /
fileobj / buffer.`,name:"path_or_fileobj"},{anchor:"huggingface_hub.HfApi.upload_file.path_in_repo",description:`<strong>path_in_repo</strong> (<code>str</code>) &#x2014;
Relative filepath in the repo, for example:
<code>&quot;checkpoints/1fec34a/weights.bin&quot;</code>`,name:"path_in_repo"},{anchor:"huggingface_hub.HfApi.upload_file.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository to which the file will be uploaded, for example:
<code>&quot;username/custom_transformers&quot;</code>`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.upload_file.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.upload_file.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.upload_file.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision to commit from. Defaults to the head of the <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.upload_file.commit_message",description:`<strong>commit_message</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The summary / title / first line of the generated commit`,name:"commit_message"},{anchor:"huggingface_hub.HfApi.upload_file.commit_description",description:`<strong>commit_description</strong> (<code>str</code> <em>optional</em>) &#x2014;
The description of the generated commit`,name:"commit_description"},{anchor:"huggingface_hub.HfApi.upload_file.create_pr",description:`<strong>create_pr</strong> (<code>boolean</code>, <em>optional</em>) &#x2014;
Whether or not to create a Pull Request with that commit. Defaults to <code>False</code>.
If <code>revision</code> is not set, PR is opened against the <code>&quot;main&quot;</code> branch. If
<code>revision</code> is set and is a branch, PR is opened against this branch. If
<code>revision</code> is set and is not a branch name (example: a commit oid), an
<code>RevisionNotFoundError</code> is returned by the server.`,name:"create_pr"},{anchor:"huggingface_hub.HfApi.upload_file.parent_commit",description:`<strong>parent_commit</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The OID / SHA of the parent commit, as a hexadecimal string. Shorthands (7 first characters) are also supported.
If specified and <code>create_pr</code> is <code>False</code>, the commit will fail if <code>revision</code> does not point to <code>parent_commit</code>.
If specified and <code>create_pr</code> is <code>True</code>, the pull request will be created from <code>parent_commit</code>.
Specifying <code>parent_commit</code> ensures the repo has not changed before committing the changes, and can be
especially useful if the repo is updated / committed to concurrently.`,name:"parent_commit"},{anchor:"huggingface_hub.HfApi.upload_file.run_as_future",description:`<strong>run_as_future</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to run this method in the background. Background jobs are run sequentially without
blocking the main thread. Passing <code>run_as_future=True</code> will return a <a href="https://docs.python.org/3/library/concurrent.futures.html#future-objects" rel="nofollow">Future</a>
object. Defaults to <code>False</code>.`,name:"run_as_future"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L4435",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Instance of <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitInfo"
>CommitInfo</a> containing information about the newly created commit (commit hash, commit
url, pr url, commit message,…). If <code>run_as_future=True</code> is passed, returns a Future object which will
contain the result when executed.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitInfo"
>CommitInfo</a> or <code>Future</code></p>
`}}),ts=new I({props:{anchor:"huggingface_hub.HfApi.upload_file.example",$$slots:{default:[R4]},$$scope:{ctx:q}}}),jc=new M({props:{name:"upload_folder",anchor:"huggingface_hub.HfApi.upload_folder",parameters:[{name:"repo_id",val:": str"},{name:"folder_path",val:": Union[str, Path]"},{name:"path_in_repo",val:": Optional[str] = None"},{name:"commit_message",val:": Optional[str] = None"},{name:"commit_description",val:": Optional[str] = None"},{name:"token",val:": Union[str, bool, None] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"create_pr",val:": Optional[bool] = None"},{name:"parent_commit",val:": Optional[str] = None"},{name:"allow_patterns",val:": Optional[Union[list[str], str]] = None"},{name:"ignore_patterns",val:": Optional[Union[list[str], str]] = None"},{name:"delete_patterns",val:": Optional[Union[list[str], str]] = None"},{name:"run_as_future",val:": bool = False"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.upload_folder.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository to which the file will be uploaded, for example:
<code>&quot;username/custom_transformers&quot;</code>`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.upload_folder.folder_path",description:`<strong>folder_path</strong> (<code>str</code> or <code>Path</code>) &#x2014;
Path to the folder to upload on the local file system`,name:"folder_path"},{anchor:"huggingface_hub.HfApi.upload_folder.path_in_repo",description:`<strong>path_in_repo</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Relative path of the directory in the repo, for example:
<code>&quot;checkpoints/1fec34a/results&quot;</code>. Will default to the root folder of the repository.`,name:"path_in_repo"},{anchor:"huggingface_hub.HfApi.upload_folder.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"},{anchor:"huggingface_hub.HfApi.upload_folder.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Set to <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code> if uploading to a dataset or
space, <code>None</code> or <code>&quot;model&quot;</code> if uploading to a model. Default is
<code>None</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.upload_folder.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision to commit from. Defaults to the head of the <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.upload_folder.commit_message",description:`<strong>commit_message</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The summary / title / first line of the generated commit. Defaults to:
<code>f&quot;Upload {path_in_repo} with huggingface_hub&quot;</code>`,name:"commit_message"},{anchor:"huggingface_hub.HfApi.upload_folder.commit_description",description:`<strong>commit_description</strong> (<code>str</code> <em>optional</em>) &#x2014;
The description of the generated commit`,name:"commit_description"},{anchor:"huggingface_hub.HfApi.upload_folder.create_pr",description:`<strong>create_pr</strong> (<code>boolean</code>, <em>optional</em>) &#x2014;
Whether or not to create a Pull Request with that commit. Defaults to <code>False</code>. If <code>revision</code> is not
set, PR is opened against the <code>&quot;main&quot;</code> branch. If <code>revision</code> is set and is a branch, PR is opened
against this branch. If <code>revision</code> is set and is not a branch name (example: a commit oid), an
<code>RevisionNotFoundError</code> is returned by the server.`,name:"create_pr"},{anchor:"huggingface_hub.HfApi.upload_folder.parent_commit",description:`<strong>parent_commit</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The OID / SHA of the parent commit, as a hexadecimal string. Shorthands (7 first characters) are also supported.
If specified and <code>create_pr</code> is <code>False</code>, the commit will fail if <code>revision</code> does not point to <code>parent_commit</code>.
If specified and <code>create_pr</code> is <code>True</code>, the pull request will be created from <code>parent_commit</code>.
Specifying <code>parent_commit</code> ensures the repo has not changed before committing the changes, and can be
especially useful if the repo is updated / committed to concurrently.`,name:"parent_commit"},{anchor:"huggingface_hub.HfApi.upload_folder.allow_patterns",description:`<strong>allow_patterns</strong> (<code>list[str]</code> or <code>str</code>, <em>optional</em>) &#x2014;
If provided, only files matching at least one pattern are uploaded.`,name:"allow_patterns"},{anchor:"huggingface_hub.HfApi.upload_folder.ignore_patterns",description:`<strong>ignore_patterns</strong> (<code>list[str]</code> or <code>str</code>, <em>optional</em>) &#x2014;
If provided, files matching any of the patterns are not uploaded.`,name:"ignore_patterns"},{anchor:"huggingface_hub.HfApi.upload_folder.delete_patterns",description:`<strong>delete_patterns</strong> (<code>list[str]</code> or <code>str</code>, <em>optional</em>) &#x2014;
If provided, remote files matching any of the patterns will be deleted from the repo while committing
new files. This is useful if you don&#x2019;t know which files have already been uploaded.
Note: to avoid discrepancies the <code>.gitattributes</code> file is not deleted even if it matches the pattern.`,name:"delete_patterns"},{anchor:"huggingface_hub.HfApi.upload_folder.run_as_future",description:`<strong>run_as_future</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to run this method in the background. Background jobs are run sequentially without
blocking the main thread. Passing <code>run_as_future=True</code> will return a <a href="https://docs.python.org/3/library/concurrent.futures.html#future-objects" rel="nofollow">Future</a>
object. Defaults to <code>False</code>.`,name:"run_as_future"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L4617",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Instance of <a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitInfo"
>CommitInfo</a> containing information about the newly created commit (commit hash, commit
url, pr url, commit message,…). If <code>run_as_future=True</code> is passed, returns a Future object which will
contain the result when executed.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.CommitInfo"
>CommitInfo</a> or <code>Future</code></p>
`}}),ns=new I({props:{anchor:"huggingface_hub.HfApi.upload_folder.example",$$slots:{default:[D4]},$$scope:{ctx:q}}}),Hc=new M({props:{name:"upload_large_folder",anchor:"huggingface_hub.HfApi.upload_large_folder",parameters:[{name:"repo_id",val:": str"},{name:"folder_path",val:": Union[str, Path]"},{name:"repo_type",val:": str"},{name:"revision",val:": Optional[str] = None"},{name:"private",val:": Optional[bool] = None"},{name:"allow_patterns",val:": Optional[Union[list[str], str]] = None"},{name:"ignore_patterns",val:": Optional[Union[list[str], str]] = None"},{name:"num_workers",val:": Optional[int] = None"},{name:"print_report",val:": bool = True"},{name:"print_report_every",val:": int = 60"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.upload_large_folder.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository to which the file will be uploaded.
E.g. <code>&quot;HuggingFaceTB/smollm-corpus&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.upload_large_folder.folder_path",description:`<strong>folder_path</strong> (<code>str</code> or <code>Path</code>) &#x2014;
Path to the folder to upload on the local file system.`,name:"folder_path"},{anchor:"huggingface_hub.HfApi.upload_large_folder.repo_type",description:`<strong>repo_type</strong> (<code>str</code>) &#x2014;
Type of the repository. Must be one of <code>&quot;model&quot;</code>, <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code>.
Unlike in all other <code>HfApi</code> methods, <code>repo_type</code> is explicitly required here. This is to avoid
any mistake when uploading a large folder to the Hub, and therefore prevent from having to re-upload
everything.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.upload_large_folder.revision",description:`<strong>revision</strong> (<code>str</code>, <code>optional</code>) &#x2014;
The branch to commit to. If not provided, the <code>main</code> branch will be used.`,name:"revision"},{anchor:"huggingface_hub.HfApi.upload_large_folder.private",description:`<strong>private</strong> (<code>bool</code>, <code>optional</code>) &#x2014;
Whether the repository should be private.
If <code>None</code> (default), the repo will be public unless the organization&#x2019;s default is private.`,name:"private"},{anchor:"huggingface_hub.HfApi.upload_large_folder.allow_patterns",description:`<strong>allow_patterns</strong> (<code>list[str]</code> or <code>str</code>, <em>optional</em>) &#x2014;
If provided, only files matching at least one pattern are uploaded.`,name:"allow_patterns"},{anchor:"huggingface_hub.HfApi.upload_large_folder.ignore_patterns",description:`<strong>ignore_patterns</strong> (<code>list[str]</code> or <code>str</code>, <em>optional</em>) &#x2014;
If provided, files matching any of the patterns are not uploaded.`,name:"ignore_patterns"},{anchor:"huggingface_hub.HfApi.upload_large_folder.num_workers",description:`<strong>num_workers</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of workers to start. Defaults to <code>os.cpu_count() - 2</code> (minimum 2).
A higher number of workers may speed up the process if your machine allows it. However, on machines with a
slower connection, it is recommended to keep the number of workers low to ensure better resumability.
Indeed, partially uploaded files will have to be completely re-uploaded if the process is interrupted.`,name:"num_workers"},{anchor:"huggingface_hub.HfApi.upload_large_folder.print_report",description:`<strong>print_report</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to print a report of the upload progress. Defaults to True.
Report is printed to <code>sys.stdout</code> every X seconds (60 by defaults) and overwrites the previous report.`,name:"print_report"},{anchor:"huggingface_hub.HfApi.upload_large_folder.print_report_every",description:`<strong>print_report_every</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Frequency at which the report is printed. Defaults to 60 seconds.`,name:"print_report_every"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L5050"}}),Cc=new M({props:{name:"verify_repo_checksums",anchor:"huggingface_hub.HfApi.verify_repo_checksums",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"local_dir",val:": Optional[Union[str, Path]] = None"},{name:"cache_dir",val:": Optional[Union[str, Path]] = None"},{name:"token",val:": Union[str, bool, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.verify_repo_checksums.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
A namespace (user or an organization) and a repo name separated by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.verify_repo_checksums.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repository from which to get the tree (<code>&quot;model&quot;</code>, <code>&quot;dataset&quot;</code> or <code>&quot;space&quot;</code>.
Defaults to <code>&quot;model&quot;</code>.`,name:"repo_type"},{anchor:"huggingface_hub.HfApi.verify_repo_checksums.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The revision of the repository from which to get the tree. Defaults to <code>&quot;main&quot;</code> branch.`,name:"revision"},{anchor:"huggingface_hub.HfApi.verify_repo_checksums.local_dir",description:`<strong>local_dir</strong> (<code>str</code> or <code>Path</code>, <em>optional</em>) &#x2014;
The local directory to verify.`,name:"local_dir"},{anchor:"huggingface_hub.HfApi.verify_repo_checksums.cache_dir",description:`<strong>cache_dir</strong> (<code>str</code> or <code>Path</code>, <em>optional</em>) &#x2014;
The cache directory to verify.`,name:"cache_dir"},{anchor:"huggingface_hub.HfApi.verify_repo_checksums.token",description:`<strong>token</strong> (Union[bool, str, None], optional) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L3085",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>a structured result containing the verification details.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>FolderVerification</code></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RepositoryNotFoundError"
>RepositoryNotFoundError</a> —
If repository is not found (error 404): wrong repo_id/repo_type, private but not authenticated or repo
does not exist.</li>
<li><a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a> —
If revision is not found (error 404) on the repo.</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.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.RevisionNotFoundError"
>RevisionNotFoundError</a></p>
`}}),Jc=new M({props:{name:"whoami",anchor:"huggingface_hub.HfApi.whoami",parameters:[{name:"token",val:": Union[bool, str, None] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.whoami.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
<a href="https://huggingface.co/docs/huggingface_hub/quick-start#authentication" rel="nofollow">https://huggingface.co/docs/huggingface_hub/quick-start#authentication</a>).
To disable authentication, pass <code>False</code>.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1737"}}),Ac=new A({props:{title:"API Dataclasses",local:"api-dataclasses",headingTag:"h2"}}),Nc=new A({props:{title:"AccessRequest",local:"huggingface_hub.hf_api.AccessRequest",headingTag:"h3"}}),Ec=new M({props:{name:"class huggingface_hub.hf_api.AccessRequest",anchor:"huggingface_hub.hf_api.AccessRequest",parameters:[{name:"username",val:": str"},{name:"fullname",val:": str"},{name:"email",val:": Optional[str]"},{name:"timestamp",val:": datetime"},{name:"status",val:": Literal['pending', 'accepted', 'rejected']"},{name:"fields",val:": Optional[dict[str, Any]] = None"}],parametersDescription:[{anchor:"huggingface_hub.hf_api.AccessRequest.username",description:`<strong>username</strong> (<code>str</code>) &#x2014;
Username of the user who requested access.`,name:"username"},{anchor:"huggingface_hub.hf_api.AccessRequest.fullname",description:`<strong>fullname</strong> (<code>str</code>) &#x2014;
Fullname of the user who requested access.`,name:"fullname"},{anchor:"huggingface_hub.hf_api.AccessRequest.email",description:`<strong>email</strong> (<code>Optional[str]</code>) &#x2014;
Email of the user who requested access.
Can only be <code>None</code> in the /accepted list if the user was granted access manually.`,name:"email"},{anchor:"huggingface_hub.hf_api.AccessRequest.timestamp",description:`<strong>timestamp</strong> (<code>datetime</code>) &#x2014;
Timestamp of the request.`,name:"timestamp"},{anchor:"huggingface_hub.hf_api.AccessRequest.status",description:`<strong>status</strong> (<code>Literal[&quot;pending&quot;, &quot;accepted&quot;, &quot;rejected&quot;]</code>) &#x2014;
Status of the request. Can be one of <code>[&quot;pending&quot;, &quot;accepted&quot;, &quot;rejected&quot;]</code>.`,name:"status"},{anchor:"huggingface_hub.hf_api.AccessRequest.fields",description:`<strong>fields</strong> (<code>dict[str, Any]</code>, <em>optional</em>) &#x2014;
Additional fields filled by the user in the gate form.`,name:"fields"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L420"}}),Rc=new A({props:{title:"CommitInfo",local:"huggingface_hub.CommitInfo",headingTag:"h3"}}),Dc=new M({props:{name:"class huggingface_hub.CommitInfo",anchor:"huggingface_hub.CommitInfo",parameters:[{name:"*args",val:""},{name:"commit_url",val:": str"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"huggingface_hub.CommitInfo.commit_url",description:`<strong>commit_url</strong> (<code>str</code>) &#x2014;
Url where to find the commit.`,name:"commit_url"},{anchor:"huggingface_hub.CommitInfo.commit_message",description:`<strong>commit_message</strong> (<code>str</code>) &#x2014;
The summary (first line) of the commit that has been created.`,name:"commit_message"},{anchor:"huggingface_hub.CommitInfo.commit_description",description:`<strong>commit_description</strong> (<code>str</code>) &#x2014;
Description of the commit that has been created. Can be empty.`,name:"commit_description"},{anchor:"huggingface_hub.CommitInfo.oid",description:`<strong>oid</strong> (<code>str</code>) &#x2014;
Commit hash id. Example: <code>&quot;91c54ad1727ee830252e457677f467be0bfd8a57&quot;</code>.`,name:"oid"},{anchor:"huggingface_hub.CommitInfo.pr_url",description:`<strong>pr_url</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Url to the PR that has been created, if any. Populated when <code>create_pr=True</code>
is passed.`,name:"pr_url"},{anchor:"huggingface_hub.CommitInfo.pr_revision",description:`<strong>pr_revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Revision of the PR that has been created, if any. Populated when
<code>create_pr=True</code> is passed. Example: <code>&quot;refs/pr/1&quot;</code>.`,name:"pr_revision"},{anchor:"huggingface_hub.CommitInfo.pr_num",description:`<strong>pr_num</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of the PR discussion that has been created, if any. Populated when
<code>create_pr=True</code> is passed. Can be passed as <code>discussion_num</code> in
<a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.get_discussion_details">get_discussion_details()</a>. Example: <code>1</code>.`,name:"pr_num"},{anchor:"huggingface_hub.CommitInfo.repo_url",description:`<strong>repo_url</strong> (<code>RepoUrl</code>) &#x2014;
Repo URL of the commit containing info like repo_id, repo_type, etc.`,name:"repo_url"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L349"}}),Gc=new A({props:{title:"DatasetInfo",local:"huggingface_hub.DatasetInfo",headingTag:"h3"}}),Zc=new M({props:{name:"class huggingface_hub.DatasetInfo",anchor:"huggingface_hub.DatasetInfo",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"huggingface_hub.DatasetInfo.id",description:`<strong>id</strong> (<code>str</code>) &#x2014;
ID of dataset.`,name:"id"},{anchor:"huggingface_hub.DatasetInfo.author",description:`<strong>author</strong> (<code>str</code>) &#x2014;
Author of the dataset.`,name:"author"},{anchor:"huggingface_hub.DatasetInfo.sha",description:`<strong>sha</strong> (<code>str</code>) &#x2014;
Repo SHA at this particular revision.`,name:"sha"},{anchor:"huggingface_hub.DatasetInfo.created_at",description:`<strong>created_at</strong> (<code>datetime</code>, <em>optional</em>) &#x2014;
Date of creation of the repo on the Hub. Note that the lowest value is <code>2022-03-02T23:29:04.000Z</code>,
corresponding to the date when we began to store creation dates.`,name:"created_at"},{anchor:"huggingface_hub.DatasetInfo.last_modified",description:`<strong>last_modified</strong> (<code>datetime</code>, <em>optional</em>) &#x2014;
Date of last commit to the repo.`,name:"last_modified"},{anchor:"huggingface_hub.DatasetInfo.private",description:`<strong>private</strong> (<code>bool</code>) &#x2014;
Is the repo private.`,name:"private"},{anchor:"huggingface_hub.DatasetInfo.disabled",description:`<strong>disabled</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Is the repo disabled.`,name:"disabled"},{anchor:"huggingface_hub.DatasetInfo.gated",description:`<strong>gated</strong> (<code>Literal[&quot;auto&quot;, &quot;manual&quot;, False]</code>, <em>optional</em>) &#x2014;
Is the repo gated.
If so, whether there is manual or automatic approval.`,name:"gated"},{anchor:"huggingface_hub.DatasetInfo.downloads",description:`<strong>downloads</strong> (<code>int</code>) &#x2014;
Number of downloads of the dataset over the last 30 days.`,name:"downloads"},{anchor:"huggingface_hub.DatasetInfo.downloads_all_time",description:`<strong>downloads_all_time</strong> (<code>int</code>) &#x2014;
Cumulated number of downloads of the model since its creation.`,name:"downloads_all_time"},{anchor:"huggingface_hub.DatasetInfo.likes",description:`<strong>likes</strong> (<code>int</code>) &#x2014;
Number of likes of the dataset.`,name:"likes"},{anchor:"huggingface_hub.DatasetInfo.tags",description:`<strong>tags</strong> (<code>list[str]</code>) &#x2014;
List of tags of the dataset.`,name:"tags"},{anchor:"huggingface_hub.DatasetInfo.card_data",description:`<strong>card_data</strong> (<code>DatasetCardData</code>, <em>optional</em>) &#x2014;
Model Card Metadata  as a <a href="/docs/huggingface_hub/main/en/package_reference/cards#huggingface_hub.DatasetCardData">huggingface_hub.repocard_data.DatasetCardData</a> object.`,name:"card_data"},{anchor:"huggingface_hub.DatasetInfo.siblings",description:`<strong>siblings</strong> (<code>list[RepoSibling]</code>) &#x2014;
List of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.hf_api.RepoSibling">huggingface_hub.hf_api.RepoSibling</a> objects that constitute the dataset.`,name:"siblings"},{anchor:"huggingface_hub.DatasetInfo.paperswithcode_id",description:`<strong>paperswithcode_id</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Papers with code ID of the dataset.`,name:"paperswithcode_id"},{anchor:"huggingface_hub.DatasetInfo.trending_score",description:`<strong>trending_score</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Trending score of the dataset.`,name:"trending_score"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L898"}}),Sc=new A({props:{title:"DryRunFileInfo",local:"huggingface_hub.DryRunFileInfo",headingTag:"h3"}}),Wc=new M({props:{name:"class huggingface_hub.DryRunFileInfo",anchor:"huggingface_hub.DryRunFileInfo",parameters:[{name:"commit_hash",val:": str"},{name:"file_size",val:": int"},{name:"filename",val:": str"},{name:"local_path",val:": str"},{name:"is_cached",val:": bool"},{name:"will_download",val:": bool"}],parametersDescription:[{anchor:"huggingface_hub.DryRunFileInfo.commit_hash",description:`<strong>commit_hash</strong> (<code>str</code>) &#x2014;
The commit_hash related to the file.`,name:"commit_hash"},{anchor:"huggingface_hub.DryRunFileInfo.file_size",description:`<strong>file_size</strong> (<code>int</code>) &#x2014;
Size of the file. In case of an LFS file, contains the size of the actual LFS file, not the pointer.`,name:"file_size"},{anchor:"huggingface_hub.DryRunFileInfo.filename",description:`<strong>filename</strong> (<code>str</code>) &#x2014;
Name of the file in the repo.`,name:"filename"},{anchor:"huggingface_hub.DryRunFileInfo.is_cached",description:`<strong>is_cached</strong> (<code>bool</code>) &#x2014;
Whether the file is already cached locally.`,name:"is_cached"},{anchor:"huggingface_hub.DryRunFileInfo.will_download",description:`<strong>will_download</strong> (<code>bool</code>) &#x2014;
Whether the file will be downloaded if <code>hf_hub_download</code> is called with <code>dry_run=False</code>.
In practice, will_download is <code>True</code> if the file is not cached or if <code>force_download=True</code>.`,name:"will_download"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/file_download.py#L154"}}),Lc=new A({props:{title:"GitRefInfo",local:"huggingface_hub.GitRefInfo",headingTag:"h3"}}),Bc=new M({props:{name:"class huggingface_hub.GitRefInfo",anchor:"huggingface_hub.GitRefInfo",parameters:[{name:"name",val:": str"},{name:"ref",val:": str"},{name:"target_commit",val:": str"}],parametersDescription:[{anchor:"huggingface_hub.GitRefInfo.name",description:`<strong>name</strong> (<code>str</code>) &#x2014;
Name of the reference (e.g. tag name or branch name).`,name:"name"},{anchor:"huggingface_hub.GitRefInfo.ref",description:`<strong>ref</strong> (<code>str</code>) &#x2014;
Full git ref on the Hub (e.g. <code>&quot;refs/heads/main&quot;</code> or <code>&quot;refs/tags/v1.0&quot;</code>).`,name:"ref"},{anchor:"huggingface_hub.GitRefInfo.target_commit",description:`<strong>target_commit</strong> (<code>str</code>) &#x2014;
OID of the target commit for the ref (e.g. <code>&quot;e7da7f221d5bf496a48136c0cd264e630fe9fcc8&quot;</code>)`,name:"target_commit"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1246"}}),Vc=new A({props:{title:"GitCommitInfo",local:"huggingface_hub.GitCommitInfo",headingTag:"h3"}}),Yc=new M({props:{name:"class huggingface_hub.GitCommitInfo",anchor:"huggingface_hub.GitCommitInfo",parameters:[{name:"commit_id",val:": str"},{name:"authors",val:": list[str]"},{name:"created_at",val:": datetime"},{name:"title",val:": str"},{name:"message",val:": str"},{name:"formatted_title",val:": Optional[str]"},{name:"formatted_message",val:": Optional[str]"}],parametersDescription:[{anchor:"huggingface_hub.GitCommitInfo.commit_id",description:`<strong>commit_id</strong> (<code>str</code>) &#x2014;
OID of the commit (e.g. <code>&quot;e7da7f221d5bf496a48136c0cd264e630fe9fcc8&quot;</code>)`,name:"commit_id"},{anchor:"huggingface_hub.GitCommitInfo.authors",description:`<strong>authors</strong> (<code>list[str]</code>) &#x2014;
List of authors of the commit.`,name:"authors"},{anchor:"huggingface_hub.GitCommitInfo.created_at",description:`<strong>created_at</strong> (<code>datetime</code>) &#x2014;
Datetime when the commit was created.`,name:"created_at"},{anchor:"huggingface_hub.GitCommitInfo.title",description:`<strong>title</strong> (<code>str</code>) &#x2014;
Title of the commit. This is a free-text value entered by the authors.`,name:"title"},{anchor:"huggingface_hub.GitCommitInfo.message",description:`<strong>message</strong> (<code>str</code>) &#x2014;
Description of the commit. This is a free-text value entered by the authors.`,name:"message"},{anchor:"huggingface_hub.GitCommitInfo.formatted_title",description:`<strong>formatted_title</strong> (<code>str</code>) &#x2014;
Title of the commit formatted as HTML. Only returned if <code>formatted=True</code> is set.`,name:"formatted_title"},{anchor:"huggingface_hub.GitCommitInfo.formatted_message",description:`<strong>formatted_message</strong> (<code>str</code>) &#x2014;
Description of the commit formatted as HTML. Only returned if <code>formatted=True</code> is set.`,name:"formatted_message"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1291"}}),Xc=new A({props:{title:"GitRefs",local:"huggingface_hub.GitRefs",headingTag:"h3"}}),Pc=new M({props:{name:"class huggingface_hub.GitRefs",anchor:"huggingface_hub.GitRefs",parameters:[{name:"branches",val:": list[GitRefInfo]"},{name:"converts",val:": list[GitRefInfo]"},{name:"tags",val:": list[GitRefInfo]"},{name:"pull_requests",val:": Optional[list[GitRefInfo]] = None"}],parametersDescription:[{anchor:"huggingface_hub.GitRefs.branches",description:`<strong>branches</strong> (<code>list[GitRefInfo]</code>) &#x2014;
A list of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.GitRefInfo">GitRefInfo</a> containing information about branches on the repo.`,name:"branches"},{anchor:"huggingface_hub.GitRefs.converts",description:`<strong>converts</strong> (<code>list[GitRefInfo]</code>) &#x2014;
A list of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.GitRefInfo">GitRefInfo</a> containing information about &#x201C;convert&#x201D; refs on the repo.
Converts are refs used (internally) to push preprocessed data in Dataset repos.`,name:"converts"},{anchor:"huggingface_hub.GitRefs.tags",description:`<strong>tags</strong> (<code>list[GitRefInfo]</code>) &#x2014;
A list of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.GitRefInfo">GitRefInfo</a> containing information about tags on the repo.`,name:"tags"},{anchor:"huggingface_hub.GitRefs.pull_requests",description:`<strong>pull_requests</strong> (<code>list[GitRefInfo]</code>, <em>optional</em>) &#x2014;
A list of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.GitRefInfo">GitRefInfo</a> containing information about pull requests on the repo.
Only returned if <code>include_prs=True</code> is set.`,name:"pull_requests"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1265"}}),zc=new A({props:{title:"InferenceProviderMapping",local:"huggingface_hub.hf_api.InferenceProviderMapping",headingTag:"h3"}}),Qc=new M({props:{name:"class huggingface_hub.hf_api.InferenceProviderMapping",anchor:"huggingface_hub.hf_api.InferenceProviderMapping",parameters:[{name:"**kwargs",val:""}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L679"}}),Kc=new A({props:{title:"LFSFileInfo",local:"huggingface_hub.hf_api.LFSFileInfo",headingTag:"h3"}}),el=new M({props:{name:"class huggingface_hub.hf_api.LFSFileInfo",anchor:"huggingface_hub.hf_api.LFSFileInfo",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"huggingface_hub.hf_api.LFSFileInfo.file_oid",description:`<strong>file_oid</strong> (<code>str</code>) &#x2014;
SHA-256 object ID of the file. This is the identifier to pass when permanently deleting the file.`,name:"file_oid"},{anchor:"huggingface_hub.hf_api.LFSFileInfo.filename",description:`<strong>filename</strong> (<code>str</code>) &#x2014;
Possible filename for the LFS object. See the note above for more information.`,name:"filename"},{anchor:"huggingface_hub.hf_api.LFSFileInfo.oid",description:`<strong>oid</strong> (<code>str</code>) &#x2014;
OID of the LFS object.`,name:"oid"},{anchor:"huggingface_hub.hf_api.LFSFileInfo.pushed_at",description:`<strong>pushed_at</strong> (<code>datetime</code>) &#x2014;
Date the LFS object was pushed to the repo.`,name:"pushed_at"},{anchor:"huggingface_hub.hf_api.LFSFileInfo.ref",description:`<strong>ref</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Ref where the LFS object has been pushed (if any).`,name:"ref"},{anchor:"huggingface_hub.hf_api.LFSFileInfo.size",description:`<strong>size</strong> (<code>int</code>) &#x2014;
Size of the LFS object.`,name:"size"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1556"}}),ss=new I({props:{anchor:"huggingface_hub.hf_api.LFSFileInfo.example",$$slots:{default:[G4]},$$scope:{ctx:q}}}),tl=new A({props:{title:"ModelInfo",local:"huggingface_hub.ModelInfo",headingTag:"h3"}}),nl=new M({props:{name:"class huggingface_hub.ModelInfo",anchor:"huggingface_hub.ModelInfo",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"huggingface_hub.ModelInfo.id",description:`<strong>id</strong> (<code>str</code>) &#x2014;
ID of model.`,name:"id"},{anchor:"huggingface_hub.ModelInfo.author",description:`<strong>author</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Author of the model.`,name:"author"},{anchor:"huggingface_hub.ModelInfo.sha",description:`<strong>sha</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Repo SHA at this particular revision.`,name:"sha"},{anchor:"huggingface_hub.ModelInfo.created_at",description:`<strong>created_at</strong> (<code>datetime</code>, <em>optional</em>) &#x2014;
Date of creation of the repo on the Hub. Note that the lowest value is <code>2022-03-02T23:29:04.000Z</code>,
corresponding to the date when we began to store creation dates.`,name:"created_at"},{anchor:"huggingface_hub.ModelInfo.last_modified",description:`<strong>last_modified</strong> (<code>datetime</code>, <em>optional</em>) &#x2014;
Date of last commit to the repo.`,name:"last_modified"},{anchor:"huggingface_hub.ModelInfo.private",description:`<strong>private</strong> (<code>bool</code>) &#x2014;
Is the repo private.`,name:"private"},{anchor:"huggingface_hub.ModelInfo.disabled",description:`<strong>disabled</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Is the repo disabled.`,name:"disabled"},{anchor:"huggingface_hub.ModelInfo.downloads",description:`<strong>downloads</strong> (<code>int</code>) &#x2014;
Number of downloads of the model over the last 30 days.`,name:"downloads"},{anchor:"huggingface_hub.ModelInfo.downloads_all_time",description:`<strong>downloads_all_time</strong> (<code>int</code>) &#x2014;
Cumulated number of downloads of the model since its creation.`,name:"downloads_all_time"},{anchor:"huggingface_hub.ModelInfo.gated",description:`<strong>gated</strong> (<code>Literal[&quot;auto&quot;, &quot;manual&quot;, False]</code>, <em>optional</em>) &#x2014;
Is the repo gated.
If so, whether there is manual or automatic approval.`,name:"gated"},{anchor:"huggingface_hub.ModelInfo.gguf",description:`<strong>gguf</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
GGUF information of the model.`,name:"gguf"},{anchor:"huggingface_hub.ModelInfo.inference",description:`<strong>inference</strong> (<code>Literal[&quot;warm&quot;]</code>, <em>optional</em>) &#x2014;
Status of the model on Inference Providers. Warm if the model is served by at least one provider.`,name:"inference"},{anchor:"huggingface_hub.ModelInfo.inference_provider_mapping",description:`<strong>inference_provider_mapping</strong> (<code>list[InferenceProviderMapping]</code>, <em>optional</em>) &#x2014;
A list of <code>InferenceProviderMapping</code> ordered after the user&#x2019;s provider order.`,name:"inference_provider_mapping"},{anchor:"huggingface_hub.ModelInfo.likes",description:`<strong>likes</strong> (<code>int</code>) &#x2014;
Number of likes of the model.`,name:"likes"},{anchor:"huggingface_hub.ModelInfo.library_name",description:`<strong>library_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Library associated with the model.`,name:"library_name"},{anchor:"huggingface_hub.ModelInfo.tags",description:`<strong>tags</strong> (<code>list[str]</code>) &#x2014;
List of tags of the model. Compared to <code>card_data.tags</code>, contains extra tags computed by the Hub
(e.g. supported libraries, model&#x2019;s arXiv).`,name:"tags"},{anchor:"huggingface_hub.ModelInfo.pipeline_tag",description:`<strong>pipeline_tag</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Pipeline tag associated with the model.`,name:"pipeline_tag"},{anchor:"huggingface_hub.ModelInfo.mask_token",description:`<strong>mask_token</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Mask token used by the model.`,name:"mask_token"},{anchor:"huggingface_hub.ModelInfo.widget_data",description:`<strong>widget_data</strong> (<code>Any</code>, <em>optional</em>) &#x2014;
Widget data associated with the model.`,name:"widget_data"},{anchor:"huggingface_hub.ModelInfo.model_index",description:`<strong>model_index</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
Model index for evaluation.`,name:"model_index"},{anchor:"huggingface_hub.ModelInfo.config",description:`<strong>config</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
Model configuration.`,name:"config"},{anchor:"huggingface_hub.ModelInfo.transformers_info",description:`<strong>transformers_info</strong> (<code>TransformersInfo</code>, <em>optional</em>) &#x2014;
Transformers-specific info (auto class, processor, etc.) associated with the model.`,name:"transformers_info"},{anchor:"huggingface_hub.ModelInfo.trending_score",description:`<strong>trending_score</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Trending score of the model.`,name:"trending_score"},{anchor:"huggingface_hub.ModelInfo.card_data",description:`<strong>card_data</strong> (<code>ModelCardData</code>, <em>optional</em>) &#x2014;
Model Card Metadata  as a <a href="/docs/huggingface_hub/main/en/package_reference/cards#huggingface_hub.ModelCardData">huggingface_hub.repocard_data.ModelCardData</a> object.`,name:"card_data"},{anchor:"huggingface_hub.ModelInfo.siblings",description:`<strong>siblings</strong> (<code>list[RepoSibling]</code>) &#x2014;
List of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.hf_api.RepoSibling">huggingface_hub.hf_api.RepoSibling</a> objects that constitute the model.`,name:"siblings"},{anchor:"huggingface_hub.ModelInfo.spaces",description:`<strong>spaces</strong> (<code>list[str]</code>, <em>optional</em>) &#x2014;
List of spaces using the model.`,name:"spaces"},{anchor:"huggingface_hub.ModelInfo.safetensors",description:`<strong>safetensors</strong> (<code>SafeTensorsInfo</code>, <em>optional</em>) &#x2014;
Model&#x2019;s safetensors information.`,name:"safetensors"},{anchor:"huggingface_hub.ModelInfo.security_repo_status",description:`<strong>security_repo_status</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
Model&#x2019;s security scan status.`,name:"security_repo_status"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L704"}}),al=new A({props:{title:"RepoSibling",local:"huggingface_hub.hf_api.RepoSibling",headingTag:"h3"}}),sl=new M({props:{name:"class huggingface_hub.hf_api.RepoSibling",anchor:"huggingface_hub.hf_api.RepoSibling",parameters:[{name:"rfilename",val:": str"},{name:"size",val:": Optional[int] = None"},{name:"blob_id",val:": Optional[str] = None"},{name:"lfs",val:": Optional[BlobLfsInfo] = None"}],parametersDescription:[{anchor:"huggingface_hub.hf_api.RepoSibling.rfilename",description:`<strong>rfilename</strong> (str) &#x2014;
file name, relative to the repo root.`,name:"rfilename"},{anchor:"huggingface_hub.hf_api.RepoSibling.size",description:`<strong>size</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The file&#x2019;s size, in bytes. This attribute is defined when <code>files_metadata</code> argument of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.repo_info">repo_info()</a> is set
to <code>True</code>. It&#x2019;s <code>None</code> otherwise.`,name:"size"},{anchor:"huggingface_hub.hf_api.RepoSibling.blob_id",description:`<strong>blob_id</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The file&#x2019;s git OID. This attribute is defined when <code>files_metadata</code> argument of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.repo_info">repo_info()</a> is set to
<code>True</code>. It&#x2019;s <code>None</code> otherwise.`,name:"blob_id"},{anchor:"huggingface_hub.hf_api.RepoSibling.lfs",description:`<strong>lfs</strong> (<code>BlobLfsInfo</code>, <em>optional</em>) &#x2014;
The file&#x2019;s LFS metadata. This attribute is defined when<code>files_metadata</code> argument of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.repo_info">repo_info()</a> is set to
<code>True</code> and the file is stored with Git LFS. It&#x2019;s <code>None</code> otherwise.`,name:"lfs"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L558"}}),il=new A({props:{title:"RepoFile",local:"huggingface_hub.hf_api.RepoFile",headingTag:"h3"}}),cl=new M({props:{name:"class huggingface_hub.hf_api.RepoFile",anchor:"huggingface_hub.hf_api.RepoFile",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"huggingface_hub.hf_api.RepoFile.path",description:`<strong>path</strong> (str) &#x2014;
file path relative to the repo root.`,name:"path"},{anchor:"huggingface_hub.hf_api.RepoFile.size",description:`<strong>size</strong> (<code>int</code>) &#x2014;
The file&#x2019;s size, in bytes.`,name:"size"},{anchor:"huggingface_hub.hf_api.RepoFile.blob_id",description:`<strong>blob_id</strong> (<code>str</code>) &#x2014;
The file&#x2019;s git OID.`,name:"blob_id"},{anchor:"huggingface_hub.hf_api.RepoFile.lfs",description:`<strong>lfs</strong> (<code>BlobLfsInfo</code>, <em>optional</em>) &#x2014;
The file&#x2019;s LFS metadata.`,name:"lfs"},{anchor:"huggingface_hub.hf_api.RepoFile.last_commit",description:`<strong>last_commit</strong> (<code>LastCommitInfo</code>, <em>optional</em>) &#x2014;
The file&#x2019;s last commit metadata. Only defined if <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_repo_tree">list_repo_tree()</a> and <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.get_paths_info">get_paths_info()</a>
are called with <code>expand=True</code>.`,name:"last_commit"},{anchor:"huggingface_hub.hf_api.RepoFile.security",description:`<strong>security</strong> (<code>BlobSecurityInfo</code>, <em>optional</em>) &#x2014;
The file&#x2019;s security scan metadata. Only defined if <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.list_repo_tree">list_repo_tree()</a> and <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.get_paths_info">get_paths_info()</a>
are called with <code>expand=True</code>.`,name:"security"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L590"}}),ll=new A({props:{title:"RepoUrl",local:"huggingface_hub.RepoUrl",headingTag:"h3"}}),dl=new M({props:{name:"class huggingface_hub.RepoUrl",anchor:"huggingface_hub.RepoUrl",parameters:[{name:"url",val:": Any"},{name:"endpoint",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.RepoUrl.url",description:`<strong>url</strong> (<code>Any</code>) &#x2014;
String value of the repo url.`,name:"url"},{anchor:"huggingface_hub.RepoUrl.endpoint",description:`<strong>endpoint</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Endpoint of the Hub. Defaults to <a href="https://huggingface.co" rel="nofollow">https://huggingface.co</a>.`,name:"endpoint"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L496",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If URL cannot be parsed.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If <code>repo_type</code> is unknown.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>ValueError</code></p>
`}}),rs=new I({props:{anchor:"huggingface_hub.RepoUrl.example",$$slots:{default:[Z4]},$$scope:{ctx:q}}}),pl=new A({props:{title:"SafetensorsRepoMetadata",local:"huggingface_hub.utils.SafetensorsRepoMetadata",headingTag:"h3"}}),gl=new M({props:{name:"class huggingface_hub.utils.SafetensorsRepoMetadata",anchor:"huggingface_hub.utils.SafetensorsRepoMetadata",parameters:[{name:"metadata",val:": typing.Optional[dict]"},{name:"sharded",val:": bool"},{name:"weight_map",val:": dict"},{name:"files_metadata",val:": dict"}],parametersDescription:[{anchor:"huggingface_hub.utils.SafetensorsRepoMetadata.metadata",description:`<strong>metadata</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
The metadata contained in the &#x2018;model.safetensors.index.json&#x2019; file, if it exists. Only populated for sharded
models.`,name:"metadata"},{anchor:"huggingface_hub.utils.SafetensorsRepoMetadata.sharded",description:`<strong>sharded</strong> (<code>bool</code>) &#x2014;
Whether the repo contains a sharded model or not.`,name:"sharded"},{anchor:"huggingface_hub.utils.SafetensorsRepoMetadata.weight_map",description:`<strong>weight_map</strong> (<code>dict[str, str]</code>) &#x2014;
A map of all weights. Keys are tensor names and values are filenames of the files containing the tensors.`,name:"weight_map"},{anchor:"huggingface_hub.utils.SafetensorsRepoMetadata.files_metadata",description:`<strong>files_metadata</strong> (<code>dict[str, SafetensorsFileMetadata]</code>) &#x2014;
A map of all files metadata. Keys are filenames and values are the metadata of the corresponding file, as
a <code>SafetensorsFileMetadata</code> object.`,name:"files_metadata"},{anchor:"huggingface_hub.utils.SafetensorsRepoMetadata.parameter_count",description:`<strong>parameter_count</strong> (<code>dict[str, int]</code>) &#x2014;
A map of the number of parameters per data type. Keys are data types and values are the number of parameters
of that data type.`,name:"parameter_count"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_safetensors.py#L74"}}),ul=new A({props:{title:"SafetensorsFileMetadata",local:"huggingface_hub.utils.SafetensorsFileMetadata",headingTag:"h3"}}),hl=new M({props:{name:"class huggingface_hub.utils.SafetensorsFileMetadata",anchor:"huggingface_hub.utils.SafetensorsFileMetadata",parameters:[{name:"metadata",val:": dict"},{name:"tensors",val:": dict"}],parametersDescription:[{anchor:"huggingface_hub.utils.SafetensorsFileMetadata.metadata",description:`<strong>metadata</strong> (<code>dict</code>) &#x2014;
The metadata contained in the file.`,name:"metadata"},{anchor:"huggingface_hub.utils.SafetensorsFileMetadata.tensors",description:`<strong>tensors</strong> (<code>dict[str, TensorInfo]</code>) &#x2014;
A map of all tensors. Keys are tensor names and values are information about the corresponding tensor, as a
<code>TensorInfo</code> object.`,name:"tensors"},{anchor:"huggingface_hub.utils.SafetensorsFileMetadata.parameter_count",description:`<strong>parameter_count</strong> (<code>dict[str, int]</code>) &#x2014;
A map of the number of parameters per data type. Keys are data types and values are the number of parameters
of that data type.`,name:"parameter_count"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_safetensors.py#L44"}}),fl=new A({props:{title:"SpaceInfo",local:"huggingface_hub.SpaceInfo",headingTag:"h3"}}),ml=new M({props:{name:"class huggingface_hub.SpaceInfo",anchor:"huggingface_hub.SpaceInfo",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"huggingface_hub.SpaceInfo.id",description:`<strong>id</strong> (<code>str</code>) &#x2014;
ID of the Space.`,name:"id"},{anchor:"huggingface_hub.SpaceInfo.author",description:`<strong>author</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Author of the Space.`,name:"author"},{anchor:"huggingface_hub.SpaceInfo.sha",description:`<strong>sha</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Repo SHA at this particular revision.`,name:"sha"},{anchor:"huggingface_hub.SpaceInfo.created_at",description:`<strong>created_at</strong> (<code>datetime</code>, <em>optional</em>) &#x2014;
Date of creation of the repo on the Hub. Note that the lowest value is <code>2022-03-02T23:29:04.000Z</code>,
corresponding to the date when we began to store creation dates.`,name:"created_at"},{anchor:"huggingface_hub.SpaceInfo.last_modified",description:`<strong>last_modified</strong> (<code>datetime</code>, <em>optional</em>) &#x2014;
Date of last commit to the repo.`,name:"last_modified"},{anchor:"huggingface_hub.SpaceInfo.private",description:`<strong>private</strong> (<code>bool</code>) &#x2014;
Is the repo private.`,name:"private"},{anchor:"huggingface_hub.SpaceInfo.gated",description:`<strong>gated</strong> (<code>Literal[&quot;auto&quot;, &quot;manual&quot;, False]</code>, <em>optional</em>) &#x2014;
Is the repo gated.
If so, whether there is manual or automatic approval.`,name:"gated"},{anchor:"huggingface_hub.SpaceInfo.disabled",description:`<strong>disabled</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Is the Space disabled.`,name:"disabled"},{anchor:"huggingface_hub.SpaceInfo.host",description:`<strong>host</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Host URL of the Space.`,name:"host"},{anchor:"huggingface_hub.SpaceInfo.subdomain",description:`<strong>subdomain</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Subdomain of the Space.`,name:"subdomain"},{anchor:"huggingface_hub.SpaceInfo.likes",description:`<strong>likes</strong> (<code>int</code>) &#x2014;
Number of likes of the Space.`,name:"likes"},{anchor:"huggingface_hub.SpaceInfo.tags",description:`<strong>tags</strong> (<code>list[str]</code>) &#x2014;
List of tags of the Space.`,name:"tags"},{anchor:"huggingface_hub.SpaceInfo.siblings",description:`<strong>siblings</strong> (<code>list[RepoSibling]</code>) &#x2014;
List of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.hf_api.RepoSibling">huggingface_hub.hf_api.RepoSibling</a> objects that constitute the Space.`,name:"siblings"},{anchor:"huggingface_hub.SpaceInfo.card_data",description:`<strong>card_data</strong> (<code>SpaceCardData</code>, <em>optional</em>) &#x2014;
Space Card Metadata  as a <a href="/docs/huggingface_hub/main/en/package_reference/cards#huggingface_hub.SpaceCardData">huggingface_hub.repocard_data.SpaceCardData</a> object.`,name:"card_data"},{anchor:"huggingface_hub.SpaceInfo.runtime",description:`<strong>runtime</strong> (<code>SpaceRuntime</code>, <em>optional</em>) &#x2014;
Space runtime information as a <a href="/docs/huggingface_hub/main/en/package_reference/space_runtime#huggingface_hub.SpaceRuntime">huggingface_hub.hf_api.SpaceRuntime</a> object.`,name:"runtime"},{anchor:"huggingface_hub.SpaceInfo.sdk",description:`<strong>sdk</strong> (<code>str</code>, <em>optional</em>) &#x2014;
SDK used by the Space.`,name:"sdk"},{anchor:"huggingface_hub.SpaceInfo.models",description:`<strong>models</strong> (<code>list[str]</code>, <em>optional</em>) &#x2014;
List of models used by the Space.`,name:"models"},{anchor:"huggingface_hub.SpaceInfo.datasets",description:`<strong>datasets</strong> (<code>list[str]</code>, <em>optional</em>) &#x2014;
List of datasets used by the Space.`,name:"datasets"},{anchor:"huggingface_hub.SpaceInfo.trending_score",description:`<strong>trending_score</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Trending score of the Space.`,name:"trending_score"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1012"}}),bl=new A({props:{title:"TensorInfo",local:"huggingface_hub.utils.TensorInfo",headingTag:"h3"}}),yl=new M({props:{name:"class huggingface_hub.utils.TensorInfo",anchor:"huggingface_hub.utils.TensorInfo",parameters:[{name:"dtype",val:": typing.Literal['F64', 'F32', 'F16', 'BF16', 'I64', 'I32', 'I16', 'I8', 'U8', 'BOOL']"},{name:"shape",val:": list"},{name:"data_offsets",val:": tuple"}],parametersDescription:[{anchor:"huggingface_hub.utils.TensorInfo.dtype",description:`<strong>dtype</strong> (<code>str</code>) &#x2014;
The data type of the tensor (&#x201C;F64&#x201D;, &#x201C;F32&#x201D;, &#x201C;F16&#x201D;, &#x201C;BF16&#x201D;, &#x201C;I64&#x201D;, &#x201C;I32&#x201D;, &#x201C;I16&#x201D;, &#x201C;I8&#x201D;, &#x201C;U8&#x201D;, &#x201C;BOOL&#x201D;).`,name:"dtype"},{anchor:"huggingface_hub.utils.TensorInfo.shape",description:`<strong>shape</strong> (<code>list[int]</code>) &#x2014;
The shape of the tensor.`,name:"shape"},{anchor:"huggingface_hub.utils.TensorInfo.data_offsets",description:`<strong>data_offsets</strong> (<code>tuple[int, int]</code>) &#x2014;
The offsets of the data in the file as a tuple <code>[BEGIN, END]</code>.`,name:"data_offsets"},{anchor:"huggingface_hub.utils.TensorInfo.parameter_count",description:`<strong>parameter_count</strong> (<code>int</code>) &#x2014;
The number of parameters in the tensor.`,name:"parameter_count"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/_safetensors.py#L14"}}),vl=new A({props:{title:"User",local:"huggingface_hub.User",headingTag:"h3"}}),xl=new M({props:{name:"class huggingface_hub.User",anchor:"huggingface_hub.User",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"huggingface_hub.User.username",description:`<strong>username</strong> (<code>str</code>) &#x2014;
Name of the user on the Hub (unique).`,name:"username"},{anchor:"huggingface_hub.User.fullname",description:`<strong>fullname</strong> (<code>str</code>) &#x2014;
User&#x2019;s full name.`,name:"fullname"},{anchor:"huggingface_hub.User.avatar_url",description:`<strong>avatar_url</strong> (<code>str</code>) &#x2014;
URL of the user&#x2019;s avatar.`,name:"avatar_url"},{anchor:"huggingface_hub.User.details",description:`<strong>details</strong> (<code>str</code>, <em>optional</em>) &#x2014;
User&#x2019;s details.`,name:"details"},{anchor:"huggingface_hub.User.is_following",description:`<strong>is_following</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether the authenticated user is following this user.`,name:"is_following"},{anchor:"huggingface_hub.User.is_pro",description:`<strong>is_pro</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether the user is a pro user.`,name:"is_pro"},{anchor:"huggingface_hub.User.num_models",description:`<strong>num_models</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of models created by the user.`,name:"num_models"},{anchor:"huggingface_hub.User.num_datasets",description:`<strong>num_datasets</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of datasets created by the user.`,name:"num_datasets"},{anchor:"huggingface_hub.User.num_spaces",description:`<strong>num_spaces</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of spaces created by the user.`,name:"num_spaces"},{anchor:"huggingface_hub.User.num_discussions",description:`<strong>num_discussions</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of discussions initiated by the user.`,name:"num_discussions"},{anchor:"huggingface_hub.User.num_papers",description:`<strong>num_papers</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of papers authored by the user.`,name:"num_papers"},{anchor:"huggingface_hub.User.num_upvotes",description:`<strong>num_upvotes</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of upvotes received by the user.`,name:"num_upvotes"},{anchor:"huggingface_hub.User.num_likes",description:`<strong>num_likes</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of likes given by the user.`,name:"num_likes"},{anchor:"huggingface_hub.User.num_following",description:`<strong>num_following</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of users this user is following.`,name:"num_following"},{anchor:"huggingface_hub.User.num_followers",description:`<strong>num_followers</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of users following this user.`,name:"num_followers"},{anchor:"huggingface_hub.User.orgs",description:`<strong>orgs</strong> (list of <code>Organization</code>) &#x2014;
List of organizations the user is part of.`,name:"orgs"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1411"}}),wl=new A({props:{title:"UserLikes",local:"huggingface_hub.UserLikes",headingTag:"h3"}}),$l=new M({props:{name:"class huggingface_hub.UserLikes",anchor:"huggingface_hub.UserLikes",parameters:[{name:"user",val:": str"},{name:"total",val:": int"},{name:"datasets",val:": list[str]"},{name:"models",val:": list[str]"},{name:"spaces",val:": list[str]"}],parametersDescription:[{anchor:"huggingface_hub.UserLikes.user",description:`<strong>user</strong> (<code>str</code>) &#x2014;
Name of the user for which we fetched the likes.`,name:"user"},{anchor:"huggingface_hub.UserLikes.total",description:`<strong>total</strong> (<code>int</code>) &#x2014;
Total number of likes.`,name:"total"},{anchor:"huggingface_hub.UserLikes.datasets",description:`<strong>datasets</strong> (<code>list[str]</code>) &#x2014;
List of datasets liked by the user (as repo_ids).`,name:"datasets"},{anchor:"huggingface_hub.UserLikes.models",description:`<strong>models</strong> (<code>list[str]</code>) &#x2014;
List of models liked by the user (as repo_ids).`,name:"models"},{anchor:"huggingface_hub.UserLikes.spaces",description:`<strong>spaces</strong> (<code>list[str]</code>) &#x2014;
List of spaces liked by the user (as repo_ids).`,name:"spaces"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L1324"}}),kl=new A({props:{title:"WebhookInfo",local:"huggingface_hub.WebhookInfo",headingTag:"h3"}}),jl=new M({props:{name:"class huggingface_hub.WebhookInfo",anchor:"huggingface_hub.WebhookInfo",parameters:[{name:"id",val:": str"},{name:"url",val:": Optional[str]"},{name:"job",val:": Optional[JobSpec]"},{name:"watched",val:": list[WebhookWatchedItem]"},{name:"domains",val:": list[constants.WEBHOOK_DOMAIN_T]"},{name:"secret",val:": Optional[str]"},{name:"disabled",val:": bool"}],parametersDescription:[{anchor:"huggingface_hub.WebhookInfo.id",description:`<strong>id</strong> (<code>str</code>) &#x2014;
ID of the webhook.`,name:"id"},{anchor:"huggingface_hub.WebhookInfo.url",description:`<strong>url</strong> (<code>str</code>, <em>optional</em>) &#x2014;
URL of the webhook.`,name:"url"},{anchor:"huggingface_hub.WebhookInfo.job",description:`<strong>job</strong> (<code>JobSpec</code>, <em>optional</em>) &#x2014;
Specifications of the Job to trigger.`,name:"job"},{anchor:"huggingface_hub.WebhookInfo.watched",description:`<strong>watched</strong> (<code>list[WebhookWatchedItem]</code>) &#x2014;
List of items watched by the webhook, see <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.WebhookWatchedItem">WebhookWatchedItem</a>.`,name:"watched"},{anchor:"huggingface_hub.WebhookInfo.domains",description:`<strong>domains</strong> (<code>list[WEBHOOK_DOMAIN_T]</code>) &#x2014;
List of domains the webhook is watching. Can be one of <code>[&quot;repo&quot;, &quot;discussions&quot;]</code>.`,name:"domains"},{anchor:"huggingface_hub.WebhookInfo.secret",description:`<strong>secret</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Secret of the webhook.`,name:"secret"},{anchor:"huggingface_hub.WebhookInfo.disabled",description:`<strong>disabled</strong> (<code>bool</code>) &#x2014;
Whether the webhook is disabled or not.`,name:"disabled"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L465"}}),Tl=new A({props:{title:"WebhookWatchedItem",local:"huggingface_hub.WebhookWatchedItem",headingTag:"h3"}}),Ml=new M({props:{name:"class huggingface_hub.WebhookWatchedItem",anchor:"huggingface_hub.WebhookWatchedItem",parameters:[{name:"type",val:": Literal['dataset', 'model', 'org', 'space', 'user']"},{name:"name",val:": str"}],parametersDescription:[{anchor:"huggingface_hub.WebhookWatchedItem.type",description:`<strong>type</strong> (<code>Literal[&quot;dataset&quot;, &quot;model&quot;, &quot;org&quot;, &quot;space&quot;, &quot;user&quot;]</code>) &#x2014;
Type of the item to be watched. Can be one of <code>[&quot;dataset&quot;, &quot;model&quot;, &quot;org&quot;, &quot;space&quot;, &quot;user&quot;]</code>.`,name:"type"},{anchor:"huggingface_hub.WebhookWatchedItem.name",description:`<strong>name</strong> (<code>str</code>) &#x2014;
Name of the item to be watched. Can be the username, organization name, model name, dataset name or space name.`,name:"name"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py#L450"}}),ql=new A({props:{title:"CommitOperation",local:"huggingface_hub.CommitOperationAdd",headingTag:"h2"}}),Il=new M({props:{name:"class huggingface_hub.CommitOperationAdd",anchor:"huggingface_hub.CommitOperationAdd",parameters:[{name:"path_in_repo",val:": str"},{name:"path_or_fileobj",val:": typing.Union[str, pathlib.Path, bytes, typing.BinaryIO]"}],parametersDescription:[{anchor:"huggingface_hub.CommitOperationAdd.path_in_repo",description:`<strong>path_in_repo</strong> (<code>str</code>) &#x2014;
Relative filepath in the repo, for example: <code>&quot;checkpoints/1fec34a/weights.bin&quot;</code>`,name:"path_in_repo"},{anchor:"huggingface_hub.CommitOperationAdd.path_or_fileobj",description:`<strong>path_or_fileobj</strong> (<code>str</code>, <code>Path</code>, <code>bytes</code>, or <code>BinaryIO</code>) &#x2014;
Either:
<ul>
<li>a path to a local file (as <code>str</code> or <code>pathlib.Path</code>) to upload</li>
<li>a buffer of bytes (<code>bytes</code>) holding the content of the file to upload</li>
<li>a &#x201C;file object&#x201D; (subclass of <code>io.BufferedIOBase</code>), typically obtained
with <code>open(path, &quot;rb&quot;)</code>. It must support <code>seek()</code> and <code>tell()</code> methods.</li>
</ul>`,name:"path_or_fileobj"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/_commit_api.py#L125",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If <code>path_or_fileobj</code> is not one of <code>str</code>, <code>Path</code>, <code>bytes</code> or <code>io.BufferedIOBase</code>.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If <code>path_or_fileobj</code> is a <code>str</code> or <code>Path</code> but not a path to an existing file.</li>
<li><a
  href="https://docs.python.org/3/library/exceptions.html#ValueError"
  rel="nofollow"
><code>ValueError</code></a> —
If <code>path_or_fileobj</code> is a <code>io.BufferedIOBase</code> but it doesn’t support both
<code>seek()</code> and <code>tell()</code>.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>ValueError</code></p>
`}}),Ul=new M({props:{name:"as_file",anchor:"huggingface_hub.CommitOperationAdd.as_file",parameters:[{name:"with_tqdm",val:": bool = False"}],parametersDescription:[{anchor:"huggingface_hub.CommitOperationAdd.as_file.with_tqdm",description:`<strong>with_tqdm</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
If True, iterating over the file object will display a progress bar. Only
works if the file-like object is a path to a file. Pure bytes and buffers
are not supported.`,name:"with_tqdm"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/_commit_api.py#L207"}}),is=new I({props:{anchor:"huggingface_hub.CommitOperationAdd.as_file.example",$$slots:{default:[F4]},$$scope:{ctx:q}}}),Cl=new M({props:{name:"b64content",anchor:"huggingface_hub.CommitOperationAdd.b64content",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/_commit_api.py#L257"}}),Jl=new M({props:{name:"class huggingface_hub.CommitOperationDelete",anchor:"huggingface_hub.CommitOperationDelete",parameters:[{name:"path_in_repo",val:": str"},{name:"is_folder",val:": typing.Union[bool, typing.Literal['auto']] = 'auto'"}],parametersDescription:[{anchor:"huggingface_hub.CommitOperationDelete.path_in_repo",description:`<strong>path_in_repo</strong> (<code>str</code>) &#x2014;
Relative filepath in the repo, for example: <code>&quot;checkpoints/1fec34a/weights.bin&quot;</code>
for a file or <code>&quot;checkpoints/1fec34a/&quot;</code> for a folder.`,name:"path_in_repo"},{anchor:"huggingface_hub.CommitOperationDelete.is_folder",description:`<strong>is_folder</strong> (<code>bool</code> or <code>Literal[&quot;auto&quot;]</code>, <em>optional</em>) &#x2014;
Whether the Delete Operation applies to a folder or not. If &#x201C;auto&#x201D;, the path
type (file or folder) is guessed automatically by looking if path ends with
a &#x201D;/&#x201D; (folder) or not (file). To explicitly set the path type, you can set
<code>is_folder=True</code> or <code>is_folder=False</code>.`,name:"is_folder"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/_commit_api.py#L58"}}),Al=new M({props:{name:"class huggingface_hub.CommitOperationCopy",anchor:"huggingface_hub.CommitOperationCopy",parameters:[{name:"src_path_in_repo",val:": str"},{name:"path_in_repo",val:": str"},{name:"src_revision",val:": typing.Optional[str] = None"},{name:"_src_oid",val:": typing.Optional[str] = None"},{name:"_dest_oid",val:": typing.Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.CommitOperationCopy.src_path_in_repo",description:`<strong>src_path_in_repo</strong> (<code>str</code>) &#x2014;
Relative filepath in the repo of the file to be copied, e.g. <code>&quot;checkpoints/1fec34a/weights.bin&quot;</code>.`,name:"src_path_in_repo"},{anchor:"huggingface_hub.CommitOperationCopy.path_in_repo",description:`<strong>path_in_repo</strong> (<code>str</code>) &#x2014;
Relative filepath in the repo where to copy the file, e.g. <code>&quot;checkpoints/1fec34a/weights_copy.bin&quot;</code>.`,name:"path_in_repo"},{anchor:"huggingface_hub.CommitOperationCopy.src_revision",description:`<strong>src_revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The git revision of the file to be copied. Can be any valid git revision.
Default to the target commit revision.`,name:"src_revision"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/_commit_api.py#L89"}}),Nl=new A({props:{title:"CommitScheduler",local:"huggingface_hub.CommitScheduler",headingTag:"h2"}}),El=new M({props:{name:"class huggingface_hub.CommitScheduler",anchor:"huggingface_hub.CommitScheduler",parameters:[{name:"repo_id",val:": str"},{name:"folder_path",val:": typing.Union[str, pathlib.Path]"},{name:"every",val:": typing.Union[int, float] = 5"},{name:"path_in_repo",val:": typing.Optional[str] = None"},{name:"repo_type",val:": typing.Optional[str] = None"},{name:"revision",val:": typing.Optional[str] = None"},{name:"private",val:": typing.Optional[bool] = None"},{name:"token",val:": typing.Optional[str] = None"},{name:"allow_patterns",val:": typing.Union[list[str], str, NoneType] = None"},{name:"ignore_patterns",val:": typing.Union[list[str], str, NoneType] = None"},{name:"squash_history",val:": bool = False"},{name:"hf_api",val:": typing.Optional[ForwardRef('HfApi')] = None"}],parametersDescription:[{anchor:"huggingface_hub.CommitScheduler.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The id of the repo to commit to.`,name:"repo_id"},{anchor:"huggingface_hub.CommitScheduler.folder_path",description:`<strong>folder_path</strong> (<code>str</code> or <code>Path</code>) &#x2014;
Path to the local folder to upload regularly.`,name:"folder_path"},{anchor:"huggingface_hub.CommitScheduler.every",description:`<strong>every</strong> (<code>int</code> or <code>float</code>, <em>optional</em>) &#x2014;
The number of minutes between each commit. Defaults to 5 minutes.`,name:"every"},{anchor:"huggingface_hub.CommitScheduler.path_in_repo",description:`<strong>path_in_repo</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Relative path of the directory in the repo, for example: <code>&quot;checkpoints/&quot;</code>. Defaults to the root folder
of the repository.`,name:"path_in_repo"},{anchor:"huggingface_hub.CommitScheduler.repo_type",description:`<strong>repo_type</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The type of the repo to commit to. Defaults to <code>model</code>.`,name:"repo_type"},{anchor:"huggingface_hub.CommitScheduler.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The revision of the repo to commit to. Defaults to <code>main</code>.`,name:"revision"},{anchor:"huggingface_hub.CommitScheduler.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to make the repo private. If <code>None</code> (default), the repo will be public unless the organization&#x2019;s default is private. This value is ignored if the repo already exists.`,name:"private"},{anchor:"huggingface_hub.CommitScheduler.token",description:`<strong>token</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The token to use to commit to the repo. Defaults to the token saved on the machine.`,name:"token"},{anchor:"huggingface_hub.CommitScheduler.allow_patterns",description:`<strong>allow_patterns</strong> (<code>list[str]</code> or <code>str</code>, <em>optional</em>) &#x2014;
If provided, only files matching at least one pattern are uploaded.`,name:"allow_patterns"},{anchor:"huggingface_hub.CommitScheduler.ignore_patterns",description:`<strong>ignore_patterns</strong> (<code>list[str]</code> or <code>str</code>, <em>optional</em>) &#x2014;
If provided, files matching any of the patterns are not uploaded.`,name:"ignore_patterns"},{anchor:"huggingface_hub.CommitScheduler.squash_history",description:`<strong>squash_history</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to squash the history of the repo after each commit. Defaults to <code>False</code>. Squashing commits is
useful to avoid degraded performances on the repo when it grows too large.`,name:"squash_history"},{anchor:"huggingface_hub.CommitScheduler.hf_api",description:`<strong>hf_api</strong> (<code>HfApi</code>, <em>optional</em>) &#x2014;
The <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi">HfApi</a> client to use to commit to the Hub. Can be set with custom settings (user agent, token,&#x2026;).`,name:"hf_api"}],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/_commit_scheduler.py#L29"}}),cs=new I({props:{anchor:"huggingface_hub.CommitScheduler.example",$$slots:{default:[S4]},$$scope:{ctx:q}}}),ls=new I({props:{anchor:"huggingface_hub.CommitScheduler.example-2",$$slots:{default:[W4]},$$scope:{ctx:q}}}),Rl=new M({props:{name:"push_to_hub",anchor:"huggingface_hub.CommitScheduler.push_to_hub",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/_commit_scheduler.py#L204"}}),Gl=new M({props:{name:"stop",anchor:"huggingface_hub.CommitScheduler.stop",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/_commit_scheduler.py#L157"}}),Zl=new M({props:{name:"trigger",anchor:"huggingface_hub.CommitScheduler.trigger",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/_commit_scheduler.py#L181"}}),Fl=new jI({props:{source:"https://github.com/huggingface/huggingface_hub/blob/main/docs/source/en/package_reference/hf_api.md"}}),{c(){s=r("meta"),$=o(),l=r("p"),c=o(),u(g.$$.fragment),t=o(),u(v.$$.fragment),Pf=o(),Ms=r("p"),Ms.innerHTML=dj,zf=o(),qs=r("p"),qs.innerHTML=pj,Of=o(),Hs=r("p"),Hs.innerHTML=gj,Qf=o(),u(Is.$$.fragment),Kf=o(),u(Us.$$.fragment),em=o(),x=r("div"),u(Cs.$$.fragment),v_=o(),sd=r("p"),sd.textContent=uj,x_=o(),rd=r("p"),rd.innerHTML=hj,w_=o(),Ce=r("div"),u(Js.$$.fragment),$_=o(),id=r("p"),id.textContent=fj,k_=o(),cd=r("p"),cd.innerHTML=mj,j_=o(),ld=r("p"),ld.innerHTML=_j,T_=o(),Je=r("div"),u(As.$$.fragment),M_=o(),dd=r("p"),dd.textContent=bj,q_=o(),pd=r("p"),pd.innerHTML=yj,H_=o(),u(_o.$$.fragment),I_=o(),Gt=r("div"),u(Ns.$$.fragment),U_=o(),gd=r("p"),gd.textContent=vj,C_=o(),ud=r("p"),ud.innerHTML=xj,J_=o(),Zt=r("div"),u(Es.$$.fragment),A_=o(),hd=r("p"),hd.textContent=wj,N_=o(),fd=r("p"),fd.innerHTML=$j,E_=o(),Z=r("div"),u(Rs.$$.fragment),R_=o(),md=r("p"),md.textContent=kj,D_=o(),_d=r("p"),_d.textContent=jj,G_=o(),bd=r("p"),bd.textContent=Tj,Z_=o(),u(bo.$$.fragment),F_=o(),yd=r("p"),yd.textContent=Mj,S_=o(),vd=r("ul"),vd.innerHTML=qj,W_=o(),Ae=r("div"),u(Ds.$$.fragment),L_=o(),xd=r("p"),xd.textContent=Hj,B_=o(),wd=r("p"),wd.textContent=Ij,V_=o(),$d=r("p"),$d.innerHTML=Uj,Y_=o(),yo=r("div"),u(Gs.$$.fragment),X_=o(),kd=r("p"),kd.textContent=Cj,P_=o(),Ne=r("div"),u(Zs.$$.fragment),z_=o(),jd=r("p"),jd.textContent=Jj,O_=o(),u(vo.$$.fragment),Q_=o(),Fs=r("blockquote"),Fs.innerHTML=Aj,K_=o(),Ee=r("div"),u(Ss.$$.fragment),eb=o(),Td=r("p"),Td.textContent=Nj,tb=o(),u(xo.$$.fragment),nb=o(),Ws=r("blockquote"),Ws.innerHTML=Ej,ob=o(),wo=r("div"),u(Ls.$$.fragment),ab=o(),Md=r("p"),Md.innerHTML=Rj,sb=o(),Re=r("div"),u(Bs.$$.fragment),rb=o(),qd=r("p"),qd.textContent=Dj,ib=o(),Hd=r("p"),Hd.innerHTML=Gj,cb=o(),u($o.$$.fragment),lb=o(),le=r("div"),u(Vs.$$.fragment),db=o(),Id=r("p"),Id.textContent=Zj,pb=o(),Ys=r("blockquote"),Ys.innerHTML=Fj,gb=o(),Xs=r("blockquote"),Xs.innerHTML=Sj,ub=o(),Ps=r("blockquote"),Ps.innerHTML=Wj,hb=o(),W=r("div"),u(zs.$$.fragment),fb=o(),Ud=r("p"),Ud.textContent=Lj,mb=o(),Cd=r("p"),Cd.innerHTML=Bj,_b=o(),Jd=r("p"),Jd.innerHTML=Vj,bb=o(),Ad=r("p"),Ad.innerHTML=Yj,yb=o(),Os=r("blockquote"),Os.innerHTML=Xj,vb=o(),de=r("div"),u(Qs.$$.fragment),xb=o(),Nd=r("p"),Nd.textContent=Pj,wb=o(),u(ko.$$.fragment),$b=o(),u(jo.$$.fragment),kb=o(),u(To.$$.fragment),jb=o(),De=r("div"),u(Ks.$$.fragment),Tb=o(),Ed=r("p"),Ed.textContent=zj,Mb=o(),Rd=r("p"),Rd.innerHTML=Oj,qb=o(),er=r("blockquote"),er.innerHTML=Qj,Hb=o(),L=r("div"),u(tr.$$.fragment),Ib=o(),Dd=r("p"),Dd.innerHTML=Kj,Ub=o(),Gd=r("p"),Gd.innerHTML=eT,Cb=o(),Zd=r("p"),Zd.innerHTML=tT,Jb=o(),Fd=r("p"),Fd.innerHTML=nT,Ab=o(),nr=r("blockquote"),nr.innerHTML=oT,Nb=o(),Mo=r("div"),u(or.$$.fragment),Eb=o(),Sd=r("p"),Sd.textContent=aT,Rb=o(),B=r("div"),u(ar.$$.fragment),Db=o(),Wd=r("p"),Wd.textContent=sT,Gb=o(),Ld=r("p"),Ld.textContent=rT,Zb=o(),u(qo.$$.fragment),Fb=o(),u(Ho.$$.fragment),Sb=o(),u(Io.$$.fragment),Wb=o(),V=r("div"),u(sr.$$.fragment),Lb=o(),Bd=r("p"),Bd.textContent=iT,Bb=o(),Vd=r("p"),Vd.textContent=cT,Vb=o(),u(Uo.$$.fragment),Yb=o(),u(Co.$$.fragment),Xb=o(),u(Jo.$$.fragment),Pb=o(),Ao=r("div"),u(rr.$$.fragment),zb=o(),Yd=r("p"),Yd.textContent=lT,Ob=o(),D=r("div"),u(ir.$$.fragment),Qb=o(),Xd=r("p"),Xd.textContent=dT,Kb=o(),Pd=r("p"),Pd.innerHTML=pT,ey=o(),zd=r("p"),zd.textContent=gT,ty=o(),Od=r("p"),Od.textContent=uT,ny=o(),u(No.$$.fragment),oy=o(),Qd=r("p"),Qd.textContent=hT,ay=o(),u(Eo.$$.fragment),sy=o(),Ge=r("div"),u(cr.$$.fragment),ry=o(),Kd=r("p"),Kd.textContent=fT,iy=o(),ep=r("p"),ep.textContent=mT,cy=o(),lr=r("blockquote"),lr.innerHTML=_T,ly=o(),Ro=r("div"),u(dr.$$.fragment),dy=o(),tp=r("p"),tp.textContent=bT,py=o(),Ze=r("div"),u(pr.$$.fragment),gy=o(),np=r("p"),np.textContent=yT,uy=o(),u(Do.$$.fragment),hy=o(),gr=r("blockquote"),gr.innerHTML=vT,fy=o(),Ft=r("div"),u(ur.$$.fragment),my=o(),op=r("p"),op.textContent=xT,_y=o(),u(Go.$$.fragment),by=o(),St=r("div"),u(hr.$$.fragment),yy=o(),ap=r("p"),ap.textContent=wT,vy=o(),fr=r("blockquote"),fr.innerHTML=$T,xy=o(),Wt=r("div"),u(mr.$$.fragment),wy=o(),sp=r("p"),sp.textContent=kT,$y=o(),rp=r("p"),rp.textContent=jT,ky=o(),Lt=r("div"),u(_r.$$.fragment),jy=o(),ip=r("p"),ip.textContent=TT,Ty=o(),cp=r("p"),cp.innerHTML=MT,My=o(),Fe=r("div"),u(br.$$.fragment),qy=o(),lp=r("p"),lp.textContent=qT,Hy=o(),dp=r("p"),dp.innerHTML=HT,Iy=o(),pp=r("p"),pp.innerHTML=IT,Uy=o(),Zo=r("div"),u(yr.$$.fragment),Cy=o(),gp=r("p"),gp.textContent=UT,Jy=o(),Fo=r("div"),u(vr.$$.fragment),Ay=o(),up=r("p"),up.textContent=CT,Ny=o(),Bt=r("div"),u(xr.$$.fragment),Ey=o(),hp=r("p"),hp.textContent=JT,Ry=o(),fp=r("p"),fp.innerHTML=AT,Dy=o(),So=r("div"),u(wr.$$.fragment),Gy=o(),mp=r("p"),mp.textContent=NT,Zy=o(),Vt=r("div"),u($r.$$.fragment),Fy=o(),_p=r("p"),_p.textContent=ET,Sy=o(),bp=r("p"),bp.innerHTML=RT,Wy=o(),Wo=r("div"),u(kr.$$.fragment),Ly=o(),yp=r("p"),yp.textContent=DT,By=o(),Yt=r("div"),u(jr.$$.fragment),Vy=o(),vp=r("p"),vp.textContent=GT,Yy=o(),u(Lo.$$.fragment),Xy=o(),Xt=r("div"),u(Tr.$$.fragment),Py=o(),xp=r("p"),xp.textContent=ZT,zy=o(),u(Bo.$$.fragment),Oy=o(),Se=r("div"),u(Mr.$$.fragment),Qy=o(),wp=r("p"),wp.textContent=FT,Ky=o(),$p=r("p"),$p.textContent=ST,ev=o(),u(Vo.$$.fragment),tv=o(),Pt=r("div"),u(qr.$$.fragment),nv=o(),kp=r("p"),kp.textContent=WT,ov=o(),Hr=r("blockquote"),Hr.innerHTML=LT,av=o(),zt=r("div"),u(Ir.$$.fragment),sv=o(),jp=r("p"),jp.textContent=BT,rv=o(),u(Yo.$$.fragment),iv=o(),Ot=r("div"),u(Ur.$$.fragment),cv=o(),Tp=r("p"),Tp.textContent=VT,lv=o(),u(Xo.$$.fragment),dv=o(),Qt=r("div"),u(Cr.$$.fragment),pv=o(),Mp=r("p"),Mp.textContent=YT,gv=o(),u(Po.$$.fragment),uv=o(),We=r("div"),u(Jr.$$.fragment),hv=o(),qp=r("p"),qp.textContent=XT,fv=o(),Hp=r("p"),Hp.innerHTML=PT,mv=o(),u(zo.$$.fragment),_v=o(),Oo=r("div"),u(Ar.$$.fragment),bv=o(),Ip=r("p"),Ip.textContent=zT,yv=o(),Le=r("div"),u(Nr.$$.fragment),vv=o(),Up=r("p"),Up.textContent=OT,xv=o(),Cp=r("p"),Cp.innerHTML=QT,wv=o(),Er=r("blockquote"),Er.innerHTML=KT,$v=o(),Qo=r("div"),u(Rr.$$.fragment),kv=o(),Jp=r("p"),Jp.textContent=e0,jv=o(),Ko=r("div"),u(Dr.$$.fragment),Tv=o(),Ap=r("p"),Ap.textContent=t0,Mv=o(),Kt=r("div"),u(Gr.$$.fragment),qv=o(),Np=r("p"),Np.textContent=n0,Hv=o(),u(ea.$$.fragment),Iv=o(),ta=r("div"),u(Zr.$$.fragment),Uv=o(),Ep=r("p"),Ep.textContent=o0,Cv=o(),na=r("div"),u(Fr.$$.fragment),Jv=o(),Rp=r("p"),Rp.textContent=a0,Av=o(),en=r("div"),u(Sr.$$.fragment),Nv=o(),Dp=r("p"),Dp.textContent=s0,Ev=o(),u(oa.$$.fragment),Rv=o(),pe=r("div"),u(Wr.$$.fragment),Dv=o(),Gp=r("p"),Gp.textContent=r0,Gv=o(),Zp=r("p"),Zp.textContent=i0,Zv=o(),u(aa.$$.fragment),Fv=o(),u(sa.$$.fragment),Sv=o(),Y=r("div"),u(Lr.$$.fragment),Wv=o(),Fp=r("p"),Fp.textContent=c0,Lv=o(),Sp=r("p"),Sp.textContent=l0,Bv=o(),Wp=r("p"),Wp.innerHTML=d0,Vv=o(),Lp=r("p"),Lp.innerHTML=p0,Yv=o(),u(ra.$$.fragment),Xv=o(),ia=r("div"),u(Br.$$.fragment),Pv=o(),Bp=r("p"),Bp.textContent=g0,zv=o(),tn=r("div"),u(Vr.$$.fragment),Ov=o(),Vp=r("p"),Vp.textContent=u0,Qv=o(),Yp=r("p"),Yp.innerHTML=h0,Kv=o(),ca=r("div"),u(Yr.$$.fragment),ex=o(),Xp=r("p"),Xp.textContent=f0,tx=o(),nn=r("div"),u(Xr.$$.fragment),nx=o(),Pp=r("p"),Pp.textContent=m0,ox=o(),u(la.$$.fragment),ax=o(),Be=r("div"),u(Pr.$$.fragment),sx=o(),zp=r("p"),zp.textContent=_0,rx=o(),Op=r("p"),Op.innerHTML=b0,ix=o(),Qp=r("p"),Qp.innerHTML=y0,cx=o(),X=r("div"),u(zr.$$.fragment),lx=o(),Kp=r("p"),Kp.textContent=v0,dx=o(),eg=r("p"),eg.textContent=x0,px=o(),tg=r("ul"),tg.innerHTML=w0,gx=o(),u(da.$$.fragment),ux=o(),ng=r("p"),ng.innerHTML=$0,hx=o(),Ve=r("div"),u(Or.$$.fragment),fx=o(),og=r("p"),og.textContent=k0,mx=o(),Qr=r("blockquote"),Qr.innerHTML=j0,_x=o(),Kr=r("blockquote"),Kr.innerHTML=T0,bx=o(),on=r("div"),u(ei.$$.fragment),yx=o(),ag=r("p"),ag.textContent=M0,vx=o(),u(pa.$$.fragment),xx=o(),an=r("div"),u(ti.$$.fragment),wx=o(),sg=r("p"),sg.textContent=q0,$x=o(),u(ga.$$.fragment),kx=o(),ge=r("div"),u(ni.$$.fragment),jx=o(),rg=r("p"),rg.textContent=H0,Tx=o(),ig=r("p"),ig.innerHTML=I0,Mx=o(),cg=r("p"),cg.innerHTML=U0,qx=o(),u(ua.$$.fragment),Hx=o(),sn=r("div"),u(oi.$$.fragment),Ix=o(),lg=r("p"),lg.textContent=C0,Ux=o(),ai=r("blockquote"),ai.innerHTML=J0,Cx=o(),Ye=r("div"),u(si.$$.fragment),Jx=o(),dg=r("p"),dg.textContent=A0,Ax=o(),u(ha.$$.fragment),Nx=o(),u(fa.$$.fragment),Ex=o(),ue=r("div"),u(ri.$$.fragment),Rx=o(),pg=r("p"),pg.textContent=N0,Dx=o(),gg=r("p"),gg.innerHTML=E0,Gx=o(),ug=r("p"),ug.innerHTML=R0,Zx=o(),ii=r("blockquote"),ii.innerHTML=D0,Fx=o(),rn=r("div"),u(ci.$$.fragment),Sx=o(),hg=r("p"),hg.textContent=G0,Wx=o(),u(ma.$$.fragment),Lx=o(),_a=r("div"),u(li.$$.fragment),Bx=o(),fg=r("p"),fg.textContent=Z0,Vx=o(),Xe=r("div"),u(di.$$.fragment),Yx=o(),mg=r("p"),mg.textContent=F0,Xx=o(),_g=r("p"),_g.innerHTML=S0,Px=o(),u(ba.$$.fragment),zx=o(),he=r("div"),u(pi.$$.fragment),Ox=o(),bg=r("p"),bg.textContent=W0,Qx=o(),yg=r("p"),yg.innerHTML=L0,Kx=o(),vg=r("p"),vg.innerHTML=B0,e2=o(),u(ya.$$.fragment),t2=o(),cn=r("div"),u(gi.$$.fragment),n2=o(),xg=r("p"),xg.textContent=V0,o2=o(),u(va.$$.fragment),a2=o(),xa=r("div"),u(ui.$$.fragment),s2=o(),wg=r("p"),wg.textContent=Y0,r2=o(),wa=r("div"),u(hi.$$.fragment),i2=o(),$g=r("p"),$g.textContent=X0,c2=o(),ln=r("div"),u(fi.$$.fragment),l2=o(),kg=r("p"),kg.textContent=P0,d2=o(),u($a.$$.fragment),p2=o(),fe=r("div"),u(mi.$$.fragment),g2=o(),jg=r("p"),jg.textContent=z0,u2=o(),Tg=r("p"),Tg.innerHTML=O0,h2=o(),Mg=r("p"),Mg.innerHTML=Q0,f2=o(),u(ka.$$.fragment),m2=o(),me=r("div"),u(_i.$$.fragment),_2=o(),qg=r("p"),qg.textContent=K0,b2=o(),Hg=r("p"),Hg.innerHTML=eM,y2=o(),Ig=r("p"),Ig.innerHTML=tM,v2=o(),u(ja.$$.fragment),x2=o(),Pe=r("div"),u(bi.$$.fragment),w2=o(),Ug=r("p"),Ug.textContent=nM,$2=o(),Cg=r("p"),Cg.textContent=oM,k2=o(),u(Ta.$$.fragment),j2=o(),Ma=r("div"),u(yi.$$.fragment),T2=o(),Jg=r("p"),Jg.textContent=aM,M2=o(),dn=r("div"),u(vi.$$.fragment),q2=o(),Ag=r("p"),Ag.textContent=sM,H2=o(),Ng=r("p"),Ng.innerHTML=rM,I2=o(),pn=r("div"),u(xi.$$.fragment),U2=o(),Eg=r("p"),Eg.textContent=iM,C2=o(),u(qa.$$.fragment),J2=o(),F=r("div"),u(wi.$$.fragment),A2=o(),Rg=r("p"),Rg.textContent=cM,N2=o(),Dg=r("p"),Dg.textContent=lM,E2=o(),Gg=r("p"),Gg.textContent=dM,R2=o(),u(Ha.$$.fragment),D2=o(),Zg=r("p"),Zg.textContent=pM,G2=o(),u(Ia.$$.fragment),Z2=o(),Ua=r("div"),u($i.$$.fragment),F2=o(),Fg=r("p"),Fg.textContent=gM,S2=o(),Ca=r("div"),u(ki.$$.fragment),W2=o(),Sg=r("p"),Sg.textContent=uM,L2=o(),Ja=r("div"),u(ji.$$.fragment),B2=o(),Wg=r("p"),Wg.textContent=hM,V2=o(),Aa=r("div"),u(Ti.$$.fragment),Y2=o(),Lg=r("p"),Lg.textContent=fM,X2=o(),gn=r("div"),u(Mi.$$.fragment),P2=o(),Bg=r("p"),Bg.textContent=mM,z2=o(),u(Na.$$.fragment),O2=o(),un=r("div"),u(qi.$$.fragment),Q2=o(),Vg=r("p"),Vg.textContent=_M,K2=o(),Hi=r("blockquote"),Hi.innerHTML=bM,e1=o(),ze=r("div"),u(Ii.$$.fragment),t1=o(),Yg=r("p"),Yg.textContent=yM,n1=o(),Xg=r("p"),Xg.textContent=vM,o1=o(),Ui=r("blockquote"),Ui.innerHTML=xM,a1=o(),Oe=r("div"),u(Ci.$$.fragment),s1=o(),Pg=r("p"),Pg.textContent=wM,r1=o(),zg=r("p"),zg.innerHTML=$M,i1=o(),Ji=r("blockquote"),Ji.innerHTML=kM,c1=o(),Ea=r("div"),u(Ai.$$.fragment),l1=o(),Og=r("p"),Og.textContent=jM,d1=o(),Qe=r("div"),u(Ni.$$.fragment),p1=o(),Qg=r("p"),Qg.textContent=TM,g1=o(),Kg=r("p"),Kg.innerHTML=MM,u1=o(),eu=r("p"),eu.innerHTML=qM,h1=o(),Ke=r("div"),u(Ei.$$.fragment),f1=o(),tu=r("p"),tu.textContent=HM,m1=o(),nu=r("p"),nu.innerHTML=IM,_1=o(),ou=r("p"),ou.innerHTML=UM,b1=o(),et=r("div"),u(Ri.$$.fragment),y1=o(),au=r("p"),au.textContent=CM,v1=o(),su=r("p"),su.innerHTML=JM,x1=o(),ru=r("p"),ru.innerHTML=AM,w1=o(),tt=r("div"),u(Di.$$.fragment),$1=o(),iu=r("p"),iu.textContent=NM,k1=o(),Gi=r("blockquote"),Gi.innerHTML=EM,j1=o(),u(Ra.$$.fragment),T1=o(),P=r("div"),u(Zi.$$.fragment),M1=o(),cu=r("p"),cu.textContent=RM,q1=o(),lu=r("p"),lu.textContent=DM,H1=o(),Fi=r("blockquote"),Fi.innerHTML=GM,I1=o(),Si=r("blockquote"),Si.innerHTML=ZM,U1=o(),u(Da.$$.fragment),C1=o(),nt=r("div"),u(Wi.$$.fragment),J1=o(),du=r("p"),du.textContent=FM,A1=o(),pu=r("p"),pu.innerHTML=SM,N1=o(),gu=r("p"),gu.innerHTML=WM,E1=o(),ot=r("div"),u(Li.$$.fragment),R1=o(),uu=r("p"),uu.textContent=LM,D1=o(),u(Ga.$$.fragment),G1=o(),Bi=r("blockquote"),Bi.innerHTML=BM,Z1=o(),hn=r("div"),u(Vi.$$.fragment),F1=o(),hu=r("p"),hu.textContent=VM,S1=o(),u(Za.$$.fragment),W1=o(),fn=r("div"),u(Yi.$$.fragment),L1=o(),fu=r("p"),fu.textContent=YM,B1=o(),Xi=r("blockquote"),Xi.innerHTML=XM,V1=o(),mn=r("div"),u(Pi.$$.fragment),Y1=o(),mu=r("p"),mu.textContent=PM,X1=o(),zi=r("blockquote"),zi.innerHTML=zM,P1=o(),_n=r("div"),u(Oi.$$.fragment),z1=o(),_u=r("p"),_u.textContent=OM,O1=o(),Qi=r("blockquote"),Qi.innerHTML=QM,Q1=o(),at=r("div"),u(Ki.$$.fragment),K1=o(),bu=r("p"),bu.textContent=KM,ew=o(),yu=r("p"),yu.innerHTML=eq,tw=o(),vu=r("p"),vu.innerHTML=tq,nw=o(),bn=r("div"),u(ec.$$.fragment),ow=o(),xu=r("p"),xu.textContent=nq,aw=o(),wu=r("p"),wu.innerHTML=oq,sw=o(),Fa=r("div"),u(tc.$$.fragment),rw=o(),$u=r("p"),$u.textContent=aq,iw=o(),yn=r("div"),u(nc.$$.fragment),cw=o(),ku=r("p"),ku.textContent=sq,lw=o(),u(Sa.$$.fragment),dw=o(),_e=r("div"),u(oc.$$.fragment),pw=o(),ju=r("p"),ju.textContent=rq,gw=o(),Tu=r("p"),Tu.innerHTML=iq,uw=o(),Mu=r("p"),Mu.innerHTML=cq,hw=o(),u(Wa.$$.fragment),fw=o(),be=r("div"),u(ac.$$.fragment),mw=o(),qu=r("p"),qu.textContent=lq,_w=o(),Hu=r("p"),Hu.textContent=dq,bw=o(),u(La.$$.fragment),yw=o(),u(Ba.$$.fragment),vw=o(),z=r("div"),u(sc.$$.fragment),xw=o(),Iu=r("p"),Iu.textContent=pq,ww=o(),Uu=r("p"),Uu.textContent=gq,$w=o(),u(Va.$$.fragment),kw=o(),u(Ya.$$.fragment),jw=o(),u(Xa.$$.fragment),Tw=o(),st=r("div"),u(rc.$$.fragment),Mw=o(),Cu=r("p"),Cu.textContent=uq,qw=o(),Ju=r("p"),Ju.innerHTML=hq,Hw=o(),Au=r("p"),Au.innerHTML=fq,Iw=o(),rt=r("div"),u(ic.$$.fragment),Uw=o(),Nu=r("p"),Nu.textContent=mq,Cw=o(),Eu=r("p"),Eu.innerHTML=_q,Jw=o(),cc=r("blockquote"),cc.innerHTML=bq,Aw=o(),ye=r("div"),u(lc.$$.fragment),Nw=o(),Ru=r("p"),Ru.textContent=yq,Ew=o(),Du=r("p"),Du.innerHTML=vq,Rw=o(),Gu=r("p"),Gu.innerHTML=xq,Dw=o(),Zu=r("p"),Zu.textContent=wq,Gw=o(),it=r("div"),u(dc.$$.fragment),Zw=o(),Fu=r("p"),Fu.textContent=$q,Fw=o(),Su=r("p"),Su.textContent=kq,Sw=o(),pc=r("blockquote"),pc.innerHTML=jq,Ww=o(),O=r("div"),u(gc.$$.fragment),Lw=o(),Wu=r("p"),Wu.textContent=Tq,Bw=o(),Lu=r("p"),Lu.textContent=Mq,Vw=o(),uc=r("blockquote"),uc.innerHTML=qq,Yw=o(),hc=r("blockquote"),hc.innerHTML=Hq,Xw=o(),u(Pa.$$.fragment),Pw=o(),za=r("div"),u(fc.$$.fragment),zw=o(),Bu=r("p"),Bu.textContent=Iq,Ow=o(),ve=r("div"),u(mc.$$.fragment),Qw=o(),Vu=r("p"),Vu.textContent=Uq,Kw=o(),Yu=r("p"),Yu.innerHTML=Cq,e$=o(),Xu=r("p"),Xu.innerHTML=Jq,t$=o(),u(Oa.$$.fragment),n$=o(),vn=r("div"),u(_c.$$.fragment),o$=o(),Pu=r("p"),Pu.textContent=Aq,a$=o(),u(Qa.$$.fragment),s$=o(),xe=r("div"),u(bc.$$.fragment),r$=o(),zu=r("p"),zu.textContent=Nq,i$=o(),Ou=r("p"),Ou.textContent=Eq,c$=o(),Qu=r("p"),Qu.innerHTML=Rq,l$=o(),u(Ka.$$.fragment),d$=o(),ct=r("div"),u(yc.$$.fragment),p$=o(),Ku=r("p"),Ku.textContent=Dq,g$=o(),eh=r("p"),eh.textContent=Gq,u$=o(),th=r("p"),th.innerHTML=Zq,h$=o(),xn=r("div"),u(vc.$$.fragment),f$=o(),nh=r("p"),nh.textContent=Fq,m$=o(),oh=r("p"),oh.textContent=Sq,_$=o(),wn=r("div"),u(xc.$$.fragment),b$=o(),ah=r("p"),ah.textContent=Wq,y$=o(),u(es.$$.fragment),v$=o(),we=r("div"),u(wc.$$.fragment),x$=o(),sh=r("p"),sh.textContent=Lq,w$=o(),$c=r("blockquote"),$c.innerHTML=Bq,$$=o(),kc=r("blockquote"),kc.innerHTML=Vq,k$=o(),u(ts.$$.fragment),j$=o(),J=r("div"),u(jc.$$.fragment),T$=o(),rh=r("p"),rh.textContent=Yq,M$=o(),ih=r("p"),ih.textContent=Xq,q$=o(),ch=r("p"),ch.innerHTML=Pq,H$=o(),lh=r("p"),lh.innerHTML=zq,I$=o(),dh=r("p"),dh.innerHTML=Oq,U$=o(),ph=r("p"),ph.innerHTML=Qq,C$=o(),Tc=r("blockquote"),Tc.innerHTML=Kq,J$=o(),Mc=r("blockquote"),Mc.innerHTML=eH,A$=o(),qc=r("blockquote"),qc.innerHTML=tH,N$=o(),u(ns.$$.fragment),E$=o(),C=r("div"),u(Hc.$$.fragment),R$=o(),gh=r("p"),gh.textContent=nH,D$=o(),uh=r("p"),uh.innerHTML=oH,G$=o(),Ic=r("blockquote"),Ic.innerHTML=aH,Z$=o(),Uc=r("blockquote"),Uc.innerHTML=sH,F$=o(),hh=r("p"),hh.innerHTML=rH,S$=o(),fh=r("p"),fh.innerHTML=iH,W$=o(),mh=r("ol"),mh.innerHTML=cH,L$=o(),_h=r("p"),_h.textContent=lH,B$=o(),bh=r("ol"),bh.innerHTML=dH,V$=o(),yh=r("p"),yh.textContent=pH,Y$=o(),vh=r("ul"),vh.innerHTML=gH,X$=o(),os=r("div"),u(Cc.$$.fragment),P$=o(),xh=r("p"),xh.textContent=uH,z$=o(),as=r("div"),u(Jc.$$.fragment),O$=o(),wh=r("p"),wh.textContent=hH,tm=o(),u(Ac.$$.fragment),nm=o(),u(Nc.$$.fragment),om=o(),Gn=r("div"),u(Ec.$$.fragment),Q$=o(),$h=r("p"),$h.textContent=fH,am=o(),u(Rc.$$.fragment),sm=o(),ut=r("div"),u(Dc.$$.fragment),K$=o(),kh=r("p"),kh.textContent=mH,ek=o(),jh=r("p"),jh.innerHTML=_H,rm=o(),u(Gc.$$.fragment),im=o(),ht=r("div"),u(Zc.$$.fragment),tk=o(),Th=r("p"),Th.innerHTML=bH,nk=o(),Fc=r("blockquote"),Fc.innerHTML=yH,cm=o(),u(Sc.$$.fragment),lm=o(),ft=r("div"),u(Wc.$$.fragment),ok=o(),Mh=r("p"),Mh.textContent=vH,ak=o(),qh=r("p"),qh.innerHTML=xH,dm=o(),u(Lc.$$.fragment),pm=o(),Zn=r("div"),u(Bc.$$.fragment),sk=o(),Hh=r("p"),Hh.textContent=wH,gm=o(),u(Vc.$$.fragment),um=o(),Fn=r("div"),u(Yc.$$.fragment),rk=o(),Ih=r("p"),Ih.innerHTML=$H,hm=o(),u(Xc.$$.fragment),fm=o(),mt=r("div"),u(Pc.$$.fragment),ik=o(),Uh=r("p"),Uh.textContent=kH,ck=o(),Ch=r("p"),Ch.innerHTML=jH,mm=o(),u(zc.$$.fragment),_m=o(),Oc=r("div"),u(Qc.$$.fragment),bm=o(),u(Kc.$$.fragment),ym=o(),K=r("div"),u(el.$$.fragment),lk=o(),Jh=r("p"),Jh.textContent=TH,dk=o(),Ah=r("p"),Ah.innerHTML=MH,pk=o(),Nh=r("p"),Nh.innerHTML=qH,gk=o(),u(ss.$$.fragment),vm=o(),u(tl.$$.fragment),xm=o(),_t=r("div"),u(nl.$$.fragment),uk=o(),Eh=r("p"),Eh.innerHTML=HH,hk=o(),ol=r("blockquote"),ol.innerHTML=IH,wm=o(),u(al.$$.fragment),$m=o(),bt=r("div"),u(sl.$$.fragment),fk=o(),Rh=r("p"),Rh.textContent=UH,mk=o(),rl=r("blockquote"),rl.innerHTML=CH,km=o(),u(il.$$.fragment),jm=o(),Sn=r("div"),u(cl.$$.fragment),_k=o(),Dh=r("p"),Dh.textContent=JH,Tm=o(),u(ll.$$.fragment),Mm=o(),ee=r("div"),u(dl.$$.fragment),bk=o(),Gh=r("p"),Gh.innerHTML=AH,yk=o(),Zh=r("p"),Zh.innerHTML=NH,vk=o(),Fh=r("ul"),Fh.innerHTML=EH,xk=o(),u(rs.$$.fragment),qm=o(),u(pl.$$.fragment),Hm=o(),te=r("div"),u(gl.$$.fragment),wk=o(),Sh=r("p"),Sh.textContent=RH,$k=o(),Wh=r("p"),Wh.textContent=DH,kk=o(),Lh=r("p"),Lh.innerHTML=GH,jk=o(),Bh=r("p"),Bh.innerHTML=ZH,Im=o(),u(ul.$$.fragment),Um=o(),ke=r("div"),u(hl.$$.fragment),Tk=o(),Vh=r("p"),Vh.textContent=FH,Mk=o(),Yh=r("p"),Yh.innerHTML=SH,qk=o(),Xh=r("p"),Xh.innerHTML=WH,Cm=o(),u(fl.$$.fragment),Jm=o(),yt=r("div"),u(ml.$$.fragment),Hk=o(),Ph=r("p"),Ph.innerHTML=LH,Ik=o(),_l=r("blockquote"),_l.innerHTML=BH,Am=o(),u(bl.$$.fragment),Nm=o(),vt=r("div"),u(yl.$$.fragment),Uk=o(),zh=r("p"),zh.textContent=VH,Ck=o(),Oh=r("p"),Oh.innerHTML=YH,Em=o(),u(vl.$$.fragment),Rm=o(),Wn=r("div"),u(xl.$$.fragment),Jk=o(),Qh=r("p"),Qh.textContent=XH,Dm=o(),u(wl.$$.fragment),Gm=o(),Ln=r("div"),u($l.$$.fragment),Ak=o(),Kh=r("p"),Kh.textContent=PH,Zm=o(),u(kl.$$.fragment),Fm=o(),xt=r("div"),u(jl.$$.fragment),Nk=o(),ef=r("p"),ef.textContent=zH,Ek=o(),tf=r("p"),tf.innerHTML=OH,Sm=o(),u(Tl.$$.fragment),Wm=o(),Bn=r("div"),u(Ml.$$.fragment),Rk=o(),nf=r("p"),nf.textContent=QH,Lm=o(),u(ql.$$.fragment),Bm=o(),Hl=r("p"),Hl.innerHTML=KH,Vm=o(),je=r("div"),u(Il.$$.fragment),Dk=o(),of=r("p"),of.textContent=eI,Gk=o(),$n=r("div"),u(Ul.$$.fragment),Zk=o(),af=r("p"),af.innerHTML=tI,Fk=o(),u(is.$$.fragment),Sk=o(),kn=r("div"),u(Cl.$$.fragment),Wk=o(),sf=r("p"),sf.innerHTML=nI,Lk=o(),rf=r("p"),rf.innerHTML=oI,Ym=o(),Vn=r("div"),u(Jl.$$.fragment),Bk=o(),cf=r("p"),cf.textContent=aI,Xm=o(),ne=r("div"),u(Al.$$.fragment),Vk=o(),lf=r("p"),lf.textContent=sI,Yk=o(),df=r("p"),df.textContent=rI,Xk=o(),pf=r("ul"),pf.innerHTML=iI,Pk=o(),gf=r("p"),gf.innerHTML=cI,Pm=o(),u(Nl.$$.fragment),zm=o(),R=r("div"),u(El.$$.fragment),zk=o(),uf=r("p"),uf.textContent=lI,Ok=o(),hf=r("p"),hf.innerHTML=dI,Qk=o(),u(cs.$$.fragment),Kk=o(),u(ls.$$.fragment),ej=o(),lt=r("div"),u(Rl.$$.fragment),tj=o(),ff=r("p"),ff.textContent=pI,nj=o(),Dl=r("blockquote"),Dl.innerHTML=gI,oj=o(),mf=r("p"),mf.innerHTML=uI,aj=o(),jn=r("div"),u(Gl.$$.fragment),sj=o(),_f=r("p"),_f.textContent=hI,rj=o(),bf=r("p"),bf.textContent=fI,ij=o(),Tn=r("div"),u(Zl.$$.fragment),cj=o(),yf=r("p"),yf.innerHTML=mI,lj=o(),vf=r("p"),vf.innerHTML=_I,Om=o(),u(Fl.$$.fragment),Qm=o(),Xf=r("p"),this.h()},l(n){const y=$I("svelte-u9bgzb",document.head);s=i(y,"META",{name:!0,content:!0}),y.forEach(p),$=a(n),l=i(n,"P",{}),T(l).forEach(p),c=a(n),h(g.$$.fragment,n),t=a(n),h(v.$$.fragment,n),Pf=a(n),Ms=i(n,"P",{"data-svelte-h":!0}),d(Ms)!=="svelte-vbqehn"&&(Ms.innerHTML=dj),zf=a(n),qs=i(n,"P",{"data-svelte-h":!0}),d(qs)!=="svelte-ii6hxn"&&(qs.innerHTML=pj),Of=a(n),Hs=i(n,"P",{"data-svelte-h":!0}),d(Hs)!=="svelte-t5fniz"&&(Hs.innerHTML=gj),Qf=a(n),h(Is.$$.fragment,n),Kf=a(n),h(Us.$$.fragment,n),em=a(n),x=i(n,"DIV",{class:!0});var w=T(x);h(Cs.$$.fragment,w),v_=a(w),sd=i(w,"P",{"data-svelte-h":!0}),d(sd)!=="svelte-868tea"&&(sd.textContent=uj),x_=a(w),rd=i(w,"P",{"data-svelte-h":!0}),d(rd)!=="svelte-mq1mm2"&&(rd.innerHTML=hj),w_=a(w),Ce=i(w,"DIV",{class:!0});var wt=T(Ce);h(Js.$$.fragment,wt),$_=a(wt),id=i(wt,"P",{"data-svelte-h":!0}),d(id)!=="svelte-nwim5u"&&(id.textContent=fj),k_=a(wt),cd=i(wt,"P",{"data-svelte-h":!0}),d(cd)!=="svelte-1p3hclb"&&(cd.innerHTML=mj),j_=a(wt),ld=i(wt,"P",{"data-svelte-h":!0}),d(ld)!=="svelte-xxbgtf"&&(ld.innerHTML=_j),wt.forEach(p),T_=a(w),Je=i(w,"DIV",{class:!0});var $t=T(Je);h(As.$$.fragment,$t),M_=a($t),dd=i($t,"P",{"data-svelte-h":!0}),d(dd)!=="svelte-pl69v6"&&(dd.textContent=bj),q_=a($t),pd=i($t,"P",{"data-svelte-h":!0}),d(pd)!=="svelte-164ppjv"&&(pd.innerHTML=yj),H_=a($t),h(_o.$$.fragment,$t),$t.forEach(p),I_=a(w),Gt=i(w,"DIV",{class:!0});var Yn=T(Gt);h(Ns.$$.fragment,Yn),U_=a(Yn),gd=i(Yn,"P",{"data-svelte-h":!0}),d(gd)!=="svelte-p5bez4"&&(gd.textContent=vj),C_=a(Yn),ud=i(Yn,"P",{"data-svelte-h":!0}),d(ud)!=="svelte-eb77qn"&&(ud.innerHTML=xj),Yn.forEach(p),J_=a(w),Zt=i(w,"DIV",{class:!0});var Xn=T(Zt);h(Es.$$.fragment,Xn),A_=a(Xn),hd=i(Xn,"P",{"data-svelte-h":!0}),d(hd)!=="svelte-1ck64b0"&&(hd.textContent=wj),N_=a(Xn),fd=i(Xn,"P",{"data-svelte-h":!0}),d(fd)!=="svelte-xt39ay"&&(fd.innerHTML=$j),Xn.forEach(p),E_=a(w),Z=i(w,"DIV",{class:!0});var S=T(Z);h(Rs.$$.fragment,S),R_=a(S),md=i(S,"P",{"data-svelte-h":!0}),d(md)!=="svelte-1ryj8c0"&&(md.textContent=kj),D_=a(S),_d=i(S,"P",{"data-svelte-h":!0}),d(_d)!=="svelte-vnh51y"&&(_d.textContent=jj),G_=a(S),bd=i(S,"P",{"data-svelte-h":!0}),d(bd)!=="svelte-11lpom8"&&(bd.textContent=Tj),Z_=a(S),h(bo.$$.fragment,S),F_=a(S),yd=i(S,"P",{"data-svelte-h":!0}),d(yd)!=="svelte-15bi1il"&&(yd.textContent=Mj),S_=a(S),vd=i(S,"UL",{"data-svelte-h":!0}),d(vd)!=="svelte-1cixf91"&&(vd.innerHTML=qj),S.forEach(p),W_=a(w),Ae=i(w,"DIV",{class:!0});var kt=T(Ae);h(Ds.$$.fragment,kt),L_=a(kt),xd=i(kt,"P",{"data-svelte-h":!0}),d(xd)!=="svelte-1v3ljxo"&&(xd.textContent=Hj),B_=a(kt),wd=i(kt,"P",{"data-svelte-h":!0}),d(wd)!=="svelte-zq4mwt"&&(wd.textContent=Ij),V_=a(kt),$d=i(kt,"P",{"data-svelte-h":!0}),d($d)!=="svelte-xxbgtf"&&($d.innerHTML=Uj),kt.forEach(p),Y_=a(w),yo=i(w,"DIV",{class:!0});var Sl=T(yo);h(Gs.$$.fragment,Sl),X_=a(Sl),kd=i(Sl,"P",{"data-svelte-h":!0}),d(kd)!=="svelte-a2pb7d"&&(kd.textContent=Cj),Sl.forEach(p),P_=a(w),Ne=i(w,"DIV",{class:!0});var jt=T(Ne);h(Zs.$$.fragment,jt),z_=a(jt),jd=i(jt,"P",{"data-svelte-h":!0}),d(jd)!=="svelte-16mfbn3"&&(jd.textContent=Jj),O_=a(jt),h(vo.$$.fragment,jt),Q_=a(jt),Fs=i(jt,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Fs)!=="svelte-y2kupe"&&(Fs.innerHTML=Aj),jt.forEach(p),K_=a(w),Ee=i(w,"DIV",{class:!0});var Tt=T(Ee);h(Ss.$$.fragment,Tt),eb=a(Tt),Td=i(Tt,"P",{"data-svelte-h":!0}),d(Td)!=="svelte-1xtlk3i"&&(Td.textContent=Nj),tb=a(Tt),h(xo.$$.fragment,Tt),nb=a(Tt),Ws=i(Tt,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Ws)!=="svelte-y2kupe"&&(Ws.innerHTML=Ej),Tt.forEach(p),ob=a(w),wo=i(w,"DIV",{class:!0});var Wl=T(wo);h(Ls.$$.fragment,Wl),ab=a(Wl),Md=i(Wl,"P",{"data-svelte-h":!0}),d(Md)!=="svelte-q41614"&&(Md.innerHTML=Rj),Wl.forEach(p),sb=a(w),Re=i(w,"DIV",{class:!0});var Mt=T(Re);h(Bs.$$.fragment,Mt),rb=a(Mt),qd=i(Mt,"P",{"data-svelte-h":!0}),d(qd)!=="svelte-8lce12"&&(qd.textContent=Dj),ib=a(Mt),Hd=i(Mt,"P",{"data-svelte-h":!0}),d(Hd)!=="svelte-164ppjv"&&(Hd.innerHTML=Gj),cb=a(Mt),h($o.$$.fragment,Mt),Mt.forEach(p),lb=a(w),le=i(w,"DIV",{class:!0});var Te=T(le);h(Vs.$$.fragment,Te),db=a(Te),Id=i(Te,"P",{"data-svelte-h":!0}),d(Id)!=="svelte-pth6mb"&&(Id.textContent=Zj),pb=a(Te),Ys=i(Te,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Ys)!=="svelte-1jnasli"&&(Ys.innerHTML=Fj),gb=a(Te),Xs=i(Te,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Xs)!=="svelte-3bfyvn"&&(Xs.innerHTML=Sj),ub=a(Te),Ps=i(Te,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Ps)!=="svelte-o4t15a"&&(Ps.innerHTML=Wj),Te.forEach(p),hb=a(w),W=i(w,"DIV",{class:!0});var oe=T(W);h(zs.$$.fragment,oe),fb=a(oe),Ud=i(oe,"P",{"data-svelte-h":!0}),d(Ud)!=="svelte-1g87pq3"&&(Ud.textContent=Lj),mb=a(oe),Cd=i(oe,"P",{"data-svelte-h":!0}),d(Cd)!=="svelte-1gunwzz"&&(Cd.innerHTML=Bj),_b=a(oe),Jd=i(oe,"P",{"data-svelte-h":!0}),d(Jd)!=="svelte-r5v8l0"&&(Jd.innerHTML=Vj),bb=a(oe),Ad=i(oe,"P",{"data-svelte-h":!0}),d(Ad)!=="svelte-1on7ni7"&&(Ad.innerHTML=Yj),yb=a(oe),Os=i(oe,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Os)!=="svelte-y2kupe"&&(Os.innerHTML=Xj),oe.forEach(p),vb=a(w),de=i(w,"DIV",{class:!0});var Me=T(de);h(Qs.$$.fragment,Me),xb=a(Me),Nd=i(Me,"P",{"data-svelte-h":!0}),d(Nd)!=="svelte-aoy5wl"&&(Nd.textContent=Pj),wb=a(Me),h(ko.$$.fragment,Me),$b=a(Me),h(jo.$$.fragment,Me),kb=a(Me),h(To.$$.fragment,Me),Me.forEach(p),jb=a(w),De=i(w,"DIV",{class:!0});var qt=T(De);h(Ks.$$.fragment,qt),Tb=a(qt),Ed=i(qt,"P",{"data-svelte-h":!0}),d(Ed)!=="svelte-1mk48gz"&&(Ed.textContent=zj),Mb=a(qt),Rd=i(qt,"P",{"data-svelte-h":!0}),d(Rd)!=="svelte-s9x0iz"&&(Rd.innerHTML=Oj),qb=a(qt),er=i(qt,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(er)!=="svelte-wt7im0"&&(er.innerHTML=Qj),qt.forEach(p),Hb=a(w),L=i(w,"DIV",{class:!0});var ae=T(L);h(tr.$$.fragment,ae),Ib=a(ae),Dd=i(ae,"P",{"data-svelte-h":!0}),d(Dd)!=="svelte-1hp36yr"&&(Dd.innerHTML=Kj),Ub=a(ae),Gd=i(ae,"P",{"data-svelte-h":!0}),d(Gd)!=="svelte-r57fdn"&&(Gd.innerHTML=eT),Cb=a(ae),Zd=i(ae,"P",{"data-svelte-h":!0}),d(Zd)!=="svelte-13rslc6"&&(Zd.innerHTML=tT),Jb=a(ae),Fd=i(ae,"P",{"data-svelte-h":!0}),d(Fd)!=="svelte-1on7ni7"&&(Fd.innerHTML=nT),Ab=a(ae),nr=i(ae,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(nr)!=="svelte-y2kupe"&&(nr.innerHTML=oT),ae.forEach(p),Nb=a(w),Mo=i(w,"DIV",{class:!0});var Ll=T(Mo);h(or.$$.fragment,Ll),Eb=a(Ll),Sd=i(Ll,"P",{"data-svelte-h":!0}),d(Sd)!=="svelte-12go647"&&(Sd.textContent=aT),Ll.forEach(p),Rb=a(w),B=i(w,"DIV",{class:!0});var se=T(B);h(ar.$$.fragment,se),Db=a(se),Wd=i(se,"P",{"data-svelte-h":!0}),d(Wd)!=="svelte-254b6u"&&(Wd.textContent=sT),Gb=a(se),Ld=i(se,"P",{"data-svelte-h":!0}),d(Ld)!=="svelte-11lpom8"&&(Ld.textContent=rT),Zb=a(se),h(qo.$$.fragment,se),Fb=a(se),h(Ho.$$.fragment,se),Sb=a(se),h(Io.$$.fragment,se),se.forEach(p),Wb=a(w),V=i(w,"DIV",{class:!0});var re=T(V);h(sr.$$.fragment,re),Lb=a(re),Bd=i(re,"P",{"data-svelte-h":!0}),d(Bd)!=="svelte-13uq06b"&&(Bd.textContent=iT),Bb=a(re),Vd=i(re,"P",{"data-svelte-h":!0}),d(Vd)!=="svelte-11lpom8"&&(Vd.textContent=cT),Vb=a(re),h(Uo.$$.fragment,re),Yb=a(re),h(Co.$$.fragment,re),Xb=a(re),h(Jo.$$.fragment,re),re.forEach(p),Pb=a(w),Ao=i(w,"DIV",{class:!0});var Bl=T(Ao);h(rr.$$.fragment,Bl),zb=a(Bl),Yd=i(Bl,"P",{"data-svelte-h":!0}),d(Yd)!=="svelte-14fvvbg"&&(Yd.textContent=lT),Bl.forEach(p),Ob=a(w),D=i(w,"DIV",{class:!0});var G=T(D);h(ir.$$.fragment,G),Qb=a(G),Xd=i(G,"P",{"data-svelte-h":!0}),d(Xd)!=="svelte-1g6e2ay"&&(Xd.textContent=dT),Kb=a(G),Pd=i(G,"P",{"data-svelte-h":!0}),d(Pd)!=="svelte-1775qxo"&&(Pd.innerHTML=pT),ey=a(G),zd=i(G,"P",{"data-svelte-h":!0}),d(zd)!=="svelte-11lpom8"&&(zd.textContent=gT),ty=a(G),Od=i(G,"P",{"data-svelte-h":!0}),d(Od)!=="svelte-1dqchc8"&&(Od.textContent=uT),ny=a(G),h(No.$$.fragment,G),oy=a(G),Qd=i(G,"P",{"data-svelte-h":!0}),d(Qd)!=="svelte-1f8vsvc"&&(Qd.textContent=hT),ay=a(G),h(Eo.$$.fragment,G),G.forEach(p),sy=a(w),Ge=i(w,"DIV",{class:!0});var Ht=T(Ge);h(cr.$$.fragment,Ht),ry=a(Ht),Kd=i(Ht,"P",{"data-svelte-h":!0}),d(Kd)!=="svelte-15pbnj8"&&(Kd.textContent=fT),iy=a(Ht),ep=i(Ht,"P",{"data-svelte-h":!0}),d(ep)!=="svelte-1fg5f6l"&&(ep.textContent=mT),cy=a(Ht),lr=i(Ht,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(lr)!=="svelte-1c3pfds"&&(lr.innerHTML=_T),Ht.forEach(p),ly=a(w),Ro=i(w,"DIV",{class:!0});var Vl=T(Ro);h(dr.$$.fragment,Vl),dy=a(Vl),tp=i(Vl,"P",{"data-svelte-h":!0}),d(tp)!=="svelte-1n7quvg"&&(tp.textContent=bT),Vl.forEach(p),py=a(w),Ze=i(w,"DIV",{class:!0});var It=T(Ze);h(pr.$$.fragment,It),gy=a(It),np=i(It,"P",{"data-svelte-h":!0}),d(np)!=="svelte-1s6a009"&&(np.textContent=yT),uy=a(It),h(Do.$$.fragment,It),hy=a(It),gr=i(It,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(gr)!=="svelte-7hj3rf"&&(gr.innerHTML=vT),It.forEach(p),fy=a(w),Ft=i(w,"DIV",{class:!0});var Pn=T(Ft);h(ur.$$.fragment,Pn),my=a(Pn),op=i(Pn,"P",{"data-svelte-h":!0}),d(op)!=="svelte-gmiayq"&&(op.textContent=xT),_y=a(Pn),h(Go.$$.fragment,Pn),Pn.forEach(p),by=a(w),St=i(w,"DIV",{class:!0});var zn=T(St);h(hr.$$.fragment,zn),yy=a(zn),ap=i(zn,"P",{"data-svelte-h":!0}),d(ap)!=="svelte-l8j8qy"&&(ap.textContent=wT),vy=a(zn),fr=i(zn,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(fr)!=="svelte-rzl1uv"&&(fr.innerHTML=$T),zn.forEach(p),xy=a(w),Wt=i(w,"DIV",{class:!0});var On=T(Wt);h(mr.$$.fragment,On),wy=a(On),sp=i(On,"P",{"data-svelte-h":!0}),d(sp)!=="svelte-eigln8"&&(sp.textContent=kT),$y=a(On),rp=i(On,"P",{"data-svelte-h":!0}),d(rp)!=="svelte-11xoqkr"&&(rp.textContent=jT),On.forEach(p),ky=a(w),Lt=i(w,"DIV",{class:!0});var Qn=T(Lt);h(_r.$$.fragment,Qn),jy=a(Qn),ip=i(Qn,"P",{"data-svelte-h":!0}),d(ip)!=="svelte-1gp9ysc"&&(ip.textContent=TT),Ty=a(Qn),cp=i(Qn,"P",{"data-svelte-h":!0}),d(cp)!=="svelte-1seiqi6"&&(cp.innerHTML=MT),Qn.forEach(p),My=a(w),Fe=i(w,"DIV",{class:!0});var Ut=T(Fe);h(br.$$.fragment,Ut),qy=a(Ut),lp=i(Ut,"P",{"data-svelte-h":!0}),d(lp)!=="svelte-xvin3w"&&(lp.textContent=qT),Hy=a(Ut),dp=i(Ut,"P",{"data-svelte-h":!0}),d(dp)!=="svelte-1vd9l2b"&&(dp.innerHTML=HT),Iy=a(Ut),pp=i(Ut,"P",{"data-svelte-h":!0}),d(pp)!=="svelte-wf2uv4"&&(pp.innerHTML=IT),Ut.forEach(p),Uy=a(w),Zo=i(w,"DIV",{class:!0});var Yl=T(Zo);h(yr.$$.fragment,Yl),Cy=a(Yl),gp=i(Yl,"P",{"data-svelte-h":!0}),d(gp)!=="svelte-17rezgl"&&(gp.textContent=UT),Yl.forEach(p),Jy=a(w),Fo=i(w,"DIV",{class:!0});var Xl=T(Fo);h(vr.$$.fragment,Xl),Ay=a(Xl),up=i(Xl,"P",{"data-svelte-h":!0}),d(up)!=="svelte-rjrkh7"&&(up.textContent=CT),Xl.forEach(p),Ny=a(w),Bt=i(w,"DIV",{class:!0});var Kn=T(Bt);h(xr.$$.fragment,Kn),Ey=a(Kn),hp=i(Kn,"P",{"data-svelte-h":!0}),d(hp)!=="svelte-1lh7ib8"&&(hp.textContent=JT),Ry=a(Kn),fp=i(Kn,"P",{"data-svelte-h":!0}),d(fp)!=="svelte-eb77qn"&&(fp.innerHTML=AT),Kn.forEach(p),Dy=a(w),So=i(w,"DIV",{class:!0});var Pl=T(So);h(wr.$$.fragment,Pl),Gy=a(Pl),mp=i(Pl,"P",{"data-svelte-h":!0}),d(mp)!=="svelte-2wnalp"&&(mp.textContent=NT),Pl.forEach(p),Zy=a(w),Vt=i(w,"DIV",{class:!0});var eo=T(Vt);h($r.$$.fragment,eo),Fy=a(eo),_p=i(eo,"P",{"data-svelte-h":!0}),d(_p)!=="svelte-idifvk"&&(_p.textContent=ET),Sy=a(eo),bp=i(eo,"P",{"data-svelte-h":!0}),d(bp)!=="svelte-xt39ay"&&(bp.innerHTML=RT),eo.forEach(p),Wy=a(w),Wo=i(w,"DIV",{class:!0});var zl=T(Wo);h(kr.$$.fragment,zl),Ly=a(zl),yp=i(zl,"P",{"data-svelte-h":!0}),d(yp)!=="svelte-1k595hs"&&(yp.textContent=DT),zl.forEach(p),By=a(w),Yt=i(w,"DIV",{class:!0});var to=T(Yt);h(jr.$$.fragment,to),Vy=a(to),vp=i(to,"P",{"data-svelte-h":!0}),d(vp)!=="svelte-odm3i5"&&(vp.textContent=GT),Yy=a(to),h(Lo.$$.fragment,to),to.forEach(p),Xy=a(w),Xt=i(w,"DIV",{class:!0});var no=T(Xt);h(Tr.$$.fragment,no),Py=a(no),xp=i(no,"P",{"data-svelte-h":!0}),d(xp)!=="svelte-u3qpxi"&&(xp.textContent=ZT),zy=a(no),h(Bo.$$.fragment,no),no.forEach(p),Oy=a(w),Se=i(w,"DIV",{class:!0});var Ct=T(Se);h(Mr.$$.fragment,Ct),Qy=a(Ct),wp=i(Ct,"P",{"data-svelte-h":!0}),d(wp)!=="svelte-106oizm"&&(wp.textContent=FT),Ky=a(Ct),$p=i(Ct,"P",{"data-svelte-h":!0}),d($p)!=="svelte-1tfv4hv"&&($p.textContent=ST),ev=a(Ct),h(Vo.$$.fragment,Ct),Ct.forEach(p),tv=a(w),Pt=i(w,"DIV",{class:!0});var oo=T(Pt);h(qr.$$.fragment,oo),nv=a(oo),kp=i(oo,"P",{"data-svelte-h":!0}),d(kp)!=="svelte-13117mw"&&(kp.textContent=WT),ov=a(oo),Hr=i(oo,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Hr)!=="svelte-y2kupe"&&(Hr.innerHTML=LT),oo.forEach(p),av=a(w),zt=i(w,"DIV",{class:!0});var ao=T(zt);h(Ir.$$.fragment,ao),sv=a(ao),jp=i(ao,"P",{"data-svelte-h":!0}),d(jp)!=="svelte-isyqd"&&(jp.textContent=BT),rv=a(ao),h(Yo.$$.fragment,ao),ao.forEach(p),iv=a(w),Ot=i(w,"DIV",{class:!0});var so=T(Ot);h(Ur.$$.fragment,so),cv=a(so),Tp=i(so,"P",{"data-svelte-h":!0}),d(Tp)!=="svelte-idzq2w"&&(Tp.textContent=VT),lv=a(so),h(Xo.$$.fragment,so),so.forEach(p),dv=a(w),Qt=i(w,"DIV",{class:!0});var ro=T(Qt);h(Cr.$$.fragment,ro),pv=a(ro),Mp=i(ro,"P",{"data-svelte-h":!0}),d(Mp)!=="svelte-sivey2"&&(Mp.textContent=YT),gv=a(ro),h(Po.$$.fragment,ro),ro.forEach(p),uv=a(w),We=i(w,"DIV",{class:!0});var Jt=T(We);h(Jr.$$.fragment,Jt),hv=a(Jt),qp=i(Jt,"P",{"data-svelte-h":!0}),d(qp)!=="svelte-1niezvm"&&(qp.textContent=XT),fv=a(Jt),Hp=i(Jt,"P",{"data-svelte-h":!0}),d(Hp)!=="svelte-164ppjv"&&(Hp.innerHTML=PT),mv=a(Jt),h(zo.$$.fragment,Jt),Jt.forEach(p),_v=a(w),Oo=i(w,"DIV",{class:!0});var Ol=T(Oo);h(Ar.$$.fragment,Ol),bv=a(Ol),Ip=i(Ol,"P",{"data-svelte-h":!0}),d(Ip)!=="svelte-1o179eo"&&(Ip.textContent=zT),Ol.forEach(p),yv=a(w),Le=i(w,"DIV",{class:!0});var At=T(Le);h(Nr.$$.fragment,At),vv=a(At),Up=i(At,"P",{"data-svelte-h":!0}),d(Up)!=="svelte-1av5ht1"&&(Up.textContent=OT),xv=a(At),Cp=i(At,"P",{"data-svelte-h":!0}),d(Cp)!=="svelte-1on7ni7"&&(Cp.innerHTML=QT),wv=a(At),Er=i(At,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Er)!=="svelte-y2kupe"&&(Er.innerHTML=KT),At.forEach(p),$v=a(w),Qo=i(w,"DIV",{class:!0});var Ql=T(Qo);h(Rr.$$.fragment,Ql),kv=a(Ql),Jp=i(Ql,"P",{"data-svelte-h":!0}),d(Jp)!=="svelte-1a5sg0y"&&(Jp.textContent=e0),Ql.forEach(p),jv=a(w),Ko=i(w,"DIV",{class:!0});var Kl=T(Ko);h(Dr.$$.fragment,Kl),Tv=a(Kl),Ap=i(Kl,"P",{"data-svelte-h":!0}),d(Ap)!=="svelte-13tt6xv"&&(Ap.textContent=t0),Kl.forEach(p),Mv=a(w),Kt=i(w,"DIV",{class:!0});var io=T(Kt);h(Gr.$$.fragment,io),qv=a(io),Np=i(io,"P",{"data-svelte-h":!0}),d(Np)!=="svelte-oj23bg"&&(Np.textContent=n0),Hv=a(io),h(ea.$$.fragment,io),io.forEach(p),Iv=a(w),ta=i(w,"DIV",{class:!0});var ed=T(ta);h(Zr.$$.fragment,ed),Uv=a(ed),Ep=i(ed,"P",{"data-svelte-h":!0}),d(Ep)!=="svelte-d99h9l"&&(Ep.textContent=o0),ed.forEach(p),Cv=a(w),na=i(w,"DIV",{class:!0});var td=T(na);h(Fr.$$.fragment,td),Jv=a(td),Rp=i(td,"P",{"data-svelte-h":!0}),d(Rp)!=="svelte-1bizokw"&&(Rp.textContent=a0),td.forEach(p),Av=a(w),en=i(w,"DIV",{class:!0});var co=T(en);h(Sr.$$.fragment,co),Nv=a(co),Dp=i(co,"P",{"data-svelte-h":!0}),d(Dp)!=="svelte-fasffe"&&(Dp.textContent=s0),Ev=a(co),h(oa.$$.fragment,co),co.forEach(p),Rv=a(w),pe=i(w,"DIV",{class:!0});var qe=T(pe);h(Wr.$$.fragment,qe),Dv=a(qe),Gp=i(qe,"P",{"data-svelte-h":!0}),d(Gp)!=="svelte-1ipows8"&&(Gp.textContent=r0),Gv=a(qe),Zp=i(qe,"P",{"data-svelte-h":!0}),d(Zp)!=="svelte-11lpom8"&&(Zp.textContent=i0),Zv=a(qe),h(aa.$$.fragment,qe),Fv=a(qe),h(sa.$$.fragment,qe),qe.forEach(p),Sv=a(w),Y=i(w,"DIV",{class:!0});var ie=T(Y);h(Lr.$$.fragment,ie),Wv=a(ie),Fp=i(ie,"P",{"data-svelte-h":!0}),d(Fp)!=="svelte-1d865z6"&&(Fp.textContent=c0),Lv=a(ie),Sp=i(ie,"P",{"data-svelte-h":!0}),d(Sp)!=="svelte-vb94yg"&&(Sp.textContent=l0),Bv=a(ie),Wp=i(ie,"P",{"data-svelte-h":!0}),d(Wp)!=="svelte-cpm9yd"&&(Wp.innerHTML=d0),Vv=a(ie),Lp=i(ie,"P",{"data-svelte-h":!0}),d(Lp)!=="svelte-ndzof3"&&(Lp.innerHTML=p0),Yv=a(ie),h(ra.$$.fragment,ie),ie.forEach(p),Xv=a(w),ia=i(w,"DIV",{class:!0});var nd=T(ia);h(Br.$$.fragment,nd),Pv=a(nd),Bp=i(nd,"P",{"data-svelte-h":!0}),d(Bp)!=="svelte-130dnbj"&&(Bp.textContent=g0),nd.forEach(p),zv=a(w),tn=i(w,"DIV",{class:!0});var lo=T(tn);h(Vr.$$.fragment,lo),Ov=a(lo),Vp=i(lo,"P",{"data-svelte-h":!0}),d(Vp)!=="svelte-20b1wq"&&(Vp.textContent=u0),Qv=a(lo),Yp=i(lo,"P",{"data-svelte-h":!0}),d(Yp)!=="svelte-xt39ay"&&(Yp.innerHTML=h0),lo.forEach(p),Kv=a(w),ca=i(w,"DIV",{class:!0});var od=T(ca);h(Yr.$$.fragment,od),ex=a(od),Xp=i(od,"P",{"data-svelte-h":!0}),d(Xp)!=="svelte-i5g6s6"&&(Xp.textContent=f0),od.forEach(p),tx=a(w),nn=i(w,"DIV",{class:!0});var po=T(nn);h(Xr.$$.fragment,po),nx=a(po),Pp=i(po,"P",{"data-svelte-h":!0}),d(Pp)!=="svelte-1qqa7u0"&&(Pp.textContent=m0),ox=a(po),h(la.$$.fragment,po),po.forEach(p),ax=a(w),Be=i(w,"DIV",{class:!0});var Nt=T(Be);h(Pr.$$.fragment,Nt),sx=a(Nt),zp=i(Nt,"P",{"data-svelte-h":!0}),d(zp)!=="svelte-19fc6id"&&(zp.textContent=_0),rx=a(Nt),Op=i(Nt,"P",{"data-svelte-h":!0}),d(Op)!=="svelte-14mt8n5"&&(Op.innerHTML=b0),ix=a(Nt),Qp=i(Nt,"P",{"data-svelte-h":!0}),d(Qp)!=="svelte-xxbgtf"&&(Qp.innerHTML=y0),Nt.forEach(p),cx=a(w),X=i(w,"DIV",{class:!0});var ce=T(X);h(zr.$$.fragment,ce),lx=a(ce),Kp=i(ce,"P",{"data-svelte-h":!0}),d(Kp)!=="svelte-gsbehr"&&(Kp.textContent=v0),dx=a(ce),eg=i(ce,"P",{"data-svelte-h":!0}),d(eg)!=="svelte-1rkm1l0"&&(eg.textContent=x0),px=a(ce),tg=i(ce,"UL",{"data-svelte-h":!0}),d(tg)!=="svelte-1epypha"&&(tg.innerHTML=w0),gx=a(ce),h(da.$$.fragment,ce),ux=a(ce),ng=i(ce,"P",{"data-svelte-h":!0}),d(ng)!=="svelte-mwwpv9"&&(ng.innerHTML=$0),ce.forEach(p),hx=a(w),Ve=i(w,"DIV",{class:!0});var Et=T(Ve);h(Or.$$.fragment,Et),fx=a(Et),og=i(Et,"P",{"data-svelte-h":!0}),d(og)!=="svelte-1ia1m9g"&&(og.textContent=k0),mx=a(Et),Qr=i(Et,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Qr)!=="svelte-a9b1da"&&(Qr.innerHTML=j0),_x=a(Et),Kr=i(Et,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Kr)!=="svelte-y2kupe"&&(Kr.innerHTML=T0),Et.forEach(p),bx=a(w),on=i(w,"DIV",{class:!0});var go=T(on);h(ei.$$.fragment,go),yx=a(go),ag=i(go,"P",{"data-svelte-h":!0}),d(ag)!=="svelte-1eaf7r1"&&(ag.textContent=M0),vx=a(go),h(pa.$$.fragment,go),go.forEach(p),xx=a(w),an=i(w,"DIV",{class:!0});var uo=T(an);h(ti.$$.fragment,uo),wx=a(uo),sg=i(uo,"P",{"data-svelte-h":!0}),d(sg)!=="svelte-zmo2i"&&(sg.textContent=q0),$x=a(uo),h(ga.$$.fragment,uo),uo.forEach(p),kx=a(w),ge=i(w,"DIV",{class:!0});var He=T(ge);h(ni.$$.fragment,He),jx=a(He),rg=i(He,"P",{"data-svelte-h":!0}),d(rg)!=="svelte-1a7k7d"&&(rg.textContent=H0),Tx=a(He),ig=i(He,"P",{"data-svelte-h":!0}),d(ig)!=="svelte-145s2tk"&&(ig.innerHTML=I0),Mx=a(He),cg=i(He,"P",{"data-svelte-h":!0}),d(cg)!=="svelte-xxbgtf"&&(cg.innerHTML=U0),qx=a(He),h(ua.$$.fragment,He),He.forEach(p),Hx=a(w),sn=i(w,"DIV",{class:!0});var ho=T(sn);h(oi.$$.fragment,ho),Ix=a(ho),lg=i(ho,"P",{"data-svelte-h":!0}),d(lg)!=="svelte-1rbvjim"&&(lg.textContent=C0),Ux=a(ho),ai=i(ho,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(ai)!=="svelte-13ekzw6"&&(ai.innerHTML=J0),ho.forEach(p),Cx=a(w),Ye=i(w,"DIV",{class:!0});var Rt=T(Ye);h(si.$$.fragment,Rt),Jx=a(Rt),dg=i(Rt,"P",{"data-svelte-h":!0}),d(dg)!=="svelte-f61qi5"&&(dg.textContent=A0),Ax=a(Rt),h(ha.$$.fragment,Rt),Nx=a(Rt),h(fa.$$.fragment,Rt),Rt.forEach(p),Ex=a(w),ue=i(w,"DIV",{class:!0});var Ie=T(ue);h(ri.$$.fragment,Ie),Rx=a(Ie),pg=i(Ie,"P",{"data-svelte-h":!0}),d(pg)!=="svelte-5021cf"&&(pg.textContent=N0),Dx=a(Ie),gg=i(Ie,"P",{"data-svelte-h":!0}),d(gg)!=="svelte-s9x0iz"&&(gg.innerHTML=E0),Gx=a(Ie),ug=i(Ie,"P",{"data-svelte-h":!0}),d(ug)!=="svelte-1rebg38"&&(ug.innerHTML=R0),Zx=a(Ie),ii=i(Ie,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(ii)!=="svelte-xt5dl5"&&(ii.innerHTML=D0),Ie.forEach(p),Fx=a(w),rn=i(w,"DIV",{class:!0});var fo=T(rn);h(ci.$$.fragment,fo),Sx=a(fo),hg=i(fo,"P",{"data-svelte-h":!0}),d(hg)!=="svelte-omx1g3"&&(hg.textContent=G0),Wx=a(fo),h(ma.$$.fragment,fo),fo.forEach(p),Lx=a(w),_a=i(w,"DIV",{class:!0});var ad=T(_a);h(li.$$.fragment,ad),Bx=a(ad),fg=i(ad,"P",{"data-svelte-h":!0}),d(fg)!=="svelte-2krbhz"&&(fg.textContent=Z0),ad.forEach(p),Vx=a(w),Xe=i(w,"DIV",{class:!0});var Dt=T(Xe);h(di.$$.fragment,Dt),Yx=a(Dt),mg=i(Dt,"P",{"data-svelte-h":!0}),d(mg)!=="svelte-1wmqeve"&&(mg.textContent=F0),Xx=a(Dt),_g=i(Dt,"P",{"data-svelte-h":!0}),d(_g)!=="svelte-1qhy0tu"&&(_g.innerHTML=S0),Px=a(Dt),h(ba.$$.fragment,Dt),Dt.forEach(p),zx=a(w),he=i(w,"DIV",{class:!0});var Ue=T(he);h(pi.$$.fragment,Ue),Ox=a(Ue),bg=i(Ue,"P",{"data-svelte-h":!0}),d(bg)!=="svelte-lufmym"&&(bg.textContent=W0),Qx=a(Ue),yg=i(Ue,"P",{"data-svelte-h":!0}),d(yg)!=="svelte-517n25"&&(yg.innerHTML=L0),Kx=a(Ue),vg=i(Ue,"P",{"data-svelte-h":!0}),d(vg)!=="svelte-1qdx753"&&(vg.innerHTML=B0),e2=a(Ue),h(ya.$$.fragment,Ue),Ue.forEach(p),t2=a(w),cn=i(w,"DIV",{class:!0});var mo=T(cn);h(gi.$$.fragment,mo),n2=a(mo),xg=i(mo,"P",{"data-svelte-h":!0}),d(xg)!=="svelte-7xr8du"&&(xg.textContent=V0),o2=a(mo),h(va.$$.fragment,mo),mo.forEach(p),a2=a(w),xa=i(w,"DIV",{class:!0});var e_=T(xa);h(ui.$$.fragment,e_),s2=a(e_),wg=i(e_,"P",{"data-svelte-h":!0}),d(wg)!=="svelte-lmzahf"&&(wg.textContent=Y0),e_.forEach(p),r2=a(w),wa=i(w,"DIV",{class:!0});var t_=T(wa);h(hi.$$.fragment,t_),i2=a(t_),$g=i(t_,"P",{"data-svelte-h":!0}),d($g)!=="svelte-1lk5pt4"&&($g.textContent=X0),t_.forEach(p),c2=a(w),ln=i(w,"DIV",{class:!0});var xf=T(ln);h(fi.$$.fragment,xf),l2=a(xf),kg=i(xf,"P",{"data-svelte-h":!0}),d(kg)!=="svelte-1qh0k4h"&&(kg.textContent=P0),d2=a(xf),h($a.$$.fragment,xf),xf.forEach(p),p2=a(w),fe=i(w,"DIV",{class:!0});var Mn=T(fe);h(mi.$$.fragment,Mn),g2=a(Mn),jg=i(Mn,"P",{"data-svelte-h":!0}),d(jg)!=="svelte-1tc2fi9"&&(jg.textContent=z0),u2=a(Mn),Tg=i(Mn,"P",{"data-svelte-h":!0}),d(Tg)!=="svelte-svm7t8"&&(Tg.innerHTML=O0),h2=a(Mn),Mg=i(Mn,"P",{"data-svelte-h":!0}),d(Mg)!=="svelte-xxbgtf"&&(Mg.innerHTML=Q0),f2=a(Mn),h(ka.$$.fragment,Mn),Mn.forEach(p),m2=a(w),me=i(w,"DIV",{class:!0});var qn=T(me);h(_i.$$.fragment,qn),_2=a(qn),qg=i(qn,"P",{"data-svelte-h":!0}),d(qg)!=="svelte-eo3dek"&&(qg.textContent=K0),b2=a(qn),Hg=i(qn,"P",{"data-svelte-h":!0}),d(Hg)!=="svelte-fokgh9"&&(Hg.innerHTML=eM),y2=a(qn),Ig=i(qn,"P",{"data-svelte-h":!0}),d(Ig)!=="svelte-xxbgtf"&&(Ig.innerHTML=tM),v2=a(qn),h(ja.$$.fragment,qn),qn.forEach(p),x2=a(w),Pe=i(w,"DIV",{class:!0});var ds=T(Pe);h(bi.$$.fragment,ds),w2=a(ds),Ug=i(ds,"P",{"data-svelte-h":!0}),d(Ug)!=="svelte-1vpgi7z"&&(Ug.textContent=nM),$2=a(ds),Cg=i(ds,"P",{"data-svelte-h":!0}),d(Cg)!=="svelte-11ohrqa"&&(Cg.textContent=oM),k2=a(ds),h(Ta.$$.fragment,ds),ds.forEach(p),j2=a(w),Ma=i(w,"DIV",{class:!0});var n_=T(Ma);h(yi.$$.fragment,n_),T2=a(n_),Jg=i(n_,"P",{"data-svelte-h":!0}),d(Jg)!=="svelte-wnw53w"&&(Jg.textContent=aM),n_.forEach(p),M2=a(w),dn=i(w,"DIV",{class:!0});var wf=T(dn);h(vi.$$.fragment,wf),q2=a(wf),Ag=i(wf,"P",{"data-svelte-h":!0}),d(Ag)!=="svelte-b4yhj"&&(Ag.textContent=sM),H2=a(wf),Ng=i(wf,"P",{"data-svelte-h":!0}),d(Ng)!=="svelte-19j5u9b"&&(Ng.innerHTML=rM),wf.forEach(p),I2=a(w),pn=i(w,"DIV",{class:!0});var $f=T(pn);h(xi.$$.fragment,$f),U2=a($f),Eg=i($f,"P",{"data-svelte-h":!0}),d(Eg)!=="svelte-12l2ojn"&&(Eg.textContent=iM),C2=a($f),h(qa.$$.fragment,$f),$f.forEach(p),J2=a(w),F=i(w,"DIV",{class:!0});var $e=T(F);h(wi.$$.fragment,$e),A2=a($e),Rg=i($e,"P",{"data-svelte-h":!0}),d(Rg)!=="svelte-ihiuvu"&&(Rg.textContent=cM),N2=a($e),Dg=i($e,"P",{"data-svelte-h":!0}),d(Dg)!=="svelte-kvfsh7"&&(Dg.textContent=lM),E2=a($e),Gg=i($e,"P",{"data-svelte-h":!0}),d(Gg)!=="svelte-cs4ah2"&&(Gg.textContent=dM),R2=a($e),h(Ha.$$.fragment,$e),D2=a($e),Zg=i($e,"P",{"data-svelte-h":!0}),d(Zg)!=="svelte-1pnedrv"&&(Zg.textContent=pM),G2=a($e),h(Ia.$$.fragment,$e),$e.forEach(p),Z2=a(w),Ua=i(w,"DIV",{class:!0});var o_=T(Ua);h($i.$$.fragment,o_),F2=a(o_),Fg=i(o_,"P",{"data-svelte-h":!0}),d(Fg)!=="svelte-e35pw6"&&(Fg.textContent=gM),o_.forEach(p),S2=a(w),Ca=i(w,"DIV",{class:!0});var a_=T(Ca);h(ki.$$.fragment,a_),W2=a(a_),Sg=i(a_,"P",{"data-svelte-h":!0}),d(Sg)!=="svelte-uowooj"&&(Sg.textContent=uM),a_.forEach(p),L2=a(w),Ja=i(w,"DIV",{class:!0});var s_=T(Ja);h(ji.$$.fragment,s_),B2=a(s_),Wg=i(s_,"P",{"data-svelte-h":!0}),d(Wg)!=="svelte-apiozp"&&(Wg.textContent=hM),s_.forEach(p),V2=a(w),Aa=i(w,"DIV",{class:!0});var r_=T(Aa);h(Ti.$$.fragment,r_),Y2=a(r_),Lg=i(r_,"P",{"data-svelte-h":!0}),d(Lg)!=="svelte-1qehg6u"&&(Lg.textContent=fM),r_.forEach(p),X2=a(w),gn=i(w,"DIV",{class:!0});var kf=T(gn);h(Mi.$$.fragment,kf),P2=a(kf),Bg=i(kf,"P",{"data-svelte-h":!0}),d(Bg)!=="svelte-zuangp"&&(Bg.textContent=mM),z2=a(kf),h(Na.$$.fragment,kf),kf.forEach(p),O2=a(w),un=i(w,"DIV",{class:!0});var jf=T(un);h(qi.$$.fragment,jf),Q2=a(jf),Vg=i(jf,"P",{"data-svelte-h":!0}),d(Vg)!=="svelte-tnvivq"&&(Vg.textContent=_M),K2=a(jf),Hi=i(jf,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Hi)!=="svelte-y2kupe"&&(Hi.innerHTML=bM),jf.forEach(p),e1=a(w),ze=i(w,"DIV",{class:!0});var ps=T(ze);h(Ii.$$.fragment,ps),t1=a(ps),Yg=i(ps,"P",{"data-svelte-h":!0}),d(Yg)!=="svelte-1qa90id"&&(Yg.textContent=yM),n1=a(ps),Xg=i(ps,"P",{"data-svelte-h":!0}),d(Xg)!=="svelte-1knrefm"&&(Xg.textContent=vM),o1=a(ps),Ui=i(ps,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Ui)!=="svelte-1c3pfds"&&(Ui.innerHTML=xM),ps.forEach(p),a1=a(w),Oe=i(w,"DIV",{class:!0});var gs=T(Oe);h(Ci.$$.fragment,gs),s1=a(gs),Pg=i(gs,"P",{"data-svelte-h":!0}),d(Pg)!=="svelte-3q13qo"&&(Pg.textContent=wM),r1=a(gs),zg=i(gs,"P",{"data-svelte-h":!0}),d(zg)!=="svelte-1p5ibr4"&&(zg.innerHTML=$M),i1=a(gs),Ji=i(gs,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Ji)!=="svelte-3qu0n1"&&(Ji.innerHTML=kM),gs.forEach(p),c1=a(w),Ea=i(w,"DIV",{class:!0});var i_=T(Ea);h(Ai.$$.fragment,i_),l1=a(i_),Og=i(i_,"P",{"data-svelte-h":!0}),d(Og)!=="svelte-15c9e8d"&&(Og.textContent=jM),i_.forEach(p),d1=a(w),Qe=i(w,"DIV",{class:!0});var us=T(Qe);h(Ni.$$.fragment,us),p1=a(us),Qg=i(us,"P",{"data-svelte-h":!0}),d(Qg)!=="svelte-cs1v9f"&&(Qg.textContent=TM),g1=a(us),Kg=i(us,"P",{"data-svelte-h":!0}),d(Kg)!=="svelte-1kxlgey"&&(Kg.innerHTML=MM),u1=a(us),eu=i(us,"P",{"data-svelte-h":!0}),d(eu)!=="svelte-ndzof3"&&(eu.innerHTML=qM),us.forEach(p),h1=a(w),Ke=i(w,"DIV",{class:!0});var hs=T(Ke);h(Ei.$$.fragment,hs),f1=a(hs),tu=i(hs,"P",{"data-svelte-h":!0}),d(tu)!=="svelte-16tls2x"&&(tu.textContent=HM),m1=a(hs),nu=i(hs,"P",{"data-svelte-h":!0}),d(nu)!=="svelte-n0cprg"&&(nu.innerHTML=IM),_1=a(hs),ou=i(hs,"P",{"data-svelte-h":!0}),d(ou)!=="svelte-mf5z8c"&&(ou.innerHTML=UM),hs.forEach(p),b1=a(w),et=i(w,"DIV",{class:!0});var fs=T(et);h(Ri.$$.fragment,fs),y1=a(fs),au=i(fs,"P",{"data-svelte-h":!0}),d(au)!=="svelte-keb9bv"&&(au.textContent=CM),v1=a(fs),su=i(fs,"P",{"data-svelte-h":!0}),d(su)!=="svelte-2lslon"&&(su.innerHTML=JM),x1=a(fs),ru=i(fs,"P",{"data-svelte-h":!0}),d(ru)!=="svelte-12do56u"&&(ru.innerHTML=AM),fs.forEach(p),w1=a(w),tt=i(w,"DIV",{class:!0});var ms=T(tt);h(Di.$$.fragment,ms),$1=a(ms),iu=i(ms,"P",{"data-svelte-h":!0}),d(iu)!=="svelte-10xq13g"&&(iu.textContent=NM),k1=a(ms),Gi=i(ms,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Gi)!=="svelte-1o0pf7c"&&(Gi.innerHTML=EM),j1=a(ms),h(Ra.$$.fragment,ms),ms.forEach(p),T1=a(w),P=i(w,"DIV",{class:!0});var dt=T(P);h(Zi.$$.fragment,dt),M1=a(dt),cu=i(dt,"P",{"data-svelte-h":!0}),d(cu)!=="svelte-13c8xg2"&&(cu.textContent=RM),q1=a(dt),lu=i(dt,"P",{"data-svelte-h":!0}),d(lu)!=="svelte-5htwml"&&(lu.textContent=DM),H1=a(dt),Fi=i(dt,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Fi)!=="svelte-sgloeq"&&(Fi.innerHTML=GM),I1=a(dt),Si=i(dt,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Si)!=="svelte-5t8h6t"&&(Si.innerHTML=ZM),U1=a(dt),h(Da.$$.fragment,dt),dt.forEach(p),C1=a(w),nt=i(w,"DIV",{class:!0});var _s=T(nt);h(Wi.$$.fragment,_s),J1=a(_s),du=i(_s,"P",{"data-svelte-h":!0}),d(du)!=="svelte-1o1ui5j"&&(du.textContent=FM),A1=a(_s),pu=i(_s,"P",{"data-svelte-h":!0}),d(pu)!=="svelte-zzdx9o"&&(pu.innerHTML=SM),N1=a(_s),gu=i(_s,"P",{"data-svelte-h":!0}),d(gu)!=="svelte-xxbgtf"&&(gu.innerHTML=WM),_s.forEach(p),E1=a(w),ot=i(w,"DIV",{class:!0});var bs=T(ot);h(Li.$$.fragment,bs),R1=a(bs),uu=i(bs,"P",{"data-svelte-h":!0}),d(uu)!=="svelte-vjmct2"&&(uu.textContent=LM),D1=a(bs),h(Ga.$$.fragment,bs),G1=a(bs),Bi=i(bs,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Bi)!=="svelte-y2kupe"&&(Bi.innerHTML=BM),bs.forEach(p),Z1=a(w),hn=i(w,"DIV",{class:!0});var Tf=T(hn);h(Vi.$$.fragment,Tf),F1=a(Tf),hu=i(Tf,"P",{"data-svelte-h":!0}),d(hu)!=="svelte-1h0ufuc"&&(hu.textContent=VM),S1=a(Tf),h(Za.$$.fragment,Tf),Tf.forEach(p),W1=a(w),fn=i(w,"DIV",{class:!0});var Mf=T(fn);h(Yi.$$.fragment,Mf),L1=a(Mf),fu=i(Mf,"P",{"data-svelte-h":!0}),d(fu)!=="svelte-1my46uo"&&(fu.textContent=YM),B1=a(Mf),Xi=i(Mf,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Xi)!=="svelte-1c3pfds"&&(Xi.innerHTML=XM),Mf.forEach(p),V1=a(w),mn=i(w,"DIV",{class:!0});var qf=T(mn);h(Pi.$$.fragment,qf),Y1=a(qf),mu=i(qf,"P",{"data-svelte-h":!0}),d(mu)!=="svelte-5pcxuz"&&(mu.textContent=PM),X1=a(qf),zi=i(qf,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(zi)!=="svelte-1bv4gn0"&&(zi.innerHTML=zM),qf.forEach(p),P1=a(w),_n=i(w,"DIV",{class:!0});var Hf=T(_n);h(Oi.$$.fragment,Hf),z1=a(Hf),_u=i(Hf,"P",{"data-svelte-h":!0}),d(_u)!=="svelte-10aqzwl"&&(_u.textContent=OM),O1=a(Hf),Qi=i(Hf,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Qi)!=="svelte-1uulxdr"&&(Qi.innerHTML=QM),Hf.forEach(p),Q1=a(w),at=i(w,"DIV",{class:!0});var ys=T(at);h(Ki.$$.fragment,ys),K1=a(ys),bu=i(ys,"P",{"data-svelte-h":!0}),d(bu)!=="svelte-38gi4y"&&(bu.textContent=KM),ew=a(ys),yu=i(ys,"P",{"data-svelte-h":!0}),d(yu)!=="svelte-65s7rh"&&(yu.innerHTML=eq),tw=a(ys),vu=i(ys,"P",{"data-svelte-h":!0}),d(vu)!=="svelte-12do56u"&&(vu.innerHTML=tq),ys.forEach(p),nw=a(w),bn=i(w,"DIV",{class:!0});var If=T(bn);h(ec.$$.fragment,If),ow=a(If),xu=i(If,"P",{"data-svelte-h":!0}),d(xu)!=="svelte-o2dz8s"&&(xu.textContent=nq),aw=a(If),wu=i(If,"P",{"data-svelte-h":!0}),d(wu)!=="svelte-198t660"&&(wu.innerHTML=oq),If.forEach(p),sw=a(w),Fa=i(w,"DIV",{class:!0});var c_=T(Fa);h(tc.$$.fragment,c_),rw=a(c_),$u=i(c_,"P",{"data-svelte-h":!0}),d($u)!=="svelte-1772xvt"&&($u.textContent=aq),c_.forEach(p),iw=a(w),yn=i(w,"DIV",{class:!0});var Uf=T(yn);h(nc.$$.fragment,Uf),cw=a(Uf),ku=i(Uf,"P",{"data-svelte-h":!0}),d(ku)!=="svelte-kx7a2l"&&(ku.textContent=sq),lw=a(Uf),h(Sa.$$.fragment,Uf),Uf.forEach(p),dw=a(w),_e=i(w,"DIV",{class:!0});var Hn=T(_e);h(oc.$$.fragment,Hn),pw=a(Hn),ju=i(Hn,"P",{"data-svelte-h":!0}),d(ju)!=="svelte-i4rj9b"&&(ju.textContent=rq),gw=a(Hn),Tu=i(Hn,"P",{"data-svelte-h":!0}),d(Tu)!=="svelte-15iw2gd"&&(Tu.innerHTML=iq),uw=a(Hn),Mu=i(Hn,"P",{"data-svelte-h":!0}),d(Mu)!=="svelte-8s7qco"&&(Mu.innerHTML=cq),hw=a(Hn),h(Wa.$$.fragment,Hn),Hn.forEach(p),fw=a(w),be=i(w,"DIV",{class:!0});var In=T(be);h(ac.$$.fragment,In),mw=a(In),qu=i(In,"P",{"data-svelte-h":!0}),d(qu)!=="svelte-1o4vhqw"&&(qu.textContent=lq),_w=a(In),Hu=i(In,"P",{"data-svelte-h":!0}),d(Hu)!=="svelte-11lpom8"&&(Hu.textContent=dq),bw=a(In),h(La.$$.fragment,In),yw=a(In),h(Ba.$$.fragment,In),In.forEach(p),vw=a(w),z=i(w,"DIV",{class:!0});var pt=T(z);h(sc.$$.fragment,pt),xw=a(pt),Iu=i(pt,"P",{"data-svelte-h":!0}),d(Iu)!=="svelte-13uq06b"&&(Iu.textContent=pq),ww=a(pt),Uu=i(pt,"P",{"data-svelte-h":!0}),d(Uu)!=="svelte-11lpom8"&&(Uu.textContent=gq),$w=a(pt),h(Va.$$.fragment,pt),kw=a(pt),h(Ya.$$.fragment,pt),jw=a(pt),h(Xa.$$.fragment,pt),pt.forEach(p),Tw=a(w),st=i(w,"DIV",{class:!0});var vs=T(st);h(rc.$$.fragment,vs),Mw=a(vs),Cu=i(vs,"P",{"data-svelte-h":!0}),d(Cu)!=="svelte-6vx93v"&&(Cu.textContent=uq),qw=a(vs),Ju=i(vs,"P",{"data-svelte-h":!0}),d(Ju)!=="svelte-1992tg8"&&(Ju.innerHTML=hq),Hw=a(vs),Au=i(vs,"P",{"data-svelte-h":!0}),d(Au)!=="svelte-gmy86i"&&(Au.innerHTML=fq),vs.forEach(p),Iw=a(w),rt=i(w,"DIV",{class:!0});var xs=T(rt);h(ic.$$.fragment,xs),Uw=a(xs),Nu=i(xs,"P",{"data-svelte-h":!0}),d(Nu)!=="svelte-h8ye5s"&&(Nu.textContent=mq),Cw=a(xs),Eu=i(xs,"P",{"data-svelte-h":!0}),d(Eu)!=="svelte-1u14fwi"&&(Eu.innerHTML=_q),Jw=a(xs),cc=i(xs,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(cc)!=="svelte-1mjv5tz"&&(cc.innerHTML=bq),xs.forEach(p),Aw=a(w),ye=i(w,"DIV",{class:!0});var Un=T(ye);h(lc.$$.fragment,Un),Nw=a(Un),Ru=i(Un,"P",{"data-svelte-h":!0}),d(Ru)!=="svelte-t9d1pp"&&(Ru.textContent=yq),Ew=a(Un),Du=i(Un,"P",{"data-svelte-h":!0}),d(Du)!=="svelte-xxyl9g"&&(Du.innerHTML=vq),Rw=a(Un),Gu=i(Un,"P",{"data-svelte-h":!0}),d(Gu)!=="svelte-1v8h65f"&&(Gu.innerHTML=xq),Dw=a(Un),Zu=i(Un,"P",{"data-svelte-h":!0}),d(Zu)!=="svelte-k7g81c"&&(Zu.textContent=wq),Un.forEach(p),Gw=a(w),it=i(w,"DIV",{class:!0});var ws=T(it);h(dc.$$.fragment,ws),Zw=a(ws),Fu=i(ws,"P",{"data-svelte-h":!0}),d(Fu)!=="svelte-1lgtcoe"&&(Fu.textContent=$q),Fw=a(ws),Su=i(ws,"P",{"data-svelte-h":!0}),d(Su)!=="svelte-zugpyn"&&(Su.textContent=kq),Sw=a(ws),pc=i(ws,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(pc)!=="svelte-1c3pfds"&&(pc.innerHTML=jq),ws.forEach(p),Ww=a(w),O=i(w,"DIV",{class:!0});var gt=T(O);h(gc.$$.fragment,gt),Lw=a(gt),Wu=i(gt,"P",{"data-svelte-h":!0}),d(Wu)!=="svelte-1j5taqn"&&(Wu.textContent=Tq),Bw=a(gt),Lu=i(gt,"P",{"data-svelte-h":!0}),d(Lu)!=="svelte-1oloczu"&&(Lu.textContent=Mq),Vw=a(gt),uc=i(gt,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(uc)!=="svelte-1mqcsld"&&(uc.innerHTML=qq),Yw=a(gt),hc=i(gt,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(hc)!=="svelte-15bendd"&&(hc.innerHTML=Hq),Xw=a(gt),h(Pa.$$.fragment,gt),gt.forEach(p),Pw=a(w),za=i(w,"DIV",{class:!0});var l_=T(za);h(fc.$$.fragment,l_),zw=a(l_),Bu=i(l_,"P",{"data-svelte-h":!0}),d(Bu)!=="svelte-1lxxeyj"&&(Bu.textContent=Iq),l_.forEach(p),Ow=a(w),ve=i(w,"DIV",{class:!0});var Cn=T(ve);h(mc.$$.fragment,Cn),Qw=a(Cn),Vu=i(Cn,"P",{"data-svelte-h":!0}),d(Vu)!=="svelte-z82c1y"&&(Vu.textContent=Uq),Kw=a(Cn),Yu=i(Cn,"P",{"data-svelte-h":!0}),d(Yu)!=="svelte-w9m9bs"&&(Yu.innerHTML=Cq),e$=a(Cn),Xu=i(Cn,"P",{"data-svelte-h":!0}),d(Xu)!=="svelte-19j5u9b"&&(Xu.innerHTML=Jq),t$=a(Cn),h(Oa.$$.fragment,Cn),Cn.forEach(p),n$=a(w),vn=i(w,"DIV",{class:!0});var Cf=T(vn);h(_c.$$.fragment,Cf),o$=a(Cf),Pu=i(Cf,"P",{"data-svelte-h":!0}),d(Pu)!=="svelte-klf1wz"&&(Pu.textContent=Aq),a$=a(Cf),h(Qa.$$.fragment,Cf),Cf.forEach(p),s$=a(w),xe=i(w,"DIV",{class:!0});var Jn=T(xe);h(bc.$$.fragment,Jn),r$=a(Jn),zu=i(Jn,"P",{"data-svelte-h":!0}),d(zu)!=="svelte-6tdefx"&&(zu.textContent=Nq),i$=a(Jn),Ou=i(Jn,"P",{"data-svelte-h":!0}),d(Ou)!=="svelte-sjutdt"&&(Ou.textContent=Eq),c$=a(Jn),Qu=i(Jn,"P",{"data-svelte-h":!0}),d(Qu)!=="svelte-164ppjv"&&(Qu.innerHTML=Rq),l$=a(Jn),h(Ka.$$.fragment,Jn),Jn.forEach(p),d$=a(w),ct=i(w,"DIV",{class:!0});var $s=T(ct);h(yc.$$.fragment,$s),p$=a($s),Ku=i($s,"P",{"data-svelte-h":!0}),d(Ku)!=="svelte-tgkk8q"&&(Ku.textContent=Dq),g$=a($s),eh=i($s,"P",{"data-svelte-h":!0}),d(eh)!=="svelte-1yeoh0w"&&(eh.textContent=Gq),u$=a($s),th=i($s,"P",{"data-svelte-h":!0}),d(th)!=="svelte-1bxaipy"&&(th.innerHTML=Zq),$s.forEach(p),h$=a(w),xn=i(w,"DIV",{class:!0});var Jf=T(xn);h(vc.$$.fragment,Jf),f$=a(Jf),nh=i(Jf,"P",{"data-svelte-h":!0}),d(nh)!=="svelte-1xslq7e"&&(nh.textContent=Fq),m$=a(Jf),oh=i(Jf,"P",{"data-svelte-h":!0}),d(oh)!=="svelte-zgmljc"&&(oh.textContent=Sq),Jf.forEach(p),_$=a(w),wn=i(w,"DIV",{class:!0});var Af=T(wn);h(xc.$$.fragment,Af),b$=a(Af),ah=i(Af,"P",{"data-svelte-h":!0}),d(ah)!=="svelte-1a9paom"&&(ah.textContent=Wq),y$=a(Af),h(es.$$.fragment,Af),Af.forEach(p),v$=a(w),we=i(w,"DIV",{class:!0});var An=T(we);h(wc.$$.fragment,An),x$=a(An),sh=i(An,"P",{"data-svelte-h":!0}),d(sh)!=="svelte-kukbcr"&&(sh.textContent=Lq),w$=a(An),$c=i(An,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d($c)!=="svelte-q38zb7"&&($c.innerHTML=Bq),$$=a(An),kc=i(An,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(kc)!=="svelte-1qsb0pb"&&(kc.innerHTML=Vq),k$=a(An),h(ts.$$.fragment,An),An.forEach(p),j$=a(w),J=i(w,"DIV",{class:!0});var E=T(J);h(jc.$$.fragment,E),T$=a(E),rh=i(E,"P",{"data-svelte-h":!0}),d(rh)!=="svelte-1nvey1d"&&(rh.textContent=Yq),M$=a(E),ih=i(E,"P",{"data-svelte-h":!0}),d(ih)!=="svelte-1vu0l4l"&&(ih.textContent=Xq),q$=a(E),ch=i(E,"P",{"data-svelte-h":!0}),d(ch)!=="svelte-adrskp"&&(ch.innerHTML=Pq),H$=a(E),lh=i(E,"P",{"data-svelte-h":!0}),d(lh)!=="svelte-1m6fudm"&&(lh.innerHTML=zq),I$=a(E),dh=i(E,"P",{"data-svelte-h":!0}),d(dh)!=="svelte-nojwu3"&&(dh.innerHTML=Oq),U$=a(E),ph=i(E,"P",{"data-svelte-h":!0}),d(ph)!=="svelte-90ewc6"&&(ph.innerHTML=Qq),C$=a(E),Tc=i(E,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Tc)!=="svelte-1938ro7"&&(Tc.innerHTML=Kq),J$=a(E),Mc=i(E,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Mc)!=="svelte-93qron"&&(Mc.innerHTML=eH),A$=a(E),qc=i(E,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(qc)!=="svelte-gwrxjg"&&(qc.innerHTML=tH),N$=a(E),h(ns.$$.fragment,E),E.forEach(p),E$=a(w),C=i(w,"DIV",{class:!0});var N=T(C);h(Hc.$$.fragment,N),R$=a(N),gh=i(N,"P",{"data-svelte-h":!0}),d(gh)!=="svelte-1a1ittk"&&(gh.textContent=nH),D$=a(N),uh=i(N,"P",{"data-svelte-h":!0}),d(uh)!=="svelte-3l9535"&&(uh.innerHTML=oH),G$=a(N),Ic=i(N,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Ic)!=="svelte-1pel158"&&(Ic.innerHTML=aH),Z$=a(N),Uc=i(N,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Uc)!=="svelte-1xsgady"&&(Uc.innerHTML=sH),F$=a(N),hh=i(N,"P",{"data-svelte-h":!0}),d(hh)!=="svelte-8c4beu"&&(hh.innerHTML=rH),S$=a(N),fh=i(N,"P",{"data-svelte-h":!0}),d(fh)!=="svelte-25734v"&&(fh.innerHTML=iH),W$=a(N),mh=i(N,"OL",{"data-svelte-h":!0}),d(mh)!=="svelte-1odabm1"&&(mh.innerHTML=cH),L$=a(N),_h=i(N,"P",{"data-svelte-h":!0}),d(_h)!=="svelte-59ei85"&&(_h.textContent=lH),B$=a(N),bh=i(N,"OL",{"data-svelte-h":!0}),d(bh)!=="svelte-lwfvpw"&&(bh.innerHTML=dH),V$=a(N),yh=i(N,"P",{"data-svelte-h":!0}),d(yh)!=="svelte-w718ua"&&(yh.textContent=pH),Y$=a(N),vh=i(N,"UL",{"data-svelte-h":!0}),d(vh)!=="svelte-syfj66"&&(vh.innerHTML=gH),N.forEach(p),X$=a(w),os=i(w,"DIV",{class:!0});var d_=T(os);h(Cc.$$.fragment,d_),P$=a(d_),xh=i(d_,"P",{"data-svelte-h":!0}),d(xh)!=="svelte-qdno51"&&(xh.textContent=uH),d_.forEach(p),z$=a(w),as=i(w,"DIV",{class:!0});var p_=T(as);h(Jc.$$.fragment,p_),O$=a(p_),wh=i(p_,"P",{"data-svelte-h":!0}),d(wh)!=="svelte-l7gr50"&&(wh.textContent=hH),p_.forEach(p),w.forEach(p),tm=a(n),h(Ac.$$.fragment,n),nm=a(n),h(Nc.$$.fragment,n),om=a(n),Gn=i(n,"DIV",{class:!0});var g_=T(Gn);h(Ec.$$.fragment,g_),Q$=a(g_),$h=i(g_,"P",{"data-svelte-h":!0}),d($h)!=="svelte-frgpd7"&&($h.textContent=fH),g_.forEach(p),am=a(n),h(Rc.$$.fragment,n),sm=a(n),ut=i(n,"DIV",{class:!0});var Nf=T(ut);h(Dc.$$.fragment,Nf),K$=a(Nf),kh=i(Nf,"P",{"data-svelte-h":!0}),d(kh)!=="svelte-n4j72f"&&(kh.textContent=mH),ek=a(Nf),jh=i(Nf,"P",{"data-svelte-h":!0}),d(jh)!=="svelte-102qt1n"&&(jh.innerHTML=_H),Nf.forEach(p),rm=a(n),h(Gc.$$.fragment,n),im=a(n),ht=i(n,"DIV",{class:!0});var Ef=T(ht);h(Zc.$$.fragment,Ef),tk=a(Ef),Th=i(Ef,"P",{"data-svelte-h":!0}),d(Th)!=="svelte-swwjpw"&&(Th.innerHTML=bH),nk=a(Ef),Fc=i(Ef,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Fc)!=="svelte-1al1rnj"&&(Fc.innerHTML=yH),Ef.forEach(p),cm=a(n),h(Sc.$$.fragment,n),lm=a(n),ft=i(n,"DIV",{class:!0});var Rf=T(ft);h(Wc.$$.fragment,Rf),ok=a(Rf),Mh=i(Rf,"P",{"data-svelte-h":!0}),d(Mh)!=="svelte-u7zeah"&&(Mh.textContent=vH),ak=a(Rf),qh=i(Rf,"P",{"data-svelte-h":!0}),d(qh)!=="svelte-1fnpjmo"&&(qh.innerHTML=xH),Rf.forEach(p),dm=a(n),h(Lc.$$.fragment,n),pm=a(n),Zn=i(n,"DIV",{class:!0});var u_=T(Zn);h(Bc.$$.fragment,u_),sk=a(u_),Hh=i(u_,"P",{"data-svelte-h":!0}),d(Hh)!=="svelte-1dp8z99"&&(Hh.textContent=wH),u_.forEach(p),gm=a(n),h(Vc.$$.fragment,n),um=a(n),Fn=i(n,"DIV",{class:!0});var h_=T(Fn);h(Yc.$$.fragment,h_),rk=a(h_),Ih=i(h_,"P",{"data-svelte-h":!0}),d(Ih)!=="svelte-1m53mfe"&&(Ih.innerHTML=$H),h_.forEach(p),hm=a(n),h(Xc.$$.fragment,n),fm=a(n),mt=i(n,"DIV",{class:!0});var Df=T(mt);h(Pc.$$.fragment,Df),ik=a(Df),Uh=i(Df,"P",{"data-svelte-h":!0}),d(Uh)!=="svelte-8pkqdq"&&(Uh.textContent=kH),ck=a(Df),Ch=i(Df,"P",{"data-svelte-h":!0}),d(Ch)!=="svelte-vdyl1q"&&(Ch.innerHTML=jH),Df.forEach(p),mm=a(n),h(zc.$$.fragment,n),_m=a(n),Oc=i(n,"DIV",{class:!0});var bI=T(Oc);h(Qc.$$.fragment,bI),bI.forEach(p),bm=a(n),h(Kc.$$.fragment,n),ym=a(n),K=i(n,"DIV",{class:!0});var Nn=T(K);h(el.$$.fragment,Nn),lk=a(Nn),Jh=i(Nn,"P",{"data-svelte-h":!0}),d(Jh)!=="svelte-ezr8kg"&&(Jh.textContent=TH),dk=a(Nn),Ah=i(Nn,"P",{"data-svelte-h":!0}),d(Ah)!=="svelte-1e5wnmv"&&(Ah.innerHTML=MH),pk=a(Nn),Nh=i(Nn,"P",{"data-svelte-h":!0}),d(Nh)!=="svelte-333hb6"&&(Nh.innerHTML=qH),gk=a(Nn),h(ss.$$.fragment,Nn),Nn.forEach(p),vm=a(n),h(tl.$$.fragment,n),xm=a(n),_t=i(n,"DIV",{class:!0});var Gf=T(_t);h(nl.$$.fragment,Gf),uk=a(Gf),Eh=i(Gf,"P",{"data-svelte-h":!0}),d(Eh)!=="svelte-fvugq9"&&(Eh.innerHTML=HH),hk=a(Gf),ol=i(Gf,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(ol)!=="svelte-17f2gja"&&(ol.innerHTML=IH),Gf.forEach(p),wm=a(n),h(al.$$.fragment,n),$m=a(n),bt=i(n,"DIV",{class:!0});var Zf=T(bt);h(sl.$$.fragment,Zf),fk=a(Zf),Rh=i(Zf,"P",{"data-svelte-h":!0}),d(Rh)!=="svelte-pzc88f"&&(Rh.textContent=UH),mk=a(Zf),rl=i(Zf,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(rl)!=="svelte-lkluvq"&&(rl.innerHTML=CH),Zf.forEach(p),km=a(n),h(il.$$.fragment,n),jm=a(n),Sn=i(n,"DIV",{class:!0});var f_=T(Sn);h(cl.$$.fragment,f_),_k=a(f_),Dh=i(f_,"P",{"data-svelte-h":!0}),d(Dh)!=="svelte-1eicjbk"&&(Dh.textContent=JH),f_.forEach(p),Tm=a(n),h(ll.$$.fragment,n),Mm=a(n),ee=i(n,"DIV",{class:!0});var En=T(ee);h(dl.$$.fragment,En),bk=a(En),Gh=i(En,"P",{"data-svelte-h":!0}),d(Gh)!=="svelte-1v78htg"&&(Gh.innerHTML=AH),yk=a(En),Zh=i(En,"P",{"data-svelte-h":!0}),d(Zh)!=="svelte-murgw9"&&(Zh.innerHTML=NH),vk=a(En),Fh=i(En,"UL",{"data-svelte-h":!0}),d(Fh)!=="svelte-1mrng5l"&&(Fh.innerHTML=EH),xk=a(En),h(rs.$$.fragment,En),En.forEach(p),qm=a(n),h(pl.$$.fragment,n),Hm=a(n),te=i(n,"DIV",{class:!0});var Rn=T(te);h(gl.$$.fragment,Rn),wk=a(Rn),Sh=i(Rn,"P",{"data-svelte-h":!0}),d(Sh)!=="svelte-ovnxfi"&&(Sh.textContent=RH),$k=a(Rn),Wh=i(Rn,"P",{"data-svelte-h":!0}),d(Wh)!=="svelte-afv8fv"&&(Wh.textContent=DH),kk=a(Rn),Lh=i(Rn,"P",{"data-svelte-h":!0}),d(Lh)!=="svelte-18gvp4f"&&(Lh.innerHTML=GH),jk=a(Rn),Bh=i(Rn,"P",{"data-svelte-h":!0}),d(Bh)!=="svelte-ndzof3"&&(Bh.innerHTML=ZH),Rn.forEach(p),Im=a(n),h(ul.$$.fragment,n),Um=a(n),ke=i(n,"DIV",{class:!0});var ks=T(ke);h(hl.$$.fragment,ks),Tk=a(ks),Vh=i(ks,"P",{"data-svelte-h":!0}),d(Vh)!=="svelte-2ejdv8"&&(Vh.textContent=FH),Mk=a(ks),Yh=i(ks,"P",{"data-svelte-h":!0}),d(Yh)!=="svelte-1ff2vxz"&&(Yh.innerHTML=SH),qk=a(ks),Xh=i(ks,"P",{"data-svelte-h":!0}),d(Xh)!=="svelte-ndzof3"&&(Xh.innerHTML=WH),ks.forEach(p),Cm=a(n),h(fl.$$.fragment,n),Jm=a(n),yt=i(n,"DIV",{class:!0});var Ff=T(yt);h(ml.$$.fragment,Ff),Hk=a(Ff),Ph=i(Ff,"P",{"data-svelte-h":!0}),d(Ph)!=="svelte-1fsd0x6"&&(Ph.innerHTML=LH),Ik=a(Ff),_l=i(Ff,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(_l)!=="svelte-f02cbh"&&(_l.innerHTML=BH),Ff.forEach(p),Am=a(n),h(bl.$$.fragment,n),Nm=a(n),vt=i(n,"DIV",{class:!0});var Sf=T(vt);h(yl.$$.fragment,Sf),Uk=a(Sf),zh=i(Sf,"P",{"data-svelte-h":!0}),d(zh)!=="svelte-by9v9h"&&(zh.textContent=VH),Ck=a(Sf),Oh=i(Sf,"P",{"data-svelte-h":!0}),d(Oh)!=="svelte-ndzof3"&&(Oh.innerHTML=YH),Sf.forEach(p),Em=a(n),h(vl.$$.fragment,n),Rm=a(n),Wn=i(n,"DIV",{class:!0});var m_=T(Wn);h(xl.$$.fragment,m_),Jk=a(m_),Qh=i(m_,"P",{"data-svelte-h":!0}),d(Qh)!=="svelte-f10xp"&&(Qh.textContent=XH),m_.forEach(p),Dm=a(n),h(wl.$$.fragment,n),Gm=a(n),Ln=i(n,"DIV",{class:!0});var __=T(Ln);h($l.$$.fragment,__),Ak=a(__),Kh=i(__,"P",{"data-svelte-h":!0}),d(Kh)!=="svelte-s36het"&&(Kh.textContent=PH),__.forEach(p),Zm=a(n),h(kl.$$.fragment,n),Fm=a(n),xt=i(n,"DIV",{class:!0});var Wf=T(xt);h(jl.$$.fragment,Wf),Nk=a(Wf),ef=i(Wf,"P",{"data-svelte-h":!0}),d(ef)!=="svelte-11wrzrg"&&(ef.textContent=zH),Ek=a(Wf),tf=i(Wf,"P",{"data-svelte-h":!0}),d(tf)!=="svelte-wiobox"&&(tf.innerHTML=OH),Wf.forEach(p),Sm=a(n),h(Tl.$$.fragment,n),Wm=a(n),Bn=i(n,"DIV",{class:!0});var b_=T(Bn);h(Ml.$$.fragment,b_),Rk=a(b_),nf=i(b_,"P",{"data-svelte-h":!0}),d(nf)!=="svelte-10dpb22"&&(nf.textContent=QH),b_.forEach(p),Lm=a(n),h(ql.$$.fragment,n),Bm=a(n),Hl=i(n,"P",{"data-svelte-h":!0}),d(Hl)!=="svelte-eea1xn"&&(Hl.innerHTML=KH),Vm=a(n),je=i(n,"DIV",{class:!0});var js=T(je);h(Il.$$.fragment,js),Dk=a(js),of=i(js,"P",{"data-svelte-h":!0}),d(of)!=="svelte-1nyzeix"&&(of.textContent=eI),Gk=a(js),$n=i(js,"DIV",{class:!0});var Lf=T($n);h(Ul.$$.fragment,Lf),Zk=a(Lf),af=i(Lf,"P",{"data-svelte-h":!0}),d(af)!=="svelte-1d7s5nc"&&(af.innerHTML=tI),Fk=a(Lf),h(is.$$.fragment,Lf),Lf.forEach(p),Sk=a(js),kn=i(js,"DIV",{class:!0});var Bf=T(kn);h(Cl.$$.fragment,Bf),Wk=a(Bf),sf=i(Bf,"P",{"data-svelte-h":!0}),d(sf)!=="svelte-1o44akx"&&(sf.innerHTML=nI),Lk=a(Bf),rf=i(Bf,"P",{"data-svelte-h":!0}),d(rf)!=="svelte-huzhzj"&&(rf.innerHTML=oI),Bf.forEach(p),js.forEach(p),Ym=a(n),Vn=i(n,"DIV",{class:!0});var y_=T(Vn);h(Jl.$$.fragment,y_),Bk=a(y_),cf=i(y_,"P",{"data-svelte-h":!0}),d(cf)!=="svelte-1cij9yu"&&(cf.textContent=aI),y_.forEach(p),Xm=a(n),ne=i(n,"DIV",{class:!0});var Dn=T(ne);h(Al.$$.fragment,Dn),Vk=a(Dn),lf=i(Dn,"P",{"data-svelte-h":!0}),d(lf)!=="svelte-bx32lj"&&(lf.textContent=sI),Yk=a(Dn),df=i(Dn,"P",{"data-svelte-h":!0}),d(df)!=="svelte-1a6nwfz"&&(df.textContent=rI),Xk=a(Dn),pf=i(Dn,"UL",{"data-svelte-h":!0}),d(pf)!=="svelte-1wreq5n"&&(pf.innerHTML=iI),Pk=a(Dn),gf=i(Dn,"P",{"data-svelte-h":!0}),d(gf)!=="svelte-zlmtk1"&&(gf.innerHTML=cI),Dn.forEach(p),Pm=a(n),h(Nl.$$.fragment,n),zm=a(n),R=i(n,"DIV",{class:!0});var Q=T(R);h(El.$$.fragment,Q),zk=a(Q),uf=i(Q,"P",{"data-svelte-h":!0}),d(uf)!=="svelte-1wfz9hx"&&(uf.textContent=lI),Ok=a(Q),hf=i(Q,"P",{"data-svelte-h":!0}),d(hf)!=="svelte-10g22je"&&(hf.innerHTML=dI),Qk=a(Q),h(cs.$$.fragment,Q),Kk=a(Q),h(ls.$$.fragment,Q),ej=a(Q),lt=i(Q,"DIV",{class:!0});var Ts=T(lt);h(Rl.$$.fragment,Ts),tj=a(Ts),ff=i(Ts,"P",{"data-svelte-h":!0}),d(ff)!=="svelte-e95u7k"&&(ff.textContent=pI),nj=a(Ts),Dl=i(Ts,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(Dl)!=="svelte-24oox4"&&(Dl.innerHTML=gI),oj=a(Ts),mf=i(Ts,"P",{"data-svelte-h":!0}),d(mf)!=="svelte-eijr4"&&(mf.innerHTML=uI),Ts.forEach(p),aj=a(Q),jn=i(Q,"DIV",{class:!0});var Vf=T(jn);h(Gl.$$.fragment,Vf),sj=a(Vf),_f=i(Vf,"P",{"data-svelte-h":!0}),d(_f)!=="svelte-t1x1k0"&&(_f.textContent=hI),rj=a(Vf),bf=i(Vf,"P",{"data-svelte-h":!0}),d(bf)!=="svelte-1jdo3t2"&&(bf.textContent=fI),Vf.forEach(p),ij=a(Q),Tn=i(Q,"DIV",{class:!0});var Yf=T(Tn);h(Zl.$$.fragment,Yf),cj=a(Yf),yf=i(Yf,"P",{"data-svelte-h":!0}),d(yf)!=="svelte-m2dnyn"&&(yf.innerHTML=mI),lj=a(Yf),vf=i(Yf,"P",{"data-svelte-h":!0}),d(vf)!=="svelte-aasb0o"&&(vf.innerHTML=_I),Yf.forEach(p),Q.forEach(p),Om=a(n),h(Fl.$$.fragment,n),Qm=a(n),Xf=i(n,"P",{}),T(Xf).forEach(p),this.h()},h(){j(s,"name","hf:doc:metadata"),j(s,"content",B4),j(Ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Je,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Gt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Zt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ae,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(yo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Fs,"class","tip"),j(Ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ws,"class","tip"),j(Ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(wo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ys,"class","warning"),j(Xs,"class","warning"),j(Ps,"class","warning"),j(le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Os,"class","tip"),j(W,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(de,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(er,"class","warning"),j(De,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(nr,"class","tip"),j(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Mo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ao,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(lr,"class","tip"),j(Ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ro,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(gr,"class","warning"),j(Ze,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ft,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(fr,"class","tip"),j(St,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Wt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Lt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Zo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Fo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Bt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(So,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Vt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Wo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Yt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Xt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Hr,"class","tip"),j(Pt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(zt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ot,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Qt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(We,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Oo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Er,"class","tip"),j(Le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Qo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ko,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Kt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ta,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(na,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(en,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ia,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(tn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ca,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(nn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Be,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(X,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Qr,"class","warning"),j(Kr,"class","tip"),j(Ve,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(on,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(an,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ai,"class","warning"),j(sn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ye,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ii,"class","warning"),j(ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(rn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(_a,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Xe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(he,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(cn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(xa,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(wa,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ln,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ma,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(dn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(pn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ua,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ca,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ja,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Aa,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(gn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Hi,"class","tip"),j(un,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ui,"class","tip"),j(ze,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ji,"class","tip"),j(Oe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ea,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Qe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ke,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(et,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Gi,"class","warning"),j(tt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Fi,"class","warning"),j(Si,"class","warning"),j(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(nt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Bi,"class","tip"),j(ot,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(hn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Xi,"class","tip"),j(fn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(zi,"class","tip"),j(mn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Qi,"class","tip"),j(_n,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(at,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(bn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Fa,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(yn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(_e,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(be,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(st,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(cc,"class","tip"),j(rt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ye,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(pc,"class","tip"),j(it,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(uc,"class","warning"),j(hc,"class","warning"),j(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(za,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ve,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(vn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(xe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ct,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(xn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(wn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j($c,"class","tip"),j(kc,"class","warning"),j(we,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Tc,"class","tip"),j(Mc,"class","warning"),j(qc,"class","tip"),j(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ic,"class","tip"),j(Uc,"class","warning"),j(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(os,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(as,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Gn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ut,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Fc,"class","tip"),j(ht,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ft,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Zn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Fn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(mt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Oc,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(K,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ol,"class","tip"),j(_t,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(rl,"class","tip"),j(bt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Sn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(te,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ke,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(_l,"class","tip"),j(yt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(vt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Wn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Ln,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(xt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Bn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j($n,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(kn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(je,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Vn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Dl,"class","warning"),j(lt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(jn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(Tn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(n,y){e(document.head,s),k(n,$,y),k(n,l,y),k(n,c,y),f(g,n,y),k(n,t,y),f(v,n,y),k(n,Pf,y),k(n,Ms,y),k(n,zf,y),k(n,qs,y),k(n,Of,y),k(n,Hs,y),k(n,Qf,y),f(Is,n,y),k(n,Kf,y),f(Us,n,y),k(n,em,y),k(n,x,y),f(Cs,x,null),e(x,v_),e(x,sd),e(x,x_),e(x,rd),e(x,w_),e(x,Ce),f(Js,Ce,null),e(Ce,$_),e(Ce,id),e(Ce,k_),e(Ce,cd),e(Ce,j_),e(Ce,ld),e(x,T_),e(x,Je),f(As,Je,null),e(Je,M_),e(Je,dd),e(Je,q_),e(Je,pd),e(Je,H_),f(_o,Je,null),e(x,I_),e(x,Gt),f(Ns,Gt,null),e(Gt,U_),e(Gt,gd),e(Gt,C_),e(Gt,ud),e(x,J_),e(x,Zt),f(Es,Zt,null),e(Zt,A_),e(Zt,hd),e(Zt,N_),e(Zt,fd),e(x,E_),e(x,Z),f(Rs,Z,null),e(Z,R_),e(Z,md),e(Z,D_),e(Z,_d),e(Z,G_),e(Z,bd),e(Z,Z_),f(bo,Z,null),e(Z,F_),e(Z,yd),e(Z,S_),e(Z,vd),e(x,W_),e(x,Ae),f(Ds,Ae,null),e(Ae,L_),e(Ae,xd),e(Ae,B_),e(Ae,wd),e(Ae,V_),e(Ae,$d),e(x,Y_),e(x,yo),f(Gs,yo,null),e(yo,X_),e(yo,kd),e(x,P_),e(x,Ne),f(Zs,Ne,null),e(Ne,z_),e(Ne,jd),e(Ne,O_),f(vo,Ne,null),e(Ne,Q_),e(Ne,Fs),e(x,K_),e(x,Ee),f(Ss,Ee,null),e(Ee,eb),e(Ee,Td),e(Ee,tb),f(xo,Ee,null),e(Ee,nb),e(Ee,Ws),e(x,ob),e(x,wo),f(Ls,wo,null),e(wo,ab),e(wo,Md),e(x,sb),e(x,Re),f(Bs,Re,null),e(Re,rb),e(Re,qd),e(Re,ib),e(Re,Hd),e(Re,cb),f($o,Re,null),e(x,lb),e(x,le),f(Vs,le,null),e(le,db),e(le,Id),e(le,pb),e(le,Ys),e(le,gb),e(le,Xs),e(le,ub),e(le,Ps),e(x,hb),e(x,W),f(zs,W,null),e(W,fb),e(W,Ud),e(W,mb),e(W,Cd),e(W,_b),e(W,Jd),e(W,bb),e(W,Ad),e(W,yb),e(W,Os),e(x,vb),e(x,de),f(Qs,de,null),e(de,xb),e(de,Nd),e(de,wb),f(ko,de,null),e(de,$b),f(jo,de,null),e(de,kb),f(To,de,null),e(x,jb),e(x,De),f(Ks,De,null),e(De,Tb),e(De,Ed),e(De,Mb),e(De,Rd),e(De,qb),e(De,er),e(x,Hb),e(x,L),f(tr,L,null),e(L,Ib),e(L,Dd),e(L,Ub),e(L,Gd),e(L,Cb),e(L,Zd),e(L,Jb),e(L,Fd),e(L,Ab),e(L,nr),e(x,Nb),e(x,Mo),f(or,Mo,null),e(Mo,Eb),e(Mo,Sd),e(x,Rb),e(x,B),f(ar,B,null),e(B,Db),e(B,Wd),e(B,Gb),e(B,Ld),e(B,Zb),f(qo,B,null),e(B,Fb),f(Ho,B,null),e(B,Sb),f(Io,B,null),e(x,Wb),e(x,V),f(sr,V,null),e(V,Lb),e(V,Bd),e(V,Bb),e(V,Vd),e(V,Vb),f(Uo,V,null),e(V,Yb),f(Co,V,null),e(V,Xb),f(Jo,V,null),e(x,Pb),e(x,Ao),f(rr,Ao,null),e(Ao,zb),e(Ao,Yd),e(x,Ob),e(x,D),f(ir,D,null),e(D,Qb),e(D,Xd),e(D,Kb),e(D,Pd),e(D,ey),e(D,zd),e(D,ty),e(D,Od),e(D,ny),f(No,D,null),e(D,oy),e(D,Qd),e(D,ay),f(Eo,D,null),e(x,sy),e(x,Ge),f(cr,Ge,null),e(Ge,ry),e(Ge,Kd),e(Ge,iy),e(Ge,ep),e(Ge,cy),e(Ge,lr),e(x,ly),e(x,Ro),f(dr,Ro,null),e(Ro,dy),e(Ro,tp),e(x,py),e(x,Ze),f(pr,Ze,null),e(Ze,gy),e(Ze,np),e(Ze,uy),f(Do,Ze,null),e(Ze,hy),e(Ze,gr),e(x,fy),e(x,Ft),f(ur,Ft,null),e(Ft,my),e(Ft,op),e(Ft,_y),f(Go,Ft,null),e(x,by),e(x,St),f(hr,St,null),e(St,yy),e(St,ap),e(St,vy),e(St,fr),e(x,xy),e(x,Wt),f(mr,Wt,null),e(Wt,wy),e(Wt,sp),e(Wt,$y),e(Wt,rp),e(x,ky),e(x,Lt),f(_r,Lt,null),e(Lt,jy),e(Lt,ip),e(Lt,Ty),e(Lt,cp),e(x,My),e(x,Fe),f(br,Fe,null),e(Fe,qy),e(Fe,lp),e(Fe,Hy),e(Fe,dp),e(Fe,Iy),e(Fe,pp),e(x,Uy),e(x,Zo),f(yr,Zo,null),e(Zo,Cy),e(Zo,gp),e(x,Jy),e(x,Fo),f(vr,Fo,null),e(Fo,Ay),e(Fo,up),e(x,Ny),e(x,Bt),f(xr,Bt,null),e(Bt,Ey),e(Bt,hp),e(Bt,Ry),e(Bt,fp),e(x,Dy),e(x,So),f(wr,So,null),e(So,Gy),e(So,mp),e(x,Zy),e(x,Vt),f($r,Vt,null),e(Vt,Fy),e(Vt,_p),e(Vt,Sy),e(Vt,bp),e(x,Wy),e(x,Wo),f(kr,Wo,null),e(Wo,Ly),e(Wo,yp),e(x,By),e(x,Yt),f(jr,Yt,null),e(Yt,Vy),e(Yt,vp),e(Yt,Yy),f(Lo,Yt,null),e(x,Xy),e(x,Xt),f(Tr,Xt,null),e(Xt,Py),e(Xt,xp),e(Xt,zy),f(Bo,Xt,null),e(x,Oy),e(x,Se),f(Mr,Se,null),e(Se,Qy),e(Se,wp),e(Se,Ky),e(Se,$p),e(Se,ev),f(Vo,Se,null),e(x,tv),e(x,Pt),f(qr,Pt,null),e(Pt,nv),e(Pt,kp),e(Pt,ov),e(Pt,Hr),e(x,av),e(x,zt),f(Ir,zt,null),e(zt,sv),e(zt,jp),e(zt,rv),f(Yo,zt,null),e(x,iv),e(x,Ot),f(Ur,Ot,null),e(Ot,cv),e(Ot,Tp),e(Ot,lv),f(Xo,Ot,null),e(x,dv),e(x,Qt),f(Cr,Qt,null),e(Qt,pv),e(Qt,Mp),e(Qt,gv),f(Po,Qt,null),e(x,uv),e(x,We),f(Jr,We,null),e(We,hv),e(We,qp),e(We,fv),e(We,Hp),e(We,mv),f(zo,We,null),e(x,_v),e(x,Oo),f(Ar,Oo,null),e(Oo,bv),e(Oo,Ip),e(x,yv),e(x,Le),f(Nr,Le,null),e(Le,vv),e(Le,Up),e(Le,xv),e(Le,Cp),e(Le,wv),e(Le,Er),e(x,$v),e(x,Qo),f(Rr,Qo,null),e(Qo,kv),e(Qo,Jp),e(x,jv),e(x,Ko),f(Dr,Ko,null),e(Ko,Tv),e(Ko,Ap),e(x,Mv),e(x,Kt),f(Gr,Kt,null),e(Kt,qv),e(Kt,Np),e(Kt,Hv),f(ea,Kt,null),e(x,Iv),e(x,ta),f(Zr,ta,null),e(ta,Uv),e(ta,Ep),e(x,Cv),e(x,na),f(Fr,na,null),e(na,Jv),e(na,Rp),e(x,Av),e(x,en),f(Sr,en,null),e(en,Nv),e(en,Dp),e(en,Ev),f(oa,en,null),e(x,Rv),e(x,pe),f(Wr,pe,null),e(pe,Dv),e(pe,Gp),e(pe,Gv),e(pe,Zp),e(pe,Zv),f(aa,pe,null),e(pe,Fv),f(sa,pe,null),e(x,Sv),e(x,Y),f(Lr,Y,null),e(Y,Wv),e(Y,Fp),e(Y,Lv),e(Y,Sp),e(Y,Bv),e(Y,Wp),e(Y,Vv),e(Y,Lp),e(Y,Yv),f(ra,Y,null),e(x,Xv),e(x,ia),f(Br,ia,null),e(ia,Pv),e(ia,Bp),e(x,zv),e(x,tn),f(Vr,tn,null),e(tn,Ov),e(tn,Vp),e(tn,Qv),e(tn,Yp),e(x,Kv),e(x,ca),f(Yr,ca,null),e(ca,ex),e(ca,Xp),e(x,tx),e(x,nn),f(Xr,nn,null),e(nn,nx),e(nn,Pp),e(nn,ox),f(la,nn,null),e(x,ax),e(x,Be),f(Pr,Be,null),e(Be,sx),e(Be,zp),e(Be,rx),e(Be,Op),e(Be,ix),e(Be,Qp),e(x,cx),e(x,X),f(zr,X,null),e(X,lx),e(X,Kp),e(X,dx),e(X,eg),e(X,px),e(X,tg),e(X,gx),f(da,X,null),e(X,ux),e(X,ng),e(x,hx),e(x,Ve),f(Or,Ve,null),e(Ve,fx),e(Ve,og),e(Ve,mx),e(Ve,Qr),e(Ve,_x),e(Ve,Kr),e(x,bx),e(x,on),f(ei,on,null),e(on,yx),e(on,ag),e(on,vx),f(pa,on,null),e(x,xx),e(x,an),f(ti,an,null),e(an,wx),e(an,sg),e(an,$x),f(ga,an,null),e(x,kx),e(x,ge),f(ni,ge,null),e(ge,jx),e(ge,rg),e(ge,Tx),e(ge,ig),e(ge,Mx),e(ge,cg),e(ge,qx),f(ua,ge,null),e(x,Hx),e(x,sn),f(oi,sn,null),e(sn,Ix),e(sn,lg),e(sn,Ux),e(sn,ai),e(x,Cx),e(x,Ye),f(si,Ye,null),e(Ye,Jx),e(Ye,dg),e(Ye,Ax),f(ha,Ye,null),e(Ye,Nx),f(fa,Ye,null),e(x,Ex),e(x,ue),f(ri,ue,null),e(ue,Rx),e(ue,pg),e(ue,Dx),e(ue,gg),e(ue,Gx),e(ue,ug),e(ue,Zx),e(ue,ii),e(x,Fx),e(x,rn),f(ci,rn,null),e(rn,Sx),e(rn,hg),e(rn,Wx),f(ma,rn,null),e(x,Lx),e(x,_a),f(li,_a,null),e(_a,Bx),e(_a,fg),e(x,Vx),e(x,Xe),f(di,Xe,null),e(Xe,Yx),e(Xe,mg),e(Xe,Xx),e(Xe,_g),e(Xe,Px),f(ba,Xe,null),e(x,zx),e(x,he),f(pi,he,null),e(he,Ox),e(he,bg),e(he,Qx),e(he,yg),e(he,Kx),e(he,vg),e(he,e2),f(ya,he,null),e(x,t2),e(x,cn),f(gi,cn,null),e(cn,n2),e(cn,xg),e(cn,o2),f(va,cn,null),e(x,a2),e(x,xa),f(ui,xa,null),e(xa,s2),e(xa,wg),e(x,r2),e(x,wa),f(hi,wa,null),e(wa,i2),e(wa,$g),e(x,c2),e(x,ln),f(fi,ln,null),e(ln,l2),e(ln,kg),e(ln,d2),f($a,ln,null),e(x,p2),e(x,fe),f(mi,fe,null),e(fe,g2),e(fe,jg),e(fe,u2),e(fe,Tg),e(fe,h2),e(fe,Mg),e(fe,f2),f(ka,fe,null),e(x,m2),e(x,me),f(_i,me,null),e(me,_2),e(me,qg),e(me,b2),e(me,Hg),e(me,y2),e(me,Ig),e(me,v2),f(ja,me,null),e(x,x2),e(x,Pe),f(bi,Pe,null),e(Pe,w2),e(Pe,Ug),e(Pe,$2),e(Pe,Cg),e(Pe,k2),f(Ta,Pe,null),e(x,j2),e(x,Ma),f(yi,Ma,null),e(Ma,T2),e(Ma,Jg),e(x,M2),e(x,dn),f(vi,dn,null),e(dn,q2),e(dn,Ag),e(dn,H2),e(dn,Ng),e(x,I2),e(x,pn),f(xi,pn,null),e(pn,U2),e(pn,Eg),e(pn,C2),f(qa,pn,null),e(x,J2),e(x,F),f(wi,F,null),e(F,A2),e(F,Rg),e(F,N2),e(F,Dg),e(F,E2),e(F,Gg),e(F,R2),f(Ha,F,null),e(F,D2),e(F,Zg),e(F,G2),f(Ia,F,null),e(x,Z2),e(x,Ua),f($i,Ua,null),e(Ua,F2),e(Ua,Fg),e(x,S2),e(x,Ca),f(ki,Ca,null),e(Ca,W2),e(Ca,Sg),e(x,L2),e(x,Ja),f(ji,Ja,null),e(Ja,B2),e(Ja,Wg),e(x,V2),e(x,Aa),f(Ti,Aa,null),e(Aa,Y2),e(Aa,Lg),e(x,X2),e(x,gn),f(Mi,gn,null),e(gn,P2),e(gn,Bg),e(gn,z2),f(Na,gn,null),e(x,O2),e(x,un),f(qi,un,null),e(un,Q2),e(un,Vg),e(un,K2),e(un,Hi),e(x,e1),e(x,ze),f(Ii,ze,null),e(ze,t1),e(ze,Yg),e(ze,n1),e(ze,Xg),e(ze,o1),e(ze,Ui),e(x,a1),e(x,Oe),f(Ci,Oe,null),e(Oe,s1),e(Oe,Pg),e(Oe,r1),e(Oe,zg),e(Oe,i1),e(Oe,Ji),e(x,c1),e(x,Ea),f(Ai,Ea,null),e(Ea,l1),e(Ea,Og),e(x,d1),e(x,Qe),f(Ni,Qe,null),e(Qe,p1),e(Qe,Qg),e(Qe,g1),e(Qe,Kg),e(Qe,u1),e(Qe,eu),e(x,h1),e(x,Ke),f(Ei,Ke,null),e(Ke,f1),e(Ke,tu),e(Ke,m1),e(Ke,nu),e(Ke,_1),e(Ke,ou),e(x,b1),e(x,et),f(Ri,et,null),e(et,y1),e(et,au),e(et,v1),e(et,su),e(et,x1),e(et,ru),e(x,w1),e(x,tt),f(Di,tt,null),e(tt,$1),e(tt,iu),e(tt,k1),e(tt,Gi),e(tt,j1),f(Ra,tt,null),e(x,T1),e(x,P),f(Zi,P,null),e(P,M1),e(P,cu),e(P,q1),e(P,lu),e(P,H1),e(P,Fi),e(P,I1),e(P,Si),e(P,U1),f(Da,P,null),e(x,C1),e(x,nt),f(Wi,nt,null),e(nt,J1),e(nt,du),e(nt,A1),e(nt,pu),e(nt,N1),e(nt,gu),e(x,E1),e(x,ot),f(Li,ot,null),e(ot,R1),e(ot,uu),e(ot,D1),f(Ga,ot,null),e(ot,G1),e(ot,Bi),e(x,Z1),e(x,hn),f(Vi,hn,null),e(hn,F1),e(hn,hu),e(hn,S1),f(Za,hn,null),e(x,W1),e(x,fn),f(Yi,fn,null),e(fn,L1),e(fn,fu),e(fn,B1),e(fn,Xi),e(x,V1),e(x,mn),f(Pi,mn,null),e(mn,Y1),e(mn,mu),e(mn,X1),e(mn,zi),e(x,P1),e(x,_n),f(Oi,_n,null),e(_n,z1),e(_n,_u),e(_n,O1),e(_n,Qi),e(x,Q1),e(x,at),f(Ki,at,null),e(at,K1),e(at,bu),e(at,ew),e(at,yu),e(at,tw),e(at,vu),e(x,nw),e(x,bn),f(ec,bn,null),e(bn,ow),e(bn,xu),e(bn,aw),e(bn,wu),e(x,sw),e(x,Fa),f(tc,Fa,null),e(Fa,rw),e(Fa,$u),e(x,iw),e(x,yn),f(nc,yn,null),e(yn,cw),e(yn,ku),e(yn,lw),f(Sa,yn,null),e(x,dw),e(x,_e),f(oc,_e,null),e(_e,pw),e(_e,ju),e(_e,gw),e(_e,Tu),e(_e,uw),e(_e,Mu),e(_e,hw),f(Wa,_e,null),e(x,fw),e(x,be),f(ac,be,null),e(be,mw),e(be,qu),e(be,_w),e(be,Hu),e(be,bw),f(La,be,null),e(be,yw),f(Ba,be,null),e(x,vw),e(x,z),f(sc,z,null),e(z,xw),e(z,Iu),e(z,ww),e(z,Uu),e(z,$w),f(Va,z,null),e(z,kw),f(Ya,z,null),e(z,jw),f(Xa,z,null),e(x,Tw),e(x,st),f(rc,st,null),e(st,Mw),e(st,Cu),e(st,qw),e(st,Ju),e(st,Hw),e(st,Au),e(x,Iw),e(x,rt),f(ic,rt,null),e(rt,Uw),e(rt,Nu),e(rt,Cw),e(rt,Eu),e(rt,Jw),e(rt,cc),e(x,Aw),e(x,ye),f(lc,ye,null),e(ye,Nw),e(ye,Ru),e(ye,Ew),e(ye,Du),e(ye,Rw),e(ye,Gu),e(ye,Dw),e(ye,Zu),e(x,Gw),e(x,it),f(dc,it,null),e(it,Zw),e(it,Fu),e(it,Fw),e(it,Su),e(it,Sw),e(it,pc),e(x,Ww),e(x,O),f(gc,O,null),e(O,Lw),e(O,Wu),e(O,Bw),e(O,Lu),e(O,Vw),e(O,uc),e(O,Yw),e(O,hc),e(O,Xw),f(Pa,O,null),e(x,Pw),e(x,za),f(fc,za,null),e(za,zw),e(za,Bu),e(x,Ow),e(x,ve),f(mc,ve,null),e(ve,Qw),e(ve,Vu),e(ve,Kw),e(ve,Yu),e(ve,e$),e(ve,Xu),e(ve,t$),f(Oa,ve,null),e(x,n$),e(x,vn),f(_c,vn,null),e(vn,o$),e(vn,Pu),e(vn,a$),f(Qa,vn,null),e(x,s$),e(x,xe),f(bc,xe,null),e(xe,r$),e(xe,zu),e(xe,i$),e(xe,Ou),e(xe,c$),e(xe,Qu),e(xe,l$),f(Ka,xe,null),e(x,d$),e(x,ct),f(yc,ct,null),e(ct,p$),e(ct,Ku),e(ct,g$),e(ct,eh),e(ct,u$),e(ct,th),e(x,h$),e(x,xn),f(vc,xn,null),e(xn,f$),e(xn,nh),e(xn,m$),e(xn,oh),e(x,_$),e(x,wn),f(xc,wn,null),e(wn,b$),e(wn,ah),e(wn,y$),f(es,wn,null),e(x,v$),e(x,we),f(wc,we,null),e(we,x$),e(we,sh),e(we,w$),e(we,$c),e(we,$$),e(we,kc),e(we,k$),f(ts,we,null),e(x,j$),e(x,J),f(jc,J,null),e(J,T$),e(J,rh),e(J,M$),e(J,ih),e(J,q$),e(J,ch),e(J,H$),e(J,lh),e(J,I$),e(J,dh),e(J,U$),e(J,ph),e(J,C$),e(J,Tc),e(J,J$),e(J,Mc),e(J,A$),e(J,qc),e(J,N$),f(ns,J,null),e(x,E$),e(x,C),f(Hc,C,null),e(C,R$),e(C,gh),e(C,D$),e(C,uh),e(C,G$),e(C,Ic),e(C,Z$),e(C,Uc),e(C,F$),e(C,hh),e(C,S$),e(C,fh),e(C,W$),e(C,mh),e(C,L$),e(C,_h),e(C,B$),e(C,bh),e(C,V$),e(C,yh),e(C,Y$),e(C,vh),e(x,X$),e(x,os),f(Cc,os,null),e(os,P$),e(os,xh),e(x,z$),e(x,as),f(Jc,as,null),e(as,O$),e(as,wh),k(n,tm,y),f(Ac,n,y),k(n,nm,y),f(Nc,n,y),k(n,om,y),k(n,Gn,y),f(Ec,Gn,null),e(Gn,Q$),e(Gn,$h),k(n,am,y),f(Rc,n,y),k(n,sm,y),k(n,ut,y),f(Dc,ut,null),e(ut,K$),e(ut,kh),e(ut,ek),e(ut,jh),k(n,rm,y),f(Gc,n,y),k(n,im,y),k(n,ht,y),f(Zc,ht,null),e(ht,tk),e(ht,Th),e(ht,nk),e(ht,Fc),k(n,cm,y),f(Sc,n,y),k(n,lm,y),k(n,ft,y),f(Wc,ft,null),e(ft,ok),e(ft,Mh),e(ft,ak),e(ft,qh),k(n,dm,y),f(Lc,n,y),k(n,pm,y),k(n,Zn,y),f(Bc,Zn,null),e(Zn,sk),e(Zn,Hh),k(n,gm,y),f(Vc,n,y),k(n,um,y),k(n,Fn,y),f(Yc,Fn,null),e(Fn,rk),e(Fn,Ih),k(n,hm,y),f(Xc,n,y),k(n,fm,y),k(n,mt,y),f(Pc,mt,null),e(mt,ik),e(mt,Uh),e(mt,ck),e(mt,Ch),k(n,mm,y),f(zc,n,y),k(n,_m,y),k(n,Oc,y),f(Qc,Oc,null),k(n,bm,y),f(Kc,n,y),k(n,ym,y),k(n,K,y),f(el,K,null),e(K,lk),e(K,Jh),e(K,dk),e(K,Ah),e(K,pk),e(K,Nh),e(K,gk),f(ss,K,null),k(n,vm,y),f(tl,n,y),k(n,xm,y),k(n,_t,y),f(nl,_t,null),e(_t,uk),e(_t,Eh),e(_t,hk),e(_t,ol),k(n,wm,y),f(al,n,y),k(n,$m,y),k(n,bt,y),f(sl,bt,null),e(bt,fk),e(bt,Rh),e(bt,mk),e(bt,rl),k(n,km,y),f(il,n,y),k(n,jm,y),k(n,Sn,y),f(cl,Sn,null),e(Sn,_k),e(Sn,Dh),k(n,Tm,y),f(ll,n,y),k(n,Mm,y),k(n,ee,y),f(dl,ee,null),e(ee,bk),e(ee,Gh),e(ee,yk),e(ee,Zh),e(ee,vk),e(ee,Fh),e(ee,xk),f(rs,ee,null),k(n,qm,y),f(pl,n,y),k(n,Hm,y),k(n,te,y),f(gl,te,null),e(te,wk),e(te,Sh),e(te,$k),e(te,Wh),e(te,kk),e(te,Lh),e(te,jk),e(te,Bh),k(n,Im,y),f(ul,n,y),k(n,Um,y),k(n,ke,y),f(hl,ke,null),e(ke,Tk),e(ke,Vh),e(ke,Mk),e(ke,Yh),e(ke,qk),e(ke,Xh),k(n,Cm,y),f(fl,n,y),k(n,Jm,y),k(n,yt,y),f(ml,yt,null),e(yt,Hk),e(yt,Ph),e(yt,Ik),e(yt,_l),k(n,Am,y),f(bl,n,y),k(n,Nm,y),k(n,vt,y),f(yl,vt,null),e(vt,Uk),e(vt,zh),e(vt,Ck),e(vt,Oh),k(n,Em,y),f(vl,n,y),k(n,Rm,y),k(n,Wn,y),f(xl,Wn,null),e(Wn,Jk),e(Wn,Qh),k(n,Dm,y),f(wl,n,y),k(n,Gm,y),k(n,Ln,y),f($l,Ln,null),e(Ln,Ak),e(Ln,Kh),k(n,Zm,y),f(kl,n,y),k(n,Fm,y),k(n,xt,y),f(jl,xt,null),e(xt,Nk),e(xt,ef),e(xt,Ek),e(xt,tf),k(n,Sm,y),f(Tl,n,y),k(n,Wm,y),k(n,Bn,y),f(Ml,Bn,null),e(Bn,Rk),e(Bn,nf),k(n,Lm,y),f(ql,n,y),k(n,Bm,y),k(n,Hl,y),k(n,Vm,y),k(n,je,y),f(Il,je,null),e(je,Dk),e(je,of),e(je,Gk),e(je,$n),f(Ul,$n,null),e($n,Zk),e($n,af),e($n,Fk),f(is,$n,null),e(je,Sk),e(je,kn),f(Cl,kn,null),e(kn,Wk),e(kn,sf),e(kn,Lk),e(kn,rf),k(n,Ym,y),k(n,Vn,y),f(Jl,Vn,null),e(Vn,Bk),e(Vn,cf),k(n,Xm,y),k(n,ne,y),f(Al,ne,null),e(ne,Vk),e(ne,lf),e(ne,Yk),e(ne,df),e(ne,Xk),e(ne,pf),e(ne,Pk),e(ne,gf),k(n,Pm,y),f(Nl,n,y),k(n,zm,y),k(n,R,y),f(El,R,null),e(R,zk),e(R,uf),e(R,Ok),e(R,hf),e(R,Qk),f(cs,R,null),e(R,Kk),f(ls,R,null),e(R,ej),e(R,lt),f(Rl,lt,null),e(lt,tj),e(lt,ff),e(lt,nj),e(lt,Dl),e(lt,oj),e(lt,mf),e(R,aj),e(R,jn),f(Gl,jn,null),e(jn,sj),e(jn,_f),e(jn,rj),e(jn,bf),e(R,ij),e(R,Tn),f(Zl,Tn,null),e(Tn,cj),e(Tn,yf),e(Tn,lj),e(Tn,vf),k(n,Om,y),f(Fl,n,y),k(n,Qm,y),k(n,Xf,y),Km=!0},p(n,[y]){const w={};y&2&&(w.$$scope={dirty:y,ctx:n}),_o.$set(w);const wt={};y&2&&(wt.$$scope={dirty:y,ctx:n}),bo.$set(wt);const $t={};y&2&&($t.$$scope={dirty:y,ctx:n}),vo.$set($t);const Yn={};y&2&&(Yn.$$scope={dirty:y,ctx:n}),xo.$set(Yn);const Xn={};y&2&&(Xn.$$scope={dirty:y,ctx:n}),$o.$set(Xn);const S={};y&2&&(S.$$scope={dirty:y,ctx:n}),ko.$set(S);const kt={};y&2&&(kt.$$scope={dirty:y,ctx:n}),jo.$set(kt);const Sl={};y&2&&(Sl.$$scope={dirty:y,ctx:n}),To.$set(Sl);const jt={};y&2&&(jt.$$scope={dirty:y,ctx:n}),qo.$set(jt);const Tt={};y&2&&(Tt.$$scope={dirty:y,ctx:n}),Ho.$set(Tt);const Wl={};y&2&&(Wl.$$scope={dirty:y,ctx:n}),Io.$set(Wl);const Mt={};y&2&&(Mt.$$scope={dirty:y,ctx:n}),Uo.$set(Mt);const Te={};y&2&&(Te.$$scope={dirty:y,ctx:n}),Co.$set(Te);const oe={};y&2&&(oe.$$scope={dirty:y,ctx:n}),Jo.$set(oe);const Me={};y&2&&(Me.$$scope={dirty:y,ctx:n}),No.$set(Me);const qt={};y&2&&(qt.$$scope={dirty:y,ctx:n}),Eo.$set(qt);const ae={};y&2&&(ae.$$scope={dirty:y,ctx:n}),Do.$set(ae);const Ll={};y&2&&(Ll.$$scope={dirty:y,ctx:n}),Go.$set(Ll);const se={};y&2&&(se.$$scope={dirty:y,ctx:n}),Lo.$set(se);const re={};y&2&&(re.$$scope={dirty:y,ctx:n}),Bo.$set(re);const Bl={};y&2&&(Bl.$$scope={dirty:y,ctx:n}),Vo.$set(Bl);const G={};y&2&&(G.$$scope={dirty:y,ctx:n}),Yo.$set(G);const Ht={};y&2&&(Ht.$$scope={dirty:y,ctx:n}),Xo.$set(Ht);const Vl={};y&2&&(Vl.$$scope={dirty:y,ctx:n}),Po.$set(Vl);const It={};y&2&&(It.$$scope={dirty:y,ctx:n}),zo.$set(It);const Pn={};y&2&&(Pn.$$scope={dirty:y,ctx:n}),ea.$set(Pn);const zn={};y&2&&(zn.$$scope={dirty:y,ctx:n}),oa.$set(zn);const On={};y&2&&(On.$$scope={dirty:y,ctx:n}),aa.$set(On);const Qn={};y&2&&(Qn.$$scope={dirty:y,ctx:n}),sa.$set(Qn);const Ut={};y&2&&(Ut.$$scope={dirty:y,ctx:n}),ra.$set(Ut);const Yl={};y&2&&(Yl.$$scope={dirty:y,ctx:n}),la.$set(Yl);const Xl={};y&2&&(Xl.$$scope={dirty:y,ctx:n}),da.$set(Xl);const Kn={};y&2&&(Kn.$$scope={dirty:y,ctx:n}),pa.$set(Kn);const Pl={};y&2&&(Pl.$$scope={dirty:y,ctx:n}),ga.$set(Pl);const eo={};y&2&&(eo.$$scope={dirty:y,ctx:n}),ua.$set(eo);const zl={};y&2&&(zl.$$scope={dirty:y,ctx:n}),ha.$set(zl);const to={};y&2&&(to.$$scope={dirty:y,ctx:n}),fa.$set(to);const no={};y&2&&(no.$$scope={dirty:y,ctx:n}),ma.$set(no);const Ct={};y&2&&(Ct.$$scope={dirty:y,ctx:n}),ba.$set(Ct);const oo={};y&2&&(oo.$$scope={dirty:y,ctx:n}),ya.$set(oo);const ao={};y&2&&(ao.$$scope={dirty:y,ctx:n}),va.$set(ao);const so={};y&2&&(so.$$scope={dirty:y,ctx:n}),$a.$set(so);const ro={};y&2&&(ro.$$scope={dirty:y,ctx:n}),ka.$set(ro);const Jt={};y&2&&(Jt.$$scope={dirty:y,ctx:n}),ja.$set(Jt);const Ol={};y&2&&(Ol.$$scope={dirty:y,ctx:n}),Ta.$set(Ol);const At={};y&2&&(At.$$scope={dirty:y,ctx:n}),qa.$set(At);const Ql={};y&2&&(Ql.$$scope={dirty:y,ctx:n}),Ha.$set(Ql);const Kl={};y&2&&(Kl.$$scope={dirty:y,ctx:n}),Ia.$set(Kl);const io={};y&2&&(io.$$scope={dirty:y,ctx:n}),Na.$set(io);const ed={};y&2&&(ed.$$scope={dirty:y,ctx:n}),Ra.$set(ed);const td={};y&2&&(td.$$scope={dirty:y,ctx:n}),Da.$set(td);const co={};y&2&&(co.$$scope={dirty:y,ctx:n}),Ga.$set(co);const qe={};y&2&&(qe.$$scope={dirty:y,ctx:n}),Za.$set(qe);const ie={};y&2&&(ie.$$scope={dirty:y,ctx:n}),Sa.$set(ie);const nd={};y&2&&(nd.$$scope={dirty:y,ctx:n}),Wa.$set(nd);const lo={};y&2&&(lo.$$scope={dirty:y,ctx:n}),La.$set(lo);const od={};y&2&&(od.$$scope={dirty:y,ctx:n}),Ba.$set(od);const po={};y&2&&(po.$$scope={dirty:y,ctx:n}),Va.$set(po);const Nt={};y&2&&(Nt.$$scope={dirty:y,ctx:n}),Ya.$set(Nt);const ce={};y&2&&(ce.$$scope={dirty:y,ctx:n}),Xa.$set(ce);const Et={};y&2&&(Et.$$scope={dirty:y,ctx:n}),Pa.$set(Et);const go={};y&2&&(go.$$scope={dirty:y,ctx:n}),Oa.$set(go);const uo={};y&2&&(uo.$$scope={dirty:y,ctx:n}),Qa.$set(uo);const He={};y&2&&(He.$$scope={dirty:y,ctx:n}),Ka.$set(He);const ho={};y&2&&(ho.$$scope={dirty:y,ctx:n}),es.$set(ho);const Rt={};y&2&&(Rt.$$scope={dirty:y,ctx:n}),ts.$set(Rt);const Ie={};y&2&&(Ie.$$scope={dirty:y,ctx:n}),ns.$set(Ie);const fo={};y&2&&(fo.$$scope={dirty:y,ctx:n}),ss.$set(fo);const ad={};y&2&&(ad.$$scope={dirty:y,ctx:n}),rs.$set(ad);const Dt={};y&2&&(Dt.$$scope={dirty:y,ctx:n}),is.$set(Dt);const Ue={};y&2&&(Ue.$$scope={dirty:y,ctx:n}),cs.$set(Ue);const mo={};y&2&&(mo.$$scope={dirty:y,ctx:n}),ls.$set(mo)},i(n){Km||(m(g.$$.fragment,n),m(v.$$.fragment,n),m(Is.$$.fragment,n),m(Us.$$.fragment,n),m(Cs.$$.fragment,n),m(Js.$$.fragment,n),m(As.$$.fragment,n),m(_o.$$.fragment,n),m(Ns.$$.fragment,n),m(Es.$$.fragment,n),m(Rs.$$.fragment,n),m(bo.$$.fragment,n),m(Ds.$$.fragment,n),m(Gs.$$.fragment,n),m(Zs.$$.fragment,n),m(vo.$$.fragment,n),m(Ss.$$.fragment,n),m(xo.$$.fragment,n),m(Ls.$$.fragment,n),m(Bs.$$.fragment,n),m($o.$$.fragment,n),m(Vs.$$.fragment,n),m(zs.$$.fragment,n),m(Qs.$$.fragment,n),m(ko.$$.fragment,n),m(jo.$$.fragment,n),m(To.$$.fragment,n),m(Ks.$$.fragment,n),m(tr.$$.fragment,n),m(or.$$.fragment,n),m(ar.$$.fragment,n),m(qo.$$.fragment,n),m(Ho.$$.fragment,n),m(Io.$$.fragment,n),m(sr.$$.fragment,n),m(Uo.$$.fragment,n),m(Co.$$.fragment,n),m(Jo.$$.fragment,n),m(rr.$$.fragment,n),m(ir.$$.fragment,n),m(No.$$.fragment,n),m(Eo.$$.fragment,n),m(cr.$$.fragment,n),m(dr.$$.fragment,n),m(pr.$$.fragment,n),m(Do.$$.fragment,n),m(ur.$$.fragment,n),m(Go.$$.fragment,n),m(hr.$$.fragment,n),m(mr.$$.fragment,n),m(_r.$$.fragment,n),m(br.$$.fragment,n),m(yr.$$.fragment,n),m(vr.$$.fragment,n),m(xr.$$.fragment,n),m(wr.$$.fragment,n),m($r.$$.fragment,n),m(kr.$$.fragment,n),m(jr.$$.fragment,n),m(Lo.$$.fragment,n),m(Tr.$$.fragment,n),m(Bo.$$.fragment,n),m(Mr.$$.fragment,n),m(Vo.$$.fragment,n),m(qr.$$.fragment,n),m(Ir.$$.fragment,n),m(Yo.$$.fragment,n),m(Ur.$$.fragment,n),m(Xo.$$.fragment,n),m(Cr.$$.fragment,n),m(Po.$$.fragment,n),m(Jr.$$.fragment,n),m(zo.$$.fragment,n),m(Ar.$$.fragment,n),m(Nr.$$.fragment,n),m(Rr.$$.fragment,n),m(Dr.$$.fragment,n),m(Gr.$$.fragment,n),m(ea.$$.fragment,n),m(Zr.$$.fragment,n),m(Fr.$$.fragment,n),m(Sr.$$.fragment,n),m(oa.$$.fragment,n),m(Wr.$$.fragment,n),m(aa.$$.fragment,n),m(sa.$$.fragment,n),m(Lr.$$.fragment,n),m(ra.$$.fragment,n),m(Br.$$.fragment,n),m(Vr.$$.fragment,n),m(Yr.$$.fragment,n),m(Xr.$$.fragment,n),m(la.$$.fragment,n),m(Pr.$$.fragment,n),m(zr.$$.fragment,n),m(da.$$.fragment,n),m(Or.$$.fragment,n),m(ei.$$.fragment,n),m(pa.$$.fragment,n),m(ti.$$.fragment,n),m(ga.$$.fragment,n),m(ni.$$.fragment,n),m(ua.$$.fragment,n),m(oi.$$.fragment,n),m(si.$$.fragment,n),m(ha.$$.fragment,n),m(fa.$$.fragment,n),m(ri.$$.fragment,n),m(ci.$$.fragment,n),m(ma.$$.fragment,n),m(li.$$.fragment,n),m(di.$$.fragment,n),m(ba.$$.fragment,n),m(pi.$$.fragment,n),m(ya.$$.fragment,n),m(gi.$$.fragment,n),m(va.$$.fragment,n),m(ui.$$.fragment,n),m(hi.$$.fragment,n),m(fi.$$.fragment,n),m($a.$$.fragment,n),m(mi.$$.fragment,n),m(ka.$$.fragment,n),m(_i.$$.fragment,n),m(ja.$$.fragment,n),m(bi.$$.fragment,n),m(Ta.$$.fragment,n),m(yi.$$.fragment,n),m(vi.$$.fragment,n),m(xi.$$.fragment,n),m(qa.$$.fragment,n),m(wi.$$.fragment,n),m(Ha.$$.fragment,n),m(Ia.$$.fragment,n),m($i.$$.fragment,n),m(ki.$$.fragment,n),m(ji.$$.fragment,n),m(Ti.$$.fragment,n),m(Mi.$$.fragment,n),m(Na.$$.fragment,n),m(qi.$$.fragment,n),m(Ii.$$.fragment,n),m(Ci.$$.fragment,n),m(Ai.$$.fragment,n),m(Ni.$$.fragment,n),m(Ei.$$.fragment,n),m(Ri.$$.fragment,n),m(Di.$$.fragment,n),m(Ra.$$.fragment,n),m(Zi.$$.fragment,n),m(Da.$$.fragment,n),m(Wi.$$.fragment,n),m(Li.$$.fragment,n),m(Ga.$$.fragment,n),m(Vi.$$.fragment,n),m(Za.$$.fragment,n),m(Yi.$$.fragment,n),m(Pi.$$.fragment,n),m(Oi.$$.fragment,n),m(Ki.$$.fragment,n),m(ec.$$.fragment,n),m(tc.$$.fragment,n),m(nc.$$.fragment,n),m(Sa.$$.fragment,n),m(oc.$$.fragment,n),m(Wa.$$.fragment,n),m(ac.$$.fragment,n),m(La.$$.fragment,n),m(Ba.$$.fragment,n),m(sc.$$.fragment,n),m(Va.$$.fragment,n),m(Ya.$$.fragment,n),m(Xa.$$.fragment,n),m(rc.$$.fragment,n),m(ic.$$.fragment,n),m(lc.$$.fragment,n),m(dc.$$.fragment,n),m(gc.$$.fragment,n),m(Pa.$$.fragment,n),m(fc.$$.fragment,n),m(mc.$$.fragment,n),m(Oa.$$.fragment,n),m(_c.$$.fragment,n),m(Qa.$$.fragment,n),m(bc.$$.fragment,n),m(Ka.$$.fragment,n),m(yc.$$.fragment,n),m(vc.$$.fragment,n),m(xc.$$.fragment,n),m(es.$$.fragment,n),m(wc.$$.fragment,n),m(ts.$$.fragment,n),m(jc.$$.fragment,n),m(ns.$$.fragment,n),m(Hc.$$.fragment,n),m(Cc.$$.fragment,n),m(Jc.$$.fragment,n),m(Ac.$$.fragment,n),m(Nc.$$.fragment,n),m(Ec.$$.fragment,n),m(Rc.$$.fragment,n),m(Dc.$$.fragment,n),m(Gc.$$.fragment,n),m(Zc.$$.fragment,n),m(Sc.$$.fragment,n),m(Wc.$$.fragment,n),m(Lc.$$.fragment,n),m(Bc.$$.fragment,n),m(Vc.$$.fragment,n),m(Yc.$$.fragment,n),m(Xc.$$.fragment,n),m(Pc.$$.fragment,n),m(zc.$$.fragment,n),m(Qc.$$.fragment,n),m(Kc.$$.fragment,n),m(el.$$.fragment,n),m(ss.$$.fragment,n),m(tl.$$.fragment,n),m(nl.$$.fragment,n),m(al.$$.fragment,n),m(sl.$$.fragment,n),m(il.$$.fragment,n),m(cl.$$.fragment,n),m(ll.$$.fragment,n),m(dl.$$.fragment,n),m(rs.$$.fragment,n),m(pl.$$.fragment,n),m(gl.$$.fragment,n),m(ul.$$.fragment,n),m(hl.$$.fragment,n),m(fl.$$.fragment,n),m(ml.$$.fragment,n),m(bl.$$.fragment,n),m(yl.$$.fragment,n),m(vl.$$.fragment,n),m(xl.$$.fragment,n),m(wl.$$.fragment,n),m($l.$$.fragment,n),m(kl.$$.fragment,n),m(jl.$$.fragment,n),m(Tl.$$.fragment,n),m(Ml.$$.fragment,n),m(ql.$$.fragment,n),m(Il.$$.fragment,n),m(Ul.$$.fragment,n),m(is.$$.fragment,n),m(Cl.$$.fragment,n),m(Jl.$$.fragment,n),m(Al.$$.fragment,n),m(Nl.$$.fragment,n),m(El.$$.fragment,n),m(cs.$$.fragment,n),m(ls.$$.fragment,n),m(Rl.$$.fragment,n),m(Gl.$$.fragment,n),m(Zl.$$.fragment,n),m(Fl.$$.fragment,n),Km=!0)},o(n){_(g.$$.fragment,n),_(v.$$.fragment,n),_(Is.$$.fragment,n),_(Us.$$.fragment,n),_(Cs.$$.fragment,n),_(Js.$$.fragment,n),_(As.$$.fragment,n),_(_o.$$.fragment,n),_(Ns.$$.fragment,n),_(Es.$$.fragment,n),_(Rs.$$.fragment,n),_(bo.$$.fragment,n),_(Ds.$$.fragment,n),_(Gs.$$.fragment,n),_(Zs.$$.fragment,n),_(vo.$$.fragment,n),_(Ss.$$.fragment,n),_(xo.$$.fragment,n),_(Ls.$$.fragment,n),_(Bs.$$.fragment,n),_($o.$$.fragment,n),_(Vs.$$.fragment,n),_(zs.$$.fragment,n),_(Qs.$$.fragment,n),_(ko.$$.fragment,n),_(jo.$$.fragment,n),_(To.$$.fragment,n),_(Ks.$$.fragment,n),_(tr.$$.fragment,n),_(or.$$.fragment,n),_(ar.$$.fragment,n),_(qo.$$.fragment,n),_(Ho.$$.fragment,n),_(Io.$$.fragment,n),_(sr.$$.fragment,n),_(Uo.$$.fragment,n),_(Co.$$.fragment,n),_(Jo.$$.fragment,n),_(rr.$$.fragment,n),_(ir.$$.fragment,n),_(No.$$.fragment,n),_(Eo.$$.fragment,n),_(cr.$$.fragment,n),_(dr.$$.fragment,n),_(pr.$$.fragment,n),_(Do.$$.fragment,n),_(ur.$$.fragment,n),_(Go.$$.fragment,n),_(hr.$$.fragment,n),_(mr.$$.fragment,n),_(_r.$$.fragment,n),_(br.$$.fragment,n),_(yr.$$.fragment,n),_(vr.$$.fragment,n),_(xr.$$.fragment,n),_(wr.$$.fragment,n),_($r.$$.fragment,n),_(kr.$$.fragment,n),_(jr.$$.fragment,n),_(Lo.$$.fragment,n),_(Tr.$$.fragment,n),_(Bo.$$.fragment,n),_(Mr.$$.fragment,n),_(Vo.$$.fragment,n),_(qr.$$.fragment,n),_(Ir.$$.fragment,n),_(Yo.$$.fragment,n),_(Ur.$$.fragment,n),_(Xo.$$.fragment,n),_(Cr.$$.fragment,n),_(Po.$$.fragment,n),_(Jr.$$.fragment,n),_(zo.$$.fragment,n),_(Ar.$$.fragment,n),_(Nr.$$.fragment,n),_(Rr.$$.fragment,n),_(Dr.$$.fragment,n),_(Gr.$$.fragment,n),_(ea.$$.fragment,n),_(Zr.$$.fragment,n),_(Fr.$$.fragment,n),_(Sr.$$.fragment,n),_(oa.$$.fragment,n),_(Wr.$$.fragment,n),_(aa.$$.fragment,n),_(sa.$$.fragment,n),_(Lr.$$.fragment,n),_(ra.$$.fragment,n),_(Br.$$.fragment,n),_(Vr.$$.fragment,n),_(Yr.$$.fragment,n),_(Xr.$$.fragment,n),_(la.$$.fragment,n),_(Pr.$$.fragment,n),_(zr.$$.fragment,n),_(da.$$.fragment,n),_(Or.$$.fragment,n),_(ei.$$.fragment,n),_(pa.$$.fragment,n),_(ti.$$.fragment,n),_(ga.$$.fragment,n),_(ni.$$.fragment,n),_(ua.$$.fragment,n),_(oi.$$.fragment,n),_(si.$$.fragment,n),_(ha.$$.fragment,n),_(fa.$$.fragment,n),_(ri.$$.fragment,n),_(ci.$$.fragment,n),_(ma.$$.fragment,n),_(li.$$.fragment,n),_(di.$$.fragment,n),_(ba.$$.fragment,n),_(pi.$$.fragment,n),_(ya.$$.fragment,n),_(gi.$$.fragment,n),_(va.$$.fragment,n),_(ui.$$.fragment,n),_(hi.$$.fragment,n),_(fi.$$.fragment,n),_($a.$$.fragment,n),_(mi.$$.fragment,n),_(ka.$$.fragment,n),_(_i.$$.fragment,n),_(ja.$$.fragment,n),_(bi.$$.fragment,n),_(Ta.$$.fragment,n),_(yi.$$.fragment,n),_(vi.$$.fragment,n),_(xi.$$.fragment,n),_(qa.$$.fragment,n),_(wi.$$.fragment,n),_(Ha.$$.fragment,n),_(Ia.$$.fragment,n),_($i.$$.fragment,n),_(ki.$$.fragment,n),_(ji.$$.fragment,n),_(Ti.$$.fragment,n),_(Mi.$$.fragment,n),_(Na.$$.fragment,n),_(qi.$$.fragment,n),_(Ii.$$.fragment,n),_(Ci.$$.fragment,n),_(Ai.$$.fragment,n),_(Ni.$$.fragment,n),_(Ei.$$.fragment,n),_(Ri.$$.fragment,n),_(Di.$$.fragment,n),_(Ra.$$.fragment,n),_(Zi.$$.fragment,n),_(Da.$$.fragment,n),_(Wi.$$.fragment,n),_(Li.$$.fragment,n),_(Ga.$$.fragment,n),_(Vi.$$.fragment,n),_(Za.$$.fragment,n),_(Yi.$$.fragment,n),_(Pi.$$.fragment,n),_(Oi.$$.fragment,n),_(Ki.$$.fragment,n),_(ec.$$.fragment,n),_(tc.$$.fragment,n),_(nc.$$.fragment,n),_(Sa.$$.fragment,n),_(oc.$$.fragment,n),_(Wa.$$.fragment,n),_(ac.$$.fragment,n),_(La.$$.fragment,n),_(Ba.$$.fragment,n),_(sc.$$.fragment,n),_(Va.$$.fragment,n),_(Ya.$$.fragment,n),_(Xa.$$.fragment,n),_(rc.$$.fragment,n),_(ic.$$.fragment,n),_(lc.$$.fragment,n),_(dc.$$.fragment,n),_(gc.$$.fragment,n),_(Pa.$$.fragment,n),_(fc.$$.fragment,n),_(mc.$$.fragment,n),_(Oa.$$.fragment,n),_(_c.$$.fragment,n),_(Qa.$$.fragment,n),_(bc.$$.fragment,n),_(Ka.$$.fragment,n),_(yc.$$.fragment,n),_(vc.$$.fragment,n),_(xc.$$.fragment,n),_(es.$$.fragment,n),_(wc.$$.fragment,n),_(ts.$$.fragment,n),_(jc.$$.fragment,n),_(ns.$$.fragment,n),_(Hc.$$.fragment,n),_(Cc.$$.fragment,n),_(Jc.$$.fragment,n),_(Ac.$$.fragment,n),_(Nc.$$.fragment,n),_(Ec.$$.fragment,n),_(Rc.$$.fragment,n),_(Dc.$$.fragment,n),_(Gc.$$.fragment,n),_(Zc.$$.fragment,n),_(Sc.$$.fragment,n),_(Wc.$$.fragment,n),_(Lc.$$.fragment,n),_(Bc.$$.fragment,n),_(Vc.$$.fragment,n),_(Yc.$$.fragment,n),_(Xc.$$.fragment,n),_(Pc.$$.fragment,n),_(zc.$$.fragment,n),_(Qc.$$.fragment,n),_(Kc.$$.fragment,n),_(el.$$.fragment,n),_(ss.$$.fragment,n),_(tl.$$.fragment,n),_(nl.$$.fragment,n),_(al.$$.fragment,n),_(sl.$$.fragment,n),_(il.$$.fragment,n),_(cl.$$.fragment,n),_(ll.$$.fragment,n),_(dl.$$.fragment,n),_(rs.$$.fragment,n),_(pl.$$.fragment,n),_(gl.$$.fragment,n),_(ul.$$.fragment,n),_(hl.$$.fragment,n),_(fl.$$.fragment,n),_(ml.$$.fragment,n),_(bl.$$.fragment,n),_(yl.$$.fragment,n),_(vl.$$.fragment,n),_(xl.$$.fragment,n),_(wl.$$.fragment,n),_($l.$$.fragment,n),_(kl.$$.fragment,n),_(jl.$$.fragment,n),_(Tl.$$.fragment,n),_(Ml.$$.fragment,n),_(ql.$$.fragment,n),_(Il.$$.fragment,n),_(Ul.$$.fragment,n),_(is.$$.fragment,n),_(Cl.$$.fragment,n),_(Jl.$$.fragment,n),_(Al.$$.fragment,n),_(Nl.$$.fragment,n),_(El.$$.fragment,n),_(cs.$$.fragment,n),_(ls.$$.fragment,n),_(Rl.$$.fragment,n),_(Gl.$$.fragment,n),_(Zl.$$.fragment,n),_(Fl.$$.fragment,n),Km=!1},d(n){n&&(p($),p(l),p(c),p(t),p(Pf),p(Ms),p(zf),p(qs),p(Of),p(Hs),p(Qf),p(Kf),p(em),p(x),p(tm),p(nm),p(om),p(Gn),p(am),p(sm),p(ut),p(rm),p(im),p(ht),p(cm),p(lm),p(ft),p(dm),p(pm),p(Zn),p(gm),p(um),p(Fn),p(hm),p(fm),p(mt),p(mm),p(_m),p(Oc),p(bm),p(ym),p(K),p(vm),p(xm),p(_t),p(wm),p($m),p(bt),p(km),p(jm),p(Sn),p(Tm),p(Mm),p(ee),p(qm),p(Hm),p(te),p(Im),p(Um),p(ke),p(Cm),p(Jm),p(yt),p(Am),p(Nm),p(vt),p(Em),p(Rm),p(Wn),p(Dm),p(Gm),p(Ln),p(Zm),p(Fm),p(xt),p(Sm),p(Wm),p(Bn),p(Lm),p(Bm),p(Hl),p(Vm),p(je),p(Ym),p(Vn),p(Xm),p(ne),p(Pm),p(zm),p(R),p(Om),p(Qm),p(Xf)),p(s),b(g,n),b(v,n),b(Is,n),b(Us,n),b(Cs),b(Js),b(As),b(_o),b(Ns),b(Es),b(Rs),b(bo),b(Ds),b(Gs),b(Zs),b(vo),b(Ss),b(xo),b(Ls),b(Bs),b($o),b(Vs),b(zs),b(Qs),b(ko),b(jo),b(To),b(Ks),b(tr),b(or),b(ar),b(qo),b(Ho),b(Io),b(sr),b(Uo),b(Co),b(Jo),b(rr),b(ir),b(No),b(Eo),b(cr),b(dr),b(pr),b(Do),b(ur),b(Go),b(hr),b(mr),b(_r),b(br),b(yr),b(vr),b(xr),b(wr),b($r),b(kr),b(jr),b(Lo),b(Tr),b(Bo),b(Mr),b(Vo),b(qr),b(Ir),b(Yo),b(Ur),b(Xo),b(Cr),b(Po),b(Jr),b(zo),b(Ar),b(Nr),b(Rr),b(Dr),b(Gr),b(ea),b(Zr),b(Fr),b(Sr),b(oa),b(Wr),b(aa),b(sa),b(Lr),b(ra),b(Br),b(Vr),b(Yr),b(Xr),b(la),b(Pr),b(zr),b(da),b(Or),b(ei),b(pa),b(ti),b(ga),b(ni),b(ua),b(oi),b(si),b(ha),b(fa),b(ri),b(ci),b(ma),b(li),b(di),b(ba),b(pi),b(ya),b(gi),b(va),b(ui),b(hi),b(fi),b($a),b(mi),b(ka),b(_i),b(ja),b(bi),b(Ta),b(yi),b(vi),b(xi),b(qa),b(wi),b(Ha),b(Ia),b($i),b(ki),b(ji),b(Ti),b(Mi),b(Na),b(qi),b(Ii),b(Ci),b(Ai),b(Ni),b(Ei),b(Ri),b(Di),b(Ra),b(Zi),b(Da),b(Wi),b(Li),b(Ga),b(Vi),b(Za),b(Yi),b(Pi),b(Oi),b(Ki),b(ec),b(tc),b(nc),b(Sa),b(oc),b(Wa),b(ac),b(La),b(Ba),b(sc),b(Va),b(Ya),b(Xa),b(rc),b(ic),b(lc),b(dc),b(gc),b(Pa),b(fc),b(mc),b(Oa),b(_c),b(Qa),b(bc),b(Ka),b(yc),b(vc),b(xc),b(es),b(wc),b(ts),b(jc),b(ns),b(Hc),b(Cc),b(Jc),b(Ac,n),b(Nc,n),b(Ec),b(Rc,n),b(Dc),b(Gc,n),b(Zc),b(Sc,n),b(Wc),b(Lc,n),b(Bc),b(Vc,n),b(Yc),b(Xc,n),b(Pc),b(zc,n),b(Qc),b(Kc,n),b(el),b(ss),b(tl,n),b(nl),b(al,n),b(sl),b(il,n),b(cl),b(ll,n),b(dl),b(rs),b(pl,n),b(gl),b(ul,n),b(hl),b(fl,n),b(ml),b(bl,n),b(yl),b(vl,n),b(xl),b(wl,n),b($l),b(kl,n),b(jl),b(Tl,n),b(Ml),b(ql,n),b(Il),b(Ul),b(is),b(Cl),b(Jl),b(Al),b(Nl,n),b(El),b(cs),b(ls),b(Rl),b(Gl),b(Zl),b(Fl,n)}}}const B4='{"title":"HfApi Client","local":"hfapi-client","sections":[{"title":"HfApi","local":"huggingface_hub.HfApi","sections":[],"depth":2},{"title":"API Dataclasses","local":"api-dataclasses","sections":[{"title":"AccessRequest","local":"huggingface_hub.hf_api.AccessRequest","sections":[],"depth":3},{"title":"CommitInfo","local":"huggingface_hub.CommitInfo","sections":[],"depth":3},{"title":"DatasetInfo","local":"huggingface_hub.DatasetInfo","sections":[],"depth":3},{"title":"DryRunFileInfo","local":"huggingface_hub.DryRunFileInfo","sections":[],"depth":3},{"title":"GitRefInfo","local":"huggingface_hub.GitRefInfo","sections":[],"depth":3},{"title":"GitCommitInfo","local":"huggingface_hub.GitCommitInfo","sections":[],"depth":3},{"title":"GitRefs","local":"huggingface_hub.GitRefs","sections":[],"depth":3},{"title":"InferenceProviderMapping","local":"huggingface_hub.hf_api.InferenceProviderMapping","sections":[],"depth":3},{"title":"LFSFileInfo","local":"huggingface_hub.hf_api.LFSFileInfo","sections":[],"depth":3},{"title":"ModelInfo","local":"huggingface_hub.ModelInfo","sections":[],"depth":3},{"title":"RepoSibling","local":"huggingface_hub.hf_api.RepoSibling","sections":[],"depth":3},{"title":"RepoFile","local":"huggingface_hub.hf_api.RepoFile","sections":[],"depth":3},{"title":"RepoUrl","local":"huggingface_hub.RepoUrl","sections":[],"depth":3},{"title":"SafetensorsRepoMetadata","local":"huggingface_hub.utils.SafetensorsRepoMetadata","sections":[],"depth":3},{"title":"SafetensorsFileMetadata","local":"huggingface_hub.utils.SafetensorsFileMetadata","sections":[],"depth":3},{"title":"SpaceInfo","local":"huggingface_hub.SpaceInfo","sections":[],"depth":3},{"title":"TensorInfo","local":"huggingface_hub.utils.TensorInfo","sections":[],"depth":3},{"title":"User","local":"huggingface_hub.User","sections":[],"depth":3},{"title":"UserLikes","local":"huggingface_hub.UserLikes","sections":[],"depth":3},{"title":"WebhookInfo","local":"huggingface_hub.WebhookInfo","sections":[],"depth":3},{"title":"WebhookWatchedItem","local":"huggingface_hub.WebhookWatchedItem","sections":[],"depth":3}],"depth":2},{"title":"CommitOperation","local":"huggingface_hub.CommitOperationAdd","sections":[],"depth":2},{"title":"CommitScheduler","local":"huggingface_hub.CommitScheduler","sections":[],"depth":2}],"depth":1}';function V4(q){return vI(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class eU extends xI{constructor(s){super(),wI(this,s,V4,L4,yI,{})}}export{eU as component};
