import{s as q$,o as N$,n as I}from"../chunks/scheduler.6062bdaf.js";import{S as R$,i as E$,g as l,s as r,r as m,A as G$,h as c,f as p,c as i,j,u as f,x as d,k,y as o,a as $,v as _,d as b,t as v,w as y,m as F$,n as D$}from"../chunks/index.4bca734e.js";import{T as J}from"../chunks/Tip.b9ac1f03.js";import{D as C}from"../chunks/Docstring.ed07512f.js";import{C as U}from"../chunks/CodeBlock.fa01571c.js";import{E as H}from"../chunks/ExampleCodeBlock.823fb173.js";import{H as E}from"../chunks/Heading.723dceba.js";function Z$(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function S$(w){let n,g="Examples:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-kvfsh7"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function B$(w){let n,g="Raises the following errors:",s,a,h=`<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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-mk79ef"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function W$(w){let n,g="Examples:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-kvfsh7"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function L$(w){let n,g="Raises the following errors:",s,a,h=`<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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-mk79ef"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function V$(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function X$(w){let n,g=`The input list of <code>CommitOperation</code> will be mutated during the commit process. Do not reuse the same objects
for multiple commits.`;return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1i3qk8u"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function Y$(w){let n,g=`<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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_repo">create_repo()</a>.`;return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1rsxble"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function P$(w){let n,g="<code>create_commit</code> is limited to 25k LFS files and a 1GB payload for regular files.";return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-yun5lq"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function z$(w){let n,g="<code>create_commits_on_pr</code> is experimental.  Its API and behavior is subject to change in the future without prior notice.";return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1ryas9o"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function O$(w){let n,g=`<code>create_commits_on_pr</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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_repo">create_repo()</a>.`;return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1p1875o"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function Q$(w){let n,g="Example:",s,a,h;return a=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTJDJTIwcGxhbl9tdWx0aV9jb21taXRzJTBBYWRkaXRpb25fY29tbWl0cyUyQyUyMGRlbGV0aW9uX2NvbW1pdHMlMjAlM0QlMjBwbGFuX211bHRpX2NvbW1pdHMoJTBBJTIwJTIwJTIwJTIwb3BlcmF0aW9ucyUzRCU1QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMENvbW1pdE9wZXJhdGlvbkFkZCguLi4pJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwQ29tbWl0T3BlcmF0aW9uQWRkKC4uLiklMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBDb21taXRPcGVyYXRpb25EZWxldGUoLi4uKSUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMENvbW1pdE9wZXJhdGlvbkRlbGV0ZSguLi4pJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwQ29tbWl0T3BlcmF0aW9uQWRkKC4uLiklMkMlMEElMjAlMjAlMjAlMjAlNUQlMkMlMEEpJTBBSGZBcGkoKS5jcmVhdGVfY29tbWl0c19vbl9wciglMEElMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIybXktY29vbC1tb2RlbCUyMiUyQyUwQSUyMCUyMCUyMCUyMGFkZGl0aW9uX2NvbW1pdHMlM0RhZGRpdGlvbl9jb21taXRzJTJDJTBBJTIwJTIwJTIwJTIwZGVsZXRpb25fY29tbWl0cyUzRGRlbGV0aW9uX2NvbW1pdHMlMkMlMEElMjAlMjAlMjAlMjAoLi4uKSUwQSUyMCUyMCUyMCUyMHZlcmJvc2UlM0RUcnVlJTJDJTBBKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi, plan_multi_commits
<span class="hljs-meta">&gt;&gt;&gt; </span>addition_commits, deletion_commits = plan_multi_commits(
<span class="hljs-meta">... </span>    operations=[
<span class="hljs-meta">... </span>         CommitOperationAdd(...),
<span class="hljs-meta">... </span>         CommitOperationAdd(...),
<span class="hljs-meta">... </span>         CommitOperationDelete(...),
<span class="hljs-meta">... </span>         CommitOperationDelete(...),
<span class="hljs-meta">... </span>         CommitOperationAdd(...),
<span class="hljs-meta">... </span>    ],
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>HfApi().create_commits_on_pr(
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;my-cool-model&quot;</span>,
<span class="hljs-meta">... </span>    addition_commits=addition_commits,
<span class="hljs-meta">... </span>    deletion_commits=deletion_commits,
<span class="hljs-meta">... </span>    (...)
<span class="hljs-meta">... </span>    verbose=<span class="hljs-literal">True</span>,
<span class="hljs-meta">... </span>)`,wrap:!1}}),{c(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function K$(w){let n,g="Raises the following errors:",s,a,h=`<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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-mk79ef"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function e0(w){let n,g="Raises the following errors:",s,a,h=`<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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-mk79ef"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function t0(w){let n,g="Raises the following errors:",s,a,h=`<li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-l2ottg"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function n0(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function o0(w){let n,g="This is a non-revertible action. A deleted collection cannot be restored.";return{c(){n=l("p"),n.textContent=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1k7dttx"&&(n.textContent=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function a0(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function s0(w){let n,g="Raises the following errors:",s,a,h=`<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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li> <li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.EntryNotFoundError">EntryNotFoundError</a>
If the file to download cannot be found.</li>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-b08ybu"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function r0(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function i0(w){let n,g="Raises the following errors:",s,a,h=`<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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-mk79ef"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function l0(w){let n,g="Examples:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-kvfsh7"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function c0(w){let n,g;return n=new H({props:{anchor:"huggingface_hub.HfApi.file_exists.example",$$slots:{default:[l0]},$$scope:{ctx:w}}}),{c(){m(n.$$.fragment)},l(s){f(n.$$.fragment,s)},m(s,a){_(n,s,a),g=!0},p(s,a){const h={};a&2&&(h.$$scope={dirty:a,ctx:s}),n.$set(h)},i(s){g||(b(n.$$.fragment,s),g=!0)},o(s){v(n.$$.fragment,s),g=!1},d(s){y(n,s)}}}function p0(w){let n,g="Example:",s,a,h;return a=new U({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: {
    {<span class="hljs-string">&#x27;item_object_id&#x27;</span>: <span class="hljs-string">&#x27;6507f6d5423b46492ee1413e&#x27;</span>,
    <span class="hljs-string">&#x27;item_id&#x27;</span>: <span class="hljs-string">&#x27;TheBloke/TigerBot-70B-Chat-GPTQ&#x27;</span>,
    <span class="hljs-string">&#x27;author&#x27;</span>: <span class="hljs-string">&#x27;TheBloke&#x27;</span>,
    <span class="hljs-string">&#x27;item_type&#x27;</span>: <span class="hljs-string">&#x27;model&#x27;</span>,
    <span class="hljs-string">&#x27;lastModified&#x27;</span>: <span class="hljs-string">&#x27;2023-09-19T12:55:21.000Z&#x27;</span>,
    (...)
}}`,wrap:!1}}),{c(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function d0(w){let n,g="Raises the following errors:",s,a,h=`<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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-mk79ef"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function g0(w){let n,g="Collecting all discussions of a repo in a list:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1p6axsk"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function u0(w){let n,g="Iterating over discussions of a repo:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-121l6g4"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function h0(w){let n,g;return n=new U({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(){m(n.$$.fragment)},l(s){f(n.$$.fragment,s)},m(s,a){_(n,s,a),g=!0},p:I,i(s){g||(b(n.$$.fragment,s),g=!0)},o(s){v(n.$$.fragment,s),g=!1},d(s){y(n,s)}}}function m0(w){let n,g="Raises the following errors:",s,a,h=`<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> <li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li> <li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.EntryNotFoundError">EntryNotFoundError</a>
If the file to download cannot be found.</li> <li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.LocalEntryNotFoundError">LocalEntryNotFoundError</a>
If network is disabled or unavailable and file is not found in cache.</li>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-19nb50"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function f0(w){let n;return{c(){n=F$("Hidden comments' content cannot be retrieved anymore. Hiding a comment is irreversible.")},l(g){n=D$(g,"Hidden comments' content cannot be retrieved anymore. Hiding a comment is irreversible.")},m(g,s){$(g,n,s)},d(g){g&&p(n)}}}function _0(w){let n,g="Raises the following errors:",s,a,h=`<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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-mk79ef"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function b0(w){let n,g="Example:",s,a,h;return a=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpa2UlMkMlMjBsaXN0X2xpa2VkX3JlcG9zJTJDJTIwdW5saWtlJTBBbGlrZSglMjJncHQyJTIyKSUwQSUyMmdwdDIlMjIlMjBpbiUyMGxpc3RfbGlrZWRfcmVwb3MoKS5tb2RlbHMlMEF1bmxpa2UoJTIyZ3B0MiUyMiklMEElMjJncHQyJTIyJTIwaW4lMjBsaXN0X2xpa2VkX3JlcG9zKCkubW9kZWxz",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> like, list_liked_repos, unlike
<span class="hljs-meta">&gt;&gt;&gt; </span>like(<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">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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function v0(w){let n,g="Example usage with the <code>filter</code> argument:",s,a,h;return a=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQSUwQSUyMyUyMExpc3QlMjBhbGwlMjBkYXRhc2V0cyUwQWFwaS5saXN0X2RhdGFzZXRzKCklMEElMEElMjMlMjBHZXQlMjBhbGwlMjB2YWxpZCUyMHNlYXJjaCUyMGFyZ3VtZW50cyUwQWFyZ3MlMjAlM0QlMjBEYXRhc2V0U2VhcmNoQXJndW1lbnRzKCklMEElMEElMjMlMjBMaXN0JTIwb25seSUyMHRoZSUyMHRleHQlMjBjbGFzc2lmaWNhdGlvbiUyMGRhdGFzZXRzJTBBYXBpLmxpc3RfZGF0YXNldHMoZmlsdGVyJTNEJTIydGFza19jYXRlZ29yaWVzJTNBdGV4dC1jbGFzc2lmaWNhdGlvbiUyMiklMEElMjMlMjBVc2luZyUyMHRoZSUyMCU2MERhdGFzZXRGaWx0ZXIlNjAlMEFmaWx0JTIwJTNEJTIwRGF0YXNldEZpbHRlcih0YXNrX2NhdGVnb3JpZXMlM0QlMjJ0ZXh0LWNsYXNzaWZpY2F0aW9uJTIyKSUwQSUyMyUyMFdpdGglMjAlNjBEYXRhc2V0U2VhcmNoQXJndW1lbnRzJTYwJTBBZmlsdCUyMCUzRCUyMERhdGFzZXRGaWx0ZXIodGFzayUzRGFyZ3MudGFza19jYXRlZ29yaWVzLnRleHRfY2xhc3NpZmljYXRpb24pJTBBYXBpLmxpc3RfbW9kZWxzKGZpbHRlciUzRGZpbHQpJTBBJTBBJTIzJTIwTGlzdCUyMG9ubHklMjB0aGUlMjBkYXRhc2V0cyUyMGluJTIwcnVzc2lhbiUyMGZvciUyMGxhbmd1YWdlJTIwbW9kZWxpbmclMEFhcGkubGlzdF9kYXRhc2V0cyglMEElMjAlMjAlMjAlMjBmaWx0ZXIlM0QoJTIybGFuZ3VhZ2UlM0FydSUyMiUyQyUyMCUyMnRhc2tfaWRzJTNBbGFuZ3VhZ2UtbW9kZWxpbmclMjIpJTBBKSUwQSUyMyUyMFVzaW5nJTIwdGhlJTIwJTYwRGF0YXNldEZpbHRlciU2MCUwQWZpbHQlMjAlM0QlMjBEYXRhc2V0RmlsdGVyKGxhbmd1YWdlJTNEJTIycnUlMjIlMkMlMjB0YXNrX2lkcyUzRCUyMmxhbmd1YWdlLW1vZGVsaW5nJTIyKSUwQSUyMyUyMFdpdGglMjAlNjBEYXRhc2V0U2VhcmNoQXJndW1lbnRzJTYwJTBBZmlsdCUyMCUzRCUyMERhdGFzZXRGaWx0ZXIoJTBBJTIwJTIwJTIwJTIwbGFuZ3VhZ2UlM0RhcmdzLmxhbmd1YWdlLnJ1JTJDJTBBJTIwJTIwJTIwJTIwdGFza19pZHMlM0RhcmdzLnRhc2tfaWRzLmxhbmd1YWdlX21vZGVsaW5nJTJDJTBBKSUwQWFwaS5saXN0X2RhdGFzZXRzKGZpbHRlciUzRGZpbHQp",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><span class="hljs-comment"># List all datasets</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_datasets()

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Get all valid search arguments</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>args = DatasetSearchArguments()

<span class="hljs-meta">&gt;&gt;&gt; </span><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-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using the \`DatasetFilter\`</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>filt = DatasetFilter(task_categories=<span class="hljs-string">&quot;text-classification&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># With \`DatasetSearchArguments\`</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>filt = DatasetFilter(task=args.task_categories.text_classification)
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_models(<span class="hljs-built_in">filter</span>=filt)

<span class="hljs-meta">&gt;&gt;&gt; </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-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using the \`DatasetFilter\`</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>filt = DatasetFilter(language=<span class="hljs-string">&quot;ru&quot;</span>, task_ids=<span class="hljs-string">&quot;language-modeling&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># With \`DatasetSearchArguments\`</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>filt = DatasetFilter(
<span class="hljs-meta">... </span>    language=args.language.ru,
<span class="hljs-meta">... </span>    task_ids=args.task_ids.language_modeling,
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_datasets(<span class="hljs-built_in">filter</span>=filt)`,wrap:!1}}),{c(){n=l("p"),n.innerHTML=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1lrmw6w"&&(n.innerHTML=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function y0(w){let n,g="Example usage with the <code>search</code> argument:",s,a,h;return a=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQSUwQSUyMyUyMExpc3QlMjBhbGwlMjBkYXRhc2V0cyUyMHdpdGglMjAlMjJ0ZXh0JTIyJTIwaW4lMjB0aGVpciUyMG5hbWUlMEFhcGkubGlzdF9kYXRhc2V0cyhzZWFyY2glM0QlMjJ0ZXh0JTIyKSUwQSUwQSUyMyUyMExpc3QlMjBhbGwlMjBkYXRhc2V0cyUyMHdpdGglMjAlMjJ0ZXh0JTIyJTIwaW4lMjB0aGVpciUyMG5hbWUlMjBtYWRlJTIwYnklMjBnb29nbGUlMEFhcGkubGlzdF9kYXRhc2V0cyhzZWFyY2glM0QlMjJ0ZXh0JTIyJTJDJTIwYXV0aG9yJTNEJTIyZ29vZ2xlJTIyKQ==",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><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-meta">&gt;&gt;&gt; </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(){n=l("p"),n.innerHTML=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1oyacuq"&&(n.innerHTML=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function $0(w){let n,g;return n=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpc3RfZmlsZXNfaW5mbyUwQWZpbGVzX2luZm8lMjAlM0QlMjBsaXN0X2ZpbGVzX2luZm8oJTIybHlzYW5kcmUlMkZhcnhpdi1ubHAlMjIlMkMlMjAlNUIlMjJSRUFETUUubWQlMjIlMkMlMjAlMjJjb25maWcuanNvbiUyMiU1RCklMEFmaWxlc19pbmZvJTBBbGlzdChmaWxlc19pbmZvKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_files_info
<span class="hljs-meta">&gt;&gt;&gt; </span>files_info = list_files_info(<span class="hljs-string">&quot;lysandre/arxiv-nlp&quot;</span>, [<span class="hljs-string">&quot;README.md&quot;</span>, <span class="hljs-string">&quot;config.json&quot;</span>])
<span class="hljs-meta">&gt;&gt;&gt; </span>files_info
&lt;generator <span class="hljs-built_in">object</span> HfApi.list_files_info at <span class="hljs-number">0x7f93b848e730</span>&gt;
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">list</span>(files_info)
[
    RepoFile: {<span class="hljs-string">&quot;blob_id&quot;</span>: <span class="hljs-string">&quot;43bd404b159de6fba7c2f4d3264347668d43af25&quot;</span>, <span class="hljs-string">&quot;lfs&quot;</span>: <span class="hljs-literal">None</span>, <span class="hljs-string">&quot;rfilename&quot;</span>: <span class="hljs-string">&quot;README.md&quot;</span>, <span class="hljs-string">&quot;size&quot;</span>: <span class="hljs-number">391</span>},
    RepoFile: {<span class="hljs-string">&quot;blob_id&quot;</span>: <span class="hljs-string">&quot;2f9618c3a19b9a61add74f70bfb121335aeef666&quot;</span>, <span class="hljs-string">&quot;lfs&quot;</span>: <span class="hljs-literal">None</span>, <span class="hljs-string">&quot;rfilename&quot;</span>: <span class="hljs-string">&quot;config.json&quot;</span>, <span class="hljs-string">&quot;size&quot;</span>: <span class="hljs-number">554</span>},
]`,wrap:!1}}),{c(){m(n.$$.fragment)},l(s){f(n.$$.fragment,s)},m(s,a){_(n,s,a),g=!0},p:I,i(s){g||(b(n.$$.fragment,s),g=!0)},o(s){v(n.$$.fragment,s),g=!1},d(s){y(n,s)}}}function x0(w){let n,g;return n=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpc3RfZmlsZXNfaW5mbyUwQWZpbGVzX2luZm8lMjAlM0QlMjBsaXN0X2ZpbGVzX2luZm8oJTIycHJvbXB0aGVybyUyRm9wZW5qb3VybmV5LXY0JTIyJTJDJTIwZXhwYW5kJTNEVHJ1ZSklMEFsaXN0KGZpbGVzX2luZm8p",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_files_info
<span class="hljs-meta">&gt;&gt;&gt; </span>files_info = list_files_info(<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>(files_info)
[
    RepoFile: {
    {<span class="hljs-string">&#x27;blob_id&#x27;</span>: <span class="hljs-string">&#x27;815004af1a321eaed1d93f850b2e94b0c0678e42&#x27;</span>,
    <span class="hljs-string">&#x27;lastCommit&#x27;</span>: {<span class="hljs-string">&#x27;date&#x27;</span>: <span class="hljs-string">&#x27;2023-03-21T09:05:27.000Z&#x27;</span>,
                    <span class="hljs-string">&#x27;id&#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;lfs&#x27;</span>: <span class="hljs-literal">None</span>,
    <span class="hljs-string">&#x27;rfilename&#x27;</span>: <span class="hljs-string">&#x27;model_index.json&#x27;</span>,
    <span class="hljs-string">&#x27;security&#x27;</span>: {<span class="hljs-string">&#x27;avScan&#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;blobId&#x27;</span>: <span class="hljs-string">&#x27;815004af1a321eaed1d93f850b2e94b0c0678e42&#x27;</span>,
                    <span class="hljs-string">&#x27;name&#x27;</span>: <span class="hljs-string">&#x27;model_index.json&#x27;</span>,
                    <span class="hljs-string">&#x27;pickleImportScan&#x27;</span>: <span class="hljs-literal">None</span>,
                    <span class="hljs-string">&#x27;repositoryId&#x27;</span>: <span class="hljs-string">&#x27;models/prompthero/openjourney-v4&#x27;</span>,
                    <span class="hljs-string">&#x27;safe&#x27;</span>: <span class="hljs-literal">True</span>},
    <span class="hljs-string">&#x27;size&#x27;</span>: <span class="hljs-number">584</span>}
    },
    RepoFile: {
    {<span class="hljs-string">&#x27;blob_id&#x27;</span>: <span class="hljs-string">&#x27;d2343d78b33ac03dade1d525538b02b130d0a3a0&#x27;</span>,
    <span class="hljs-string">&#x27;lastCommit&#x27;</span>: {<span class="hljs-string">&#x27;date&#x27;</span>: <span class="hljs-string">&#x27;2023-03-21T09:05:27.000Z&#x27;</span>,
                    <span class="hljs-string">&#x27;id&#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;lfs&#x27;</span>: {<span class="hljs-string">&#x27;pointer_size&#x27;</span>: <span class="hljs-number">134</span>,
            <span class="hljs-string">&#x27;sha256&#x27;</span>: <span class="hljs-string">&#x27;dcf4507d99b88db73f3916e2a20169fe74ada6b5582e9af56cfa80f5f3141765&#x27;</span>,
            <span class="hljs-string">&#x27;size&#x27;</span>: <span class="hljs-number">334711857</span>},
    <span class="hljs-string">&#x27;rfilename&#x27;</span>: <span class="hljs-string">&#x27;vae/diffusion_pytorch_model.bin&#x27;</span>,
    <span class="hljs-string">&#x27;security&#x27;</span>: {<span class="hljs-string">&#x27;avScan&#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;blobId&#x27;</span>: <span class="hljs-string">&#x27;d2343d78b33ac03dade1d525538b02b130d0a3a0&#x27;</span>,
                    <span class="hljs-string">&#x27;name&#x27;</span>: <span class="hljs-string">&#x27;vae/diffusion_pytorch_model.bin&#x27;</span>,
                    <span class="hljs-string">&#x27;pickleImportScan&#x27;</span>: {<span class="hljs-string">&#x27;highestSafetyLevel&#x27;</span>: <span class="hljs-string">&#x27;innocuous&#x27;</span>,
                                        <span class="hljs-string">&#x27;imports&#x27;</span>: [{<span class="hljs-string">&#x27;module&#x27;</span>: <span class="hljs-string">&#x27;torch._utils&#x27;</span>,
                                                    <span class="hljs-string">&#x27;name&#x27;</span>: <span class="hljs-string">&#x27;_rebuild_tensor_v2&#x27;</span>,
                                                    <span class="hljs-string">&#x27;safety&#x27;</span>: <span class="hljs-string">&#x27;innocuous&#x27;</span>},
                                                    {<span class="hljs-string">&#x27;module&#x27;</span>: <span class="hljs-string">&#x27;collections&#x27;</span>, <span class="hljs-string">&#x27;name&#x27;</span>: <span class="hljs-string">&#x27;OrderedDict&#x27;</span>, <span class="hljs-string">&#x27;safety&#x27;</span>: <span class="hljs-string">&#x27;innocuous&#x27;</span>},
                                                    {<span class="hljs-string">&#x27;module&#x27;</span>: <span class="hljs-string">&#x27;torch&#x27;</span>, <span class="hljs-string">&#x27;name&#x27;</span>: <span class="hljs-string">&#x27;FloatStorage&#x27;</span>, <span class="hljs-string">&#x27;safety&#x27;</span>: <span class="hljs-string">&#x27;innocuous&#x27;</span>}]},
                    <span class="hljs-string">&#x27;repositoryId&#x27;</span>: <span class="hljs-string">&#x27;models/prompthero/openjourney-v4&#x27;</span>,
                    <span class="hljs-string">&#x27;safe&#x27;</span>: <span class="hljs-literal">True</span>},
    <span class="hljs-string">&#x27;size&#x27;</span>: <span class="hljs-number">334711857</span>}
    },
    (...)
]`,wrap:!1}}),{c(){m(n.$$.fragment)},l(s){f(n.$$.fragment,s)},m(s,a){_(n,s,a),g=!0},p:I,i(s){g||(b(n.$$.fragment,s),g=!0)},o(s){v(n.$$.fragment,s),g=!1},d(s){y(n,s)}}}function w0(w){let n,g;return n=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpc3RfZmlsZXNfaW5mbyUwQSU1QmluZm8ucmZpbGVuYW1lJTIwZm9yJTIwaW5mbyUyMGluJTIwbGlzdF9maWxlc19pbmZvKCUyMnN0YWJpbGl0eWFpJTJGc3RhYmxlLWRpZmZ1c2lvbi0yJTIyJTJDJTIwJTIydmFlJTIyKSUyMGlmJTIwaW5mby5sZnMlMjBpcyUyMG5vdCUyME5vbmUlNUQ=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_files_info
<span class="hljs-meta">&gt;&gt;&gt; </span>[info.rfilename <span class="hljs-keyword">for</span> info <span class="hljs-keyword">in</span> list_files_info(<span class="hljs-string">&quot;stabilityai/stable-diffusion-2&quot;</span>, <span class="hljs-string">&quot;vae&quot;</span>) <span class="hljs-keyword">if</span> info.lfs <span class="hljs-keyword">is</span> <span class="hljs-keyword">not</span> <span class="hljs-literal">None</span>]
[<span class="hljs-string">&#x27;vae/diffusion_pytorch_model.bin&#x27;</span>, <span class="hljs-string">&#x27;vae/diffusion_pytorch_model.safetensors&#x27;</span>]`,wrap:!1}}),{c(){m(n.$$.fragment)},l(s){f(n.$$.fragment,s)},m(s,a){_(n,s,a),g=!0},p:I,i(s){g||(b(n.$$.fragment,s),g=!0)},o(s){v(n.$$.fragment,s),g=!1},d(s){y(n,s)}}}function M0(w){let n,g;return n=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpc3RfZmlsZXNfaW5mbyUwQSU1QmluZm8ucmZpbGVuYW1lJTIwZm9yJTIwaW5mbyUyMGluJTIwbGlzdF9maWxlc19pbmZvKCUyMmdsdWUlMjIlMkMlMjByZXBvX3R5cGUlM0QlMjJkYXRhc2V0JTIyKSU1RA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_files_info
<span class="hljs-meta">&gt;&gt;&gt; </span>[info.rfilename <span class="hljs-keyword">for</span> info <span class="hljs-keyword">in</span> list_files_info(<span class="hljs-string">&quot;glue&quot;</span>, repo_type=<span class="hljs-string">&quot;dataset&quot;</span>)]
[<span class="hljs-string">&#x27;.gitattributes&#x27;</span>, <span class="hljs-string">&#x27;README.md&#x27;</span>, <span class="hljs-string">&#x27;dataset_infos.json&#x27;</span>, <span class="hljs-string">&#x27;glue.py&#x27;</span>]`,wrap:!1}}),{c(){m(n.$$.fragment)},l(s){f(n.$$.fragment,s)},m(s,a){_(n,s,a),g=!0},p:I,i(s){g||(b(n.$$.fragment,s),g=!0)},o(s){v(n.$$.fragment,s),g=!1},d(s){y(n,s)}}}function T0(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function j0(w){let n,g="Example usage with the <code>filter</code> argument:",s,a,h;return a=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQSUwQSUyMyUyMExpc3QlMjBhbGwlMjBtb2RlbHMlMEFhcGkubGlzdF9tb2RlbHMoKSUwQSUwQSUyMyUyMEdldCUyMGFsbCUyMHZhbGlkJTIwc2VhcmNoJTIwYXJndW1lbnRzJTBBYXJncyUyMCUzRCUyME1vZGVsU2VhcmNoQXJndW1lbnRzKCklMEElMEElMjMlMjBMaXN0JTIwb25seSUyMHRoZSUyMHRleHQlMjBjbGFzc2lmaWNhdGlvbiUyMG1vZGVscyUwQWFwaS5saXN0X21vZGVscyhmaWx0ZXIlM0QlMjJ0ZXh0LWNsYXNzaWZpY2F0aW9uJTIyKSUwQSUyMyUyMFVzaW5nJTIwdGhlJTIwJTYwTW9kZWxGaWx0ZXIlNjAlMEFmaWx0JTIwJTNEJTIwTW9kZWxGaWx0ZXIodGFzayUzRCUyMnRleHQtY2xhc3NpZmljYXRpb24lMjIpJTBBJTIzJTIwV2l0aCUyMCU2ME1vZGVsU2VhcmNoQXJndW1lbnRzJTYwJTBBZmlsdCUyMCUzRCUyME1vZGVsRmlsdGVyKHRhc2slM0RhcmdzLnBpcGVsaW5lX3RhZ3MuVGV4dENsYXNzaWZpY2F0aW9uKSUwQWFwaS5saXN0X21vZGVscyhmaWx0ZXIlM0RmaWx0KSUwQSUwQSUyMyUyMFVzaW5nJTIwJTYwTW9kZWxGaWx0ZXIlNjAlMjBhbmQlMjAlNjBNb2RlbFNlYXJjaEFyZ3VtZW50cyU2MCUyMHRvJTIwZmluZCUyMHRleHQlMjBjbGFzc2lmaWNhdGlvbiUyMGluJTIwYm90aCUyMFB5VG9yY2glMjBhbmQlMjBUZW5zb3JGbG93JTBBZmlsdCUyMCUzRCUyME1vZGVsRmlsdGVyKCUwQSUyMCUyMCUyMCUyMHRhc2slM0RhcmdzLnBpcGVsaW5lX3RhZ3MuVGV4dENsYXNzaWZpY2F0aW9uJTJDJTBBJTIwJTIwJTIwJTIwbGlicmFyeSUzRCU1QmFyZ3MubGlicmFyeS5QeVRvcmNoJTJDJTIwYXJncy5saWJyYXJ5LlRlbnNvckZsb3clNUQlMkMlMEEpJTBBYXBpLmxpc3RfbW9kZWxzKGZpbHRlciUzRGZpbHQpJTBBJTBBJTIzJTIwTGlzdCUyMG9ubHklMjBtb2RlbHMlMjBmcm9tJTIwdGhlJTIwQWxsZW5OTFAlMjBsaWJyYXJ5JTBBYXBpLmxpc3RfbW9kZWxzKGZpbHRlciUzRCUyMmFsbGVubmxwJTIyKSUwQSUyMyUyMFVzaW5nJTIwJTYwTW9kZWxGaWx0ZXIlNjAlMjBhbmQlMjAlNjBNb2RlbFNlYXJjaEFyZ3VtZW50cyU2MCUwQWZpbHQlMjAlM0QlMjBNb2RlbEZpbHRlcihsaWJyYXJ5JTNEYXJncy5saWJyYXJ5LmFsbGVubmxwKQ==",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><span class="hljs-comment"># List all models</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_models()

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Get all valid search arguments</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>args = ModelSearchArguments()

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># List only the 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-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using the \`ModelFilter\`</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>filt = ModelFilter(task=<span class="hljs-string">&quot;text-classification&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># With \`ModelSearchArguments\`</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>filt = ModelFilter(task=args.pipeline_tags.TextClassification)
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_models(<span class="hljs-built_in">filter</span>=filt)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using \`ModelFilter\` and \`ModelSearchArguments\` to find text classification in both PyTorch and TensorFlow</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>filt = ModelFilter(
<span class="hljs-meta">... </span>    task=args.pipeline_tags.TextClassification,
<span class="hljs-meta">... </span>    library=[args.library.PyTorch, args.library.TensorFlow],
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>api.list_models(<span class="hljs-built_in">filter</span>=filt)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># List only models from the AllenNLP 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;allennlp&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using \`ModelFilter\` and \`ModelSearchArguments\`</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>filt = ModelFilter(library=args.library.allennlp)`,wrap:!1}}),{c(){n=l("p"),n.innerHTML=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1lrmw6w"&&(n.innerHTML=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function k0(w){let n,g="Example usage with the <code>search</code> argument:",s,a,h;return a=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQSUwQSUyMyUyMExpc3QlMjBhbGwlMjBtb2RlbHMlMjB3aXRoJTIwJTIyYmVydCUyMiUyMGluJTIwdGhlaXIlMjBuYW1lJTBBYXBpLmxpc3RfbW9kZWxzKHNlYXJjaCUzRCUyMmJlcnQlMjIpJTBBJTBBJTIzJTIwTGlzdCUyMGFsbCUyMG1vZGVscyUyMHdpdGglMjAlMjJiZXJ0JTIyJTIwaW4lMjB0aGVpciUyMG5hbWUlMjBtYWRlJTIwYnklMjBnb29nbGUlMEFhcGkubGlzdF9tb2RlbHMoc2VhcmNoJTNEJTIyYmVydCUyMiUyQyUyMGF1dGhvciUzRCUyMmdvb2dsZSUyMik=",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><span class="hljs-comment"># List all 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-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># List all models with &quot;bert&quot; in their name made 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(){n=l("p"),n.innerHTML=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1oyacuq"&&(n.innerHTML=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function C0(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function I0(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function J0(w){let n,g="Raises the following errors:",s,a,h=`<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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-mk79ef"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function U0(w){let n,g="Raises the following errors:",s,a,h=`<li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-l2ottg"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function H0(w){let n,g="Raises the following errors:",s,a,h=`<li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-ac2eye"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function A0(w){let n,g=`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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">create_commit()</a> directly instead.`;return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-pm108b"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function q0(w){let n,g=`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/v0.18.0.rc0/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>.`;return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-jd5mj2"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function N0(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function R0(w){let n,g="Examples:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-kvfsh7"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function E0(w){let n,g="Raises the following errors:",s,a,h=`<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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-mk79ef"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function G0(w){let n,g="Examples:",s,a,h;return a=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHJlcG9fZXhpc3RzJTBBcmVwb19leGlzdHMoJTIyaHVnZ2luZ2ZhY2UlMkZ0cmFuc2Zvcm1lcnMlMjIpJTBBcmVwb19leGlzdHMoJTIyaHVnZ2luZ2ZhY2UlMkZub3QtYS1yZXBvJTIyKQ==",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;huggingface/transformers&quot;</span>)
<span class="hljs-literal">True</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>repo_exists(<span class="hljs-string">&quot;huggingface/not-a-repo&quot;</span>)
<span class="hljs-literal">False</span>`,wrap:!1}}),{c(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-kvfsh7"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function F0(w){let n,g;return n=new H({props:{anchor:"huggingface_hub.HfApi.repo_exists.example",$$slots:{default:[G0]},$$scope:{ctx:w}}}),{c(){m(n.$$.fragment)},l(s){f(n.$$.fragment,s)},m(s,a){_(n,s,a),g=!0},p(s,a){const h={};a&2&&(h.$$scope={dirty:a,ctx:s}),n.$set(h)},i(s){g||(b(n.$$.fragment,s),g=!0)},o(s){v(n.$$.fragment,s),g=!1},d(s){y(n,s)}}}function D0(w){let n,g="Raises the following errors:",s,a,h=`<li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-l2ottg"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function Z0(w){let n,g='It is also possible to request hardware directly when creating the Space repo! See <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_repo">create_repo()</a> for details.';return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1jszegc"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function S0(w){let n,g=`It is not possible to decrease persistent storage after its granted. To do so, you must delete it
via <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.delete_space_storage">delete_space_storage()</a>.`;return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-122hwb9"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function B0(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function W0(w){let n,g='It is also possible to set a custom sleep time when requesting hardware with <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.request_space_hardware">request_space_hardware()</a>.';return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-17cy1of"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function L0(w){let n,g="Raises the following errors:",s,a,h=`<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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-1sqbgr0"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function V0(w){let n,g="Raises the following errors:",s,a,h=`<li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-l2ottg"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function X0(w){let n,g="Once squashed, the commit history cannot be retrieved. This is a non-revertible operation.";return{c(){n=l("p"),n.textContent=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-16nd2e3"&&(n.textContent=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function Y0(w){let n,g=`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.`;return{c(){n=l("p"),n.textContent=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-qbmppr"&&(n.textContent=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function P0(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function z0(w){let n,g="Example:",s,a,h;return a=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGxpa2UlMkMlMjBsaXN0X2xpa2VkX3JlcG9zJTJDJTIwdW5saWtlJTBBbGlrZSglMjJncHQyJTIyKSUwQSUyMmdwdDIlMjIlMjBpbiUyMGxpc3RfbGlrZWRfcmVwb3MoKS5tb2RlbHMlMEF1bmxpa2UoJTIyZ3B0MiUyMiklMEElMjJncHQyJTIyJTIwaW4lMjBsaXN0X2xpa2VkX3JlcG9zKCkubW9kZWxz",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> like, list_liked_repos, unlike
<span class="hljs-meta">&gt;&gt;&gt; </span>like(<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">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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function O0(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function Q0(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function K0(w){let n,g="Raises the following errors:",s,a,h=`<li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-ac2eye"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function ex(w){let n,g="Raises the following errors:",s,a,h=`<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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError">RevisionNotFoundError</a>
If the revision to download from cannot be found.</li>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-ezf4md"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function tx(w){let n,g=`<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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_repo">create_repo()</a>.`;return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1xxd2wu"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function nx(w){let n,g="Example:",s,a,h;return a=new U({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-string">&quot;https://huggingface.co/datasets/username/my-dataset/blob/main/remote/file/path.h5&quot;</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-string">&quot;https://huggingface.co/username/my-model/blob/main/remote/file/path.h5&quot;</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>)
<span class="hljs-string">&quot;https://huggingface.co/username/my-model/blob/refs%2Fpr%2F1/remote/file/path.h5&quot;</span>`,wrap:!1}}),{c(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function ox(w){let n,g="Raises the following errors:",s,a,h=`<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>`;return{c(){n=l("p"),n.textContent=g,s=r(),a=l("ul"),a.innerHTML=h},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-182te9i"&&(n.textContent=g),s=i(e),a=c(e,"UL",{"data-svelte-h":!0}),d(a)!=="svelte-1l6tbi1"&&(a.innerHTML=h)},m(e,x){$(e,n,x),$(e,s,x),$(e,a,x)},p:I,d(e){e&&(p(n),p(s),p(a))}}}function ax(w){let n,g=`<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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_repo">create_repo()</a>.`;return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-8h7uwu"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function sx(w){let n,g="<code>multi_commits</code> is experimental. Its API and behavior is subject to change in the future without prior notice.";return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1x7nnyi"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function rx(w){let n,g="Example:",s,a,h;return a=new U({props:{code:"dXBsb2FkX2ZvbGRlciglMEElMjAlMjAlMjAlMjBmb2xkZXJfcGF0aCUzRCUyMmxvY2FsJTJGY2hlY2twb2ludHMlMjIlMkMlMEElMjAlMjAlMjAlMjBwYXRoX2luX3JlcG8lM0QlMjJyZW1vdGUlMkZleHBlcmltZW50JTJGY2hlY2twb2ludHMlMjIlMkMlMEElMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIydXNlcm5hbWUlMkZteS1kYXRhc2V0JTIyJTJDJTBBJTIwJTIwJTIwJTIwcmVwb190eXBlJTNEJTIyZGF0YXNldHMlMjIlMkMlMEElMjAlMjAlMjAlMjB0b2tlbiUzRCUyMm15X3Rva2VuJTIyJTJDJTBBJTIwJTIwJTIwJTIwaWdub3JlX3BhdHRlcm5zJTNEJTIyKiolMkZsb2dzJTJGKi50eHQlMjIlMkMlMEEpJTBBJTBBdXBsb2FkX2ZvbGRlciglMEElMjAlMjAlMjAlMjBmb2xkZXJfcGF0aCUzRCUyMmxvY2FsJTJGY2hlY2twb2ludHMlMjIlMkMlMEElMjAlMjAlMjAlMjBwYXRoX2luX3JlcG8lM0QlMjJyZW1vdGUlMkZleHBlcmltZW50JTJGY2hlY2twb2ludHMlMjIlMkMlMEElMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIydXNlcm5hbWUlMkZteS1kYXRhc2V0JTIyJTJDJTBBJTIwJTIwJTIwJTIwcmVwb190eXBlJTNEJTIyZGF0YXNldHMlMjIlMkMlMEElMjAlMjAlMjAlMjB0b2tlbiUzRCUyMm15X3Rva2VuJTIyJTJDJTBBJTIwJTIwJTIwJTIwZGVsZXRlX3BhdHRlcm5zJTNEJTIyKiolMkZsb2dzJTJGKi50eHQlMjIlMkMlMEEpJTBBJTBBdXBsb2FkX2ZvbGRlciglMEElMjAlMjAlMjAlMjBmb2xkZXJfcGF0aCUzRCUyMmxvY2FsJTJGY2hlY2twb2ludHMlMjIlMkMlMEElMjAlMjAlMjAlMjBwYXRoX2luX3JlcG8lM0QlMjJyZW1vdGUlMkZleHBlcmltZW50JTJGY2hlY2twb2ludHMlMjIlMkMlMEElMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIydXNlcm5hbWUlMkZteS1kYXRhc2V0JTIyJTJDJTBBJTIwJTIwJTIwJTIwcmVwb190eXBlJTNEJTIyZGF0YXNldHMlMjIlMkMlMEElMjAlMjAlMjAlMjB0b2tlbiUzRCUyMm15X3Rva2VuJTIyJTJDJTBBJTIwJTIwJTIwJTIwY3JlYXRlX3ByJTNEVHJ1ZSUyQyUwQSklMEE=",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"># &quot;https://huggingface.co/datasets/username/my-dataset/tree/main/remote/experiment/checkpoints&quot;</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-string">&quot;https://huggingface.co/datasets/username/my-dataset/tree/main/remote/experiment/checkpoints&quot;</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>)
<span class="hljs-string">&quot;https://huggingface.co/datasets/username/my-dataset/tree/refs%2Fpr%2F1/remote/experiment/checkpoints&quot;</span>
`,wrap:!1}}),{c(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function ix(w){let n,g="<code>plan_multi_commits</code> is experimental. Its API and behavior is subject to change in the future without prior notice.";return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-ptumhw"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function lx(w){let n,g="Example:",s,a,h;return a=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTJDJTIwcGxhbl9tdWx0aV9jb21taXRzJTBBYWRkaXRpb25fY29tbWl0cyUyQyUyMGRlbGV0aW9uX2NvbW1pdHMlMjAlM0QlMjBwbGFuX211bHRpX2NvbW1pdHMoJTBBJTIwJTIwJTIwJTIwb3BlcmF0aW9ucyUzRCU1QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMENvbW1pdE9wZXJhdGlvbkFkZCguLi4pJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwQ29tbWl0T3BlcmF0aW9uQWRkKC4uLiklMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBDb21taXRPcGVyYXRpb25EZWxldGUoLi4uKSUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMENvbW1pdE9wZXJhdGlvbkRlbGV0ZSguLi4pJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwQ29tbWl0T3BlcmF0aW9uQWRkKC4uLiklMkMlMEElMjAlMjAlMjAlMjAlNUQlMkMlMEEpJTBBSGZBcGkoKS5jcmVhdGVfY29tbWl0c19vbl9wciglMEElMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIybXktY29vbC1tb2RlbCUyMiUyQyUwQSUyMCUyMCUyMCUyMGFkZGl0aW9uX2NvbW1pdHMlM0RhZGRpdGlvbl9jb21taXRzJTJDJTBBJTIwJTIwJTIwJTIwZGVsZXRpb25fY29tbWl0cyUzRGRlbGV0aW9uX2NvbW1pdHMlMkMlMEElMjAlMjAlMjAlMjAoLi4uKSUwQSUyMCUyMCUyMCUyMHZlcmJvc2UlM0RUcnVlJTJDJTBBKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> HfApi, plan_multi_commits
<span class="hljs-meta">&gt;&gt;&gt; </span>addition_commits, deletion_commits = plan_multi_commits(
<span class="hljs-meta">... </span>    operations=[
<span class="hljs-meta">... </span>         CommitOperationAdd(...),
<span class="hljs-meta">... </span>         CommitOperationAdd(...),
<span class="hljs-meta">... </span>         CommitOperationDelete(...),
<span class="hljs-meta">... </span>         CommitOperationDelete(...),
<span class="hljs-meta">... </span>         CommitOperationAdd(...),
<span class="hljs-meta">... </span>    ],
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>HfApi().create_commits_on_pr(
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;my-cool-model&quot;</span>,
<span class="hljs-meta">... </span>    addition_commits=addition_commits,
<span class="hljs-meta">... </span>    deletion_commits=deletion_commits,
<span class="hljs-meta">... </span>    (...)
<span class="hljs-meta">... </span>    verbose=<span class="hljs-literal">True</span>,
<span class="hljs-meta">... </span>)`,wrap:!1}}),{c(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function cx(w){let n,g=`The initial order of the operations is not guaranteed! All deletions will be performed before additions. If you are
not updating multiple times the same file, you are fine.`;return{c(){n=l("p"),n.textContent=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-sg17jf"&&(n.textContent=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function px(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function dx(w){let n,g="Example:",s,a,h;return a=new U({props:{code:"b3BlcmF0aW9uJTIwJTNEJTIwQ29tbWl0T3BlcmF0aW9uQWRkKCUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMHBhdGhfaW5fcmVwbyUzRCUyMnJlbW90ZSUyRmRpciUyRndlaWdodHMuaDUlMjIlMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjBwYXRoX29yX2ZpbGVvYmolM0QlMjIuJTJGbG9jYWwlMkZ3ZWlnaHRzLmg1JTIyJTJDJTBBKSUwQSUwQXdpdGglMjBvcGVyYXRpb24uYXNfZmlsZSgpJTIwYXMlMjBmaWxlJTNBJTBBJTIwJTIwJTIwJTIwY29udGVudCUyMCUzRCUyMGZpbGUucmVhZCgpJTBBJTBBd2l0aCUyMG9wZXJhdGlvbi5hc19maWxlKHdpdGhfdHFkbSUzRFRydWUpJTIwYXMlMjBmaWxlJTNBJTBBJTIwJTIwJTIwJTIwd2hpbGUlMjBUcnVlJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwZGF0YSUyMCUzRCUyMGZpbGUucmVhZCgxMDI0KSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGlmJTIwbm90JTIwZGF0YSUzQSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGJyZWFrJTBBJTBBd2l0aCUyMG9wZXJhdGlvbi5hc19maWxlKHdpdGhfdHFkbSUzRFRydWUpJTIwYXMlMjBmaWxlJTNBJTBBJTIwJTIwJTIwJTIwcmVxdWVzdHMucHV0KC4uLiUyQyUyMGRhdGElM0RmaWxlKQ==",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>    requests.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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function gx(w){let n,g="Example:",s,a,h;return a=new U({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(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function ux(w){let n,g=`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.`;return{c(){n=l("p"),n.textContent=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-1oh5a50"&&(n.textContent=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function hx(w){let n,g="Examples:",s,a,h;return a=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMERhdGFzZXRGaWx0ZXIlMEElMEElMjMlMjBVc2luZyUyMGF1dGhvciUwQW5ld19maWx0ZXIlMjAlM0QlMjBEYXRhc2V0RmlsdGVyKGF1dGhvciUzRCUyMmZhY2Vib29rJTIyKSUwQSUwQSUyMyUyMFVzaW5nJTIwYmVuY2htYXJrJTBBbmV3X2ZpbHRlciUyMCUzRCUyMERhdGFzZXRGaWx0ZXIoYmVuY2htYXJrJTNEJTIycmFmdCUyMiklMEElMEElMjMlMjBVc2luZyUyMGRhdGFzZXRfbmFtZSUwQW5ld19maWx0ZXIlMjAlM0QlMjBEYXRhc2V0RmlsdGVyKGRhdGFzZXRfbmFtZSUzRCUyMndpa2luZXVyYWwlMjIpJTBBJTBBJTIzJTIwVXNpbmclMjBsYW5ndWFnZV9jcmVhdG9yJTBBbmV3X2ZpbHRlciUyMCUzRCUyMERhdGFzZXRGaWx0ZXIobGFuZ3VhZ2VfY3JlYXRvciUzRCUyMmNyb3dkc291cmNlZCUyMiklMEElMEElMjMlMjBVc2luZyUyMGxhbmd1YWdlJTBBbmV3X2ZpbHRlciUyMCUzRCUyMERhdGFzZXRGaWx0ZXIobGFuZ3VhZ2UlM0QlMjJlbiUyMiklMEElMEElMjMlMjBVc2luZyUyMG11bHRpbGluZ3VhbGl0eSUwQW5ld19maWx0ZXIlMjAlM0QlMjBEYXRhc2V0RmlsdGVyKG11bHRpbGluZ3VhbGl0eSUzRCUyMm11bHRpbGluZ3VhbCUyMiklMEElMEElMjMlMjBVc2luZyUyMHNpemVfY2F0ZWdvcmllcyUwQW5ld19maWx0ZXIlMjAlM0QlMjBEYXRhc2V0RmlsdGVyKHNpemVfY2F0ZWdvcmllcyUzRCUyMjEwMEslM0NuJTNDMU0lMjIpJTBBJTBBJTIzJTIwVXNpbmclMjB0YXNrX2NhdGVnb3JpZXMlMEFuZXdfZmlsdGVyJTIwJTNEJTIwRGF0YXNldEZpbHRlcih0YXNrX2NhdGVnb3JpZXMlM0QlMjJhdWRpb19jbGFzc2lmaWNhdGlvbiUyMiklMEElMEElMjMlMjBVc2luZyUyMHRhc2tfaWRzJTBBbmV3X2ZpbHRlciUyMCUzRCUyMERhdGFzZXRGaWx0ZXIodGFza19pZHMlM0QlMjJwYXJhcGhyYXNlJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> DatasetFilter

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using author</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = DatasetFilter(author=<span class="hljs-string">&quot;facebook&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using benchmark</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = DatasetFilter(benchmark=<span class="hljs-string">&quot;raft&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using dataset_name</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = DatasetFilter(dataset_name=<span class="hljs-string">&quot;wikineural&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using language_creator</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = DatasetFilter(language_creator=<span class="hljs-string">&quot;crowdsourced&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using language</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = DatasetFilter(language=<span class="hljs-string">&quot;en&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using multilinguality</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = DatasetFilter(multilinguality=<span class="hljs-string">&quot;multilingual&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using size_categories</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = DatasetFilter(size_categories=<span class="hljs-string">&quot;100K&lt;n&lt;1M&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using task_categories</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = DatasetFilter(task_categories=<span class="hljs-string">&quot;audio_classification&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Using task_ids</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = DatasetFilter(task_ids=<span class="hljs-string">&quot;paraphrase&quot;</span>)`,wrap:!1}}),{c(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-kvfsh7"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function mx(w){let n,g;return n=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyME1vZGVsRmlsdGVyJTBBJTBBJTIzJTIwRm9yJTIwdGhlJTIwYXV0aG9yX29yX29yZ2FuaXphdGlvbiUwQW5ld19maWx0ZXIlMjAlM0QlMjBNb2RlbEZpbHRlcihhdXRob3Jfb3Jfb3JnYW5pemF0aW9uJTNEJTIyZmFjZWJvb2slMjIpJTBBJTBBJTIzJTIwRm9yJTIwdGhlJTIwbGlicmFyeSUwQW5ld19maWx0ZXIlMjAlM0QlMjBNb2RlbEZpbHRlcihsaWJyYXJ5JTNEJTIycHl0b3JjaCUyMiklMEElMEElMjMlMjBGb3IlMjB0aGUlMjBsYW5ndWFnZSUwQW5ld19maWx0ZXIlMjAlM0QlMjBNb2RlbEZpbHRlcihsYW5ndWFnZSUzRCUyMmZyZW5jaCUyMiklMEElMEElMjMlMjBGb3IlMjB0aGUlMjBtb2RlbF9uYW1lJTBBbmV3X2ZpbHRlciUyMCUzRCUyME1vZGVsRmlsdGVyKG1vZGVsX25hbWUlM0QlMjJiZXJ0JTIyKSUwQSUwQSUyMyUyMEZvciUyMHRoZSUyMHRhc2slMEFuZXdfZmlsdGVyJTIwJTNEJTIwTW9kZWxGaWx0ZXIodGFzayUzRCUyMnRleHQtY2xhc3NpZmljYXRpb24lMjIpJTBBJTBBJTIzJTIwUmV0cmlldmluZyUyMHRhZ3MlMjB1c2luZyUyMHRoZSUyMCU2MEhmQXBpLmdldF9tb2RlbF90YWdzJTYwJTIwbWV0aG9kJTBBZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEhmQXBpJTBBJTBBYXBpJTIwJTNEJTIwSGZBcGkoKSUwQSUwQWFwaS5nZXRfbW9kZWxfdGFncygpJTBBJTBBYXBpLmdldF9kYXRhc2V0X3RhZ3MoKSUwQW5ld19maWx0ZXIlMjAlM0QlMjBNb2RlbEZpbHRlcih0YWdzJTNEJTIyYmVuY2htYXJrJTNBcmFmdCUyMiklMEElMEElMjMlMjBSZWxhdGVkJTIwdG8lMjB0aGUlMjBkYXRhc2V0JTBBbmV3X2ZpbHRlciUyMCUzRCUyME1vZGVsRmlsdGVyKHRyYWluZWRfZGF0YXNldCUzRCUyMmNvbW1vbl92b2ljZSUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> ModelFilter

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># For the author_or_organization</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = ModelFilter(author_or_organization=<span class="hljs-string">&quot;facebook&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># For the library</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = ModelFilter(library=<span class="hljs-string">&quot;pytorch&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># For the language</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = ModelFilter(language=<span class="hljs-string">&quot;french&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># For the model_name</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = ModelFilter(model_name=<span class="hljs-string">&quot;bert&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># For the task</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = ModelFilter(task=<span class="hljs-string">&quot;text-classification&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Retrieving tags using the \`HfApi.get_model_tags\` method</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-comment"># To list model tags</span>

<span class="hljs-meta">&gt;&gt;&gt; </span>api.get_model_tags()
<span class="hljs-comment"># To list dataset tags</span>

<span class="hljs-meta">&gt;&gt;&gt; </span>api.get_dataset_tags()
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = ModelFilter(tags=<span class="hljs-string">&quot;benchmark:raft&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Related to the dataset</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>new_filter = ModelFilter(trained_dataset=<span class="hljs-string">&quot;common_voice&quot;</span>)`,wrap:!1}}),{c(){m(n.$$.fragment)},l(s){f(n.$$.fragment,s)},m(s,a){_(n,s,a),g=!0},p:I,i(s){g||(b(n.$$.fragment,s),g=!0)},o(s){v(n.$$.fragment,s),g=!1},d(s){y(n,s)}}}function fx(w){let n,g="Example:",s,a,h;return a=new U({props:{code:"YXJncyUyMCUzRCUyMERhdGFzZXRTZWFyY2hBcmd1bWVudHMoKSUwQSUwQWFyZ3MuYXV0aG9yLmh1Z2dpbmdmYWNlJTBBJTBBYXJncy5sYW5ndWFnZS5lbg==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>args = DatasetSearchArguments()

<span class="hljs-meta">&gt;&gt;&gt; </span>args.author.huggingface
<span class="hljs-string">&#x27;huggingface&#x27;</span>

<span class="hljs-meta">&gt;&gt;&gt; </span>args.language.en
<span class="hljs-string">&#x27;language:en&#x27;</span>`,wrap:!1}}),{c(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function _x(w){let n,g=`<code>DatasetSearchArguments</code> is a legacy class meant for exploratory purposes only. Its
initialization requires listing all datasets on the Hub which makes it increasingly
slower as the number of repos on the Hub increases.`;return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-3k2os7"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function bx(w){let n,g="Example:",s,a,h;return a=new U({props:{code:"YXJncyUyMCUzRCUyME1vZGVsU2VhcmNoQXJndW1lbnRzKCklMEElMEFhcmdzLmF1dGhvci5odWdnaW5nZmFjZSUwQSUwQWFyZ3MubGFuZ3VhZ2UuZW4=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>args = ModelSearchArguments()

<span class="hljs-meta">&gt;&gt;&gt; </span>args.author.huggingface
<span class="hljs-string">&#x27;huggingface&#x27;</span>

<span class="hljs-meta">&gt;&gt;&gt; </span>args.language.en
<span class="hljs-string">&#x27;en&#x27;</span>`,wrap:!1}}),{c(){n=l("p"),n.textContent=g,s=r(),m(a.$$.fragment)},l(e){n=c(e,"P",{"data-svelte-h":!0}),d(n)!=="svelte-11lpom8"&&(n.textContent=g),s=i(e),f(a.$$.fragment,e)},m(e,x){$(e,n,x),$(e,s,x),_(a,e,x),h=!0},p:I,i(e){h||(b(a.$$.fragment,e),h=!0)},o(e){v(a.$$.fragment,e),h=!1},d(e){e&&(p(n),p(s)),y(a,e)}}}function vx(w){let n,g=`<code>ModelSearchArguments</code> is a legacy class meant for exploratory purposes only. Its
initialization requires listing all models on the Hub which makes it increasingly
slower as the number of repos on the Hub increases.`;return{c(){n=l("p"),n.innerHTML=g},l(s){n=c(s,"P",{"data-svelte-h":!0}),d(n)!=="svelte-17oxild"&&(n.innerHTML=g)},m(s,a){$(s,n,a)},p:I,d(s){s&&p(n)}}}function yx(w){let n,g,s,a,h,e,x,lb="Below is the documentation for the <code>HfApi</code> class, which serves as a Python wrapper for the Hugging Face Hub’s API.",Fp,xa,cb="All methods from the <code>HfApi</code> are also accessible from the package’s root directly. Both approaches are detailed below.",Dp,wa,pb=`Using the root method is more straightforward but the <a href="/docs/huggingface_hub/v0.18.0.rc0/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
than <code>huggingface-cli login</code> or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#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.`,Zp,Ma,Sp,Ta,Bp,M,ja,Fd,$e,ka,Dd,gi,db="Add an item to a collection on the Hub.",Zd,ui,gb='Returns: <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/collections#huggingface_hub.Collection">Collection</a>',Sd,xn,Bd,bt,Ca,Wd,hi,ub="Adds or updates a secret in a Space.",Ld,mi,hb=`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>.`,Vd,vt,Ia,Xd,fi,mb="Adds or updates a variable in a Space.",Yd,_i,fb=`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>`,Pd,xe,Ja,zd,bi,_b="Closes or re-opens a Discussion or Pull Request.",Od,wn,Qd,Mn,Kd,we,Ua,eg,vi,bb="Creates a new comment on the given Discussion.",tg,Tn,ng,jn,og,kn,Ha,ag,yi,vb=`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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.list_repo_refs">list_repo_refs()</a> or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.list_repo_commits">list_repo_commits()</a>.`,sg,Me,Aa,rg,$i,yb="Create a new Collection on the Hub.",ig,xi,$b='Returns: <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/collections#huggingface_hub.Collection">Collection</a>',lg,Cn,cg,oe,qa,pg,wi,xb="Creates a commit in the given repo, deleting & uploading files as needed.",dg,In,gg,Jn,ug,Un,hg,B,Na,mg,Mi,wb="Push changes to the Hub in multiple commits.",fg,Ti,Mb=`Commits are pushed to a draft PR branch. If the upload fails or gets interrupted, it can be resumed. Progress
is tracked in the PR description. At the end of the process, the PR is set as open and the title is updated to
match the initial commit message. If <code>merge_pr=True</code> is passed, the PR is merged automatically.`,_g,ji,Tb=`All deletion commits are pushed first, followed by the addition commits. The order of the commits is not
guaranteed as we might implement parallel commits in the future. Be sure that your are not updating several
times the same file.`,bg,Hn,vg,An,yg,qn,$g,X,Ra,xg,ki,jb="Creates a Discussion or Pull Request.",wg,Ci,kb="Pull Requests created programmatically will be in <code>&quot;draft&quot;</code> status.",Mg,Ii,Cb='Creating a Pull Request with changes can also be done at once with <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">HfApi.create_commit()</a>.',Tg,Ji,Ib='Returns: <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/community#huggingface_hub.DiscussionWithDetails">DiscussionWithDetails</a>',jg,Nn,kg,Y,Ea,Cg,Ui,Jb="Creates a Pull Request . Pull Requests created programmatically will be in <code>&quot;draft&quot;</code> status.",Ig,Hi,Ub='Creating a Pull Request with changes can also be done at once with <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">HfApi.create_commit()</a>;',Jg,Ai,Hb='This is a wrapper around <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_discussion">HfApi.create_discussion()</a>.',Ug,qi,Ab='Returns: <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/community#huggingface_hub.DiscussionWithDetails">DiscussionWithDetails</a>',Hg,Rn,Ag,En,Ga,qg,Ni,qb="Create an empty repo on the HuggingFace Hub.",Ng,Gn,Fa,Rg,Ri,Nb="Tag a given commit of a repo on the Hub.",Eg,Te,Da,Gg,Ei,Rb="Get info on one specific dataset on huggingface.co.",Fg,Gi,Eb="Dataset can be private if you pass an acceptable token.",Dg,Fn,Zg,Dn,Za,Sg,Fi,Gb="Delete a branch from a repo on the Hub.",Bg,je,Sa,Wg,Di,Fb="Delete a collection on the Hub.",Lg,Zn,Vg,Sn,Xg,yt,Ba,Yg,Zi,Db="Delete an item from a collection.",Pg,Bn,zg,$t,Wa,Og,Si,Zb="Deletes a file in the given repo.",Qg,Wn,Kg,xt,La,eu,Bi,Sb="Deletes a folder in the given repo.",tu,Wi,Bb='Simple wrapper around <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">create_commit()</a> method.',nu,Ln,Va,ou,Li,Wb="Delete a repo from the HuggingFace Hub. CAUTION: this is irreversible.",au,wt,Xa,su,Vi,Lb="Deletes a secret from a Space.",ru,Xi,Vb=`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>.`,iu,Vn,Ya,lu,Yi,Xb="Delete persistent storage for a Space.",cu,Mt,Pa,pu,Pi,Yb="Deletes a variable from a Space.",du,zi,Pb=`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>`,gu,Xn,za,uu,Oi,zb="Delete a tag from a repo on the Hub.",hu,ke,Oa,mu,Qi,Ob="Duplicate a Space.",fu,Ki,Qb=`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.`,_u,Yn,bu,Tt,Qa,vu,el,Kb="Edits a comment on a Discussion / Pull Request.",yu,Pn,$u,jt,Ka,xu,tl,ev="Checks if a file exists in a repository on the Hugging Face Hub.",wu,zn,Mu,Ce,es,Tu,nl,tv="Gets information about a Collection on the Hub.",ju,ol,nv='Returns: <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/collections#huggingface_hub.Collection">Collection</a>',ku,On,Cu,Qn,ts,Iu,al,ov="List all valid dataset tags as a nested namespace object.",Ju,Ie,ns,Uu,sl,av="Fetches a Discussion’s / Pull Request ‘s details from the Hub.",Hu,rl,sv='Returns: <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/community#huggingface_hub.DiscussionWithDetails">DiscussionWithDetails</a>',Au,Kn,qu,eo,os,Nu,il,rv=`Returns the repository name for a given model ID and optional
organization.`,Ru,to,as,Eu,ll,iv="List all valid model tags as a nested namespace object",Gu,ae,ss,Fu,cl,lv="Fetches Discussions and Pull Requests for the given repo.",Du,pl,cv="Example:",Zu,no,Su,oo,Bu,ao,rs,Wu,dl,pv="Gets runtime information about a Space.",Lu,kt,is,Vu,gl,dv="Gets all variables from a Space.",Xu,ul,gv=`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>`,Yu,Ct,ls,Pu,hl,uv="Check if a given <code>token</code> is valid and return its permissions.",zu,ml,hv='For more details about tokens, please refer to <a href="https://huggingface.co/docs/hub/security-tokens#what-are-user-access-tokens" rel="nofollow">https://huggingface.co/docs/hub/security-tokens#what-are-user-access-tokens</a>.',Ou,F,cs,Qu,fl,mv="Download a given file if it’s not already present in the local cache.",Ku,_l,fv="The new cache file layout looks like this:",eh,bl,_v=`<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>`,th,vl,bv=`If <code>local_dir</code> is provided, the file structure from the repo will be replicated in this location. You can configure
how you want to move those files:`,nh,yl,vv=`<li>If <code>local_dir_use_symlinks=&quot;auto&quot;</code> (default), files are downloaded and stored in the cache directory as blob
files. Small files (&lt;5MB) are duplicated in <code>local_dir</code> while a symlink is created for bigger files. The goal
is to be able to manually edit and save small files without corrupting the cache while saving disk space for
binary files. The 5MB threshold can be configured with the <code>HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD</code>
environment variable.</li> <li>If <code>local_dir_use_symlinks=True</code>, files are downloaded, stored in the cache directory and symlinked in <code>local_dir</code>.
This is optimal in term of disk usage but files must not be manually edited.</li> <li>If <code>local_dir_use_symlinks=False</code> and the blob files exist in the cache directory, they are duplicated in the
local dir. This means disk usage is not optimized.</li> <li>Finally, if <code>local_dir_use_symlinks=False</code> and the blob files do not exist in the cache directory, then the
files are downloaded and directly placed under <code>local_dir</code>. This means if you need to download them again later,
they will be re-downloaded entirely.</li>`,oh,so,ah,ro,sh,Je,ps,rh,$l,yv="Hides a comment on a Discussion / Pull Request.",ih,io,lh,lo,ch,Ue,ds,ph,xl,$v="Like a given repo on the Hub (e.g. set as favorite).",dh,wl,xv='See also <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.unlike">unlike()</a> and <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.list_liked_repos">list_liked_repos()</a>.',gh,co,uh,He,gs,hh,Ml,wv="List datasets hosted on the Huggingface Hub, given some filters.",mh,po,fh,go,_h,A,us,bh,Tl,Mv="List files on a repo and get information about them.",vh,jl,Tv="Takes as input a list of paths. Those paths can be either files or folders. Two server endpoints are called:",yh,kl,jv=`<li>POST “/paths-info” to get information about the provided paths. Called once.</li> <li>GET  “/tree?recursive=True” to paginate over the input folders. Called only if a folder path is provided as
input. Will be called multiple times to follow pagination.
If no path is provided as input, step 1. is ignored and all files from the repo are listed.</li>`,$h,Cl,kv="Examples:",xh,Il,Cv="Get information about files on a repo.",wh,uo,Mh,Jl,Iv="Get even more information about files on a repo (last commit and security scan results)",Th,ho,jh,Ul,Jv="List LFS files from the “vae/” folder in “stabilityai/stable-diffusion-2” repository.",kh,mo,Ch,Hl,Uv="List all files on a repo.",Ih,fo,Jh,se,hs,Uh,Al,Hv="List all public repos liked by a user on huggingface.co.",Hh,ql,Av=`This list is public so token is optional. If <code>user</code> is not passed, it defaults to
the logged in user.`,Ah,Nl,qv='See also <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.like">like()</a> and <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.unlike">unlike()</a>.',qh,_o,Nh,bo,ms,Rh,Rl,Nv="Get the public list of all the metrics on huggingface.co",Eh,Ae,fs,Gh,El,Rv="List models hosted on the Huggingface Hub, given some filters.",Fh,vo,Dh,yo,Zh,qe,_s,Sh,Gl,Ev="Get the list of commits of a given revision for a repo on the Hub.",Bh,Fl,Gv="Commits are sorted by date (last commit first).",Wh,$o,Lh,xo,bs,Vh,Dl,Fv="Get the list of files in a given repo.",Xh,It,vs,Yh,Zl,Dv="List all users who liked a given repo on the hugging Face Hub.",Ph,Sl,Zv='See also <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.like">like()</a> and <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.list_liked_repos">list_liked_repos()</a>.',zh,Jt,ys,Oh,Bl,Sv="Get the list of refs of a given repo (both tags and branches).",Qh,wo,Kh,Mo,$s,em,Wl,Bv="List spaces hosted on the Huggingface Hub, given some filters.",tm,Ut,xs,nm,Ll,Wv="Merges a Pull Request.",om,To,am,Ne,ws,sm,Vl,Lv="Get info on one specific model on huggingface.co",rm,Xl,Vv="Model can be private if you pass an acceptable token or are logged in.",im,jo,lm,Re,Ms,cm,Yl,Xv="Moving a repository from namespace1/repo_name1 to namespace2/repo_name2",pm,Pl,Yv=`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>.`,dm,ko,gm,Ee,Ts,um,zl,Pv="Pause your Space.",hm,Ol,zv=`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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.restart_space">restart_space()</a> and go to your Space settings page.`,mm,Ql,Ov='For more details, please visit <a href="https://huggingface.co/docs/hub/spaces-gpus#pause" rel="nofollow">the docs</a>.',fm,P,js,_m,Kl,Qv="Pre-upload LFS files to S3 in preparation on a future commit.",bm,ec,Kv=`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.`,vm,Co,ym,Io,$m,Jo,xm,Ge,ks,wm,tc,ey="Renames a Discussion.",Mm,Uo,Tm,Ho,jm,Ht,Cs,km,nc,ty="Checks if a repository exists on the Hugging Face Hub.",Cm,Ao,Im,At,Is,Jm,oc,ny="Get the info object for a given repo of a given type.",Um,qo,Hm,qt,Js,Am,ac,oy="Request new hardware for a Space.",qm,No,Nm,Nt,Us,Rm,sc,ay="Request persistent storage for a Space.",Em,Ro,Gm,Fe,Hs,Fm,rc,sy="Restart your Space.",Dm,ic,ry=`This is the only way to programmatically restart a Space if you’ve put it on Pause (see <a href="/docs/huggingface_hub/v0.18.0.rc0/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.`,Zm,lc,iy='For more details, please visit <a href="https://huggingface.co/docs/hub/spaces-gpus#pause" rel="nofollow">the docs</a>.',Sm,re,As,Bm,cc,ly="Run a method in the background and return a Future instance.",Wm,pc,cy=`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>.`,Lm,dc,py=`Note: Most-used methods like <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.upload_file">upload_file()</a>, <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.upload_folder">upload_folder()</a> and <a href="/docs/huggingface_hub/v0.18.0.rc0/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.`,Vm,Eo,Xm,De,qs,Ym,gc,dy="Set a custom sleep time for a Space running on upgraded hardware..",Pm,uc,gy=`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>.`,zm,Go,Om,W,Ns,Qm,hc,uy="Download repo files.",Km,mc,hy=`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>.`,ef,fc,my=`If <code>local_dir</code> is provided, the file structure from the repo will be replicated in this location. You can configure
how you want to move those files:`,tf,_c,fy=`<li>If <code>local_dir_use_symlinks=&quot;auto&quot;</code> (default), files are downloaded and stored in the cache directory as blob
files. Small files (&lt;5MB) are duplicated in <code>local_dir</code> while a symlink is created for bigger files. The goal
is to be able to manually edit and save small files without corrupting the cache while saving disk space for
binary files. The 5MB threshold can be configured with the <code>HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD</code>
environment variable.</li> <li>If <code>local_dir_use_symlinks=True</code>, files are downloaded, stored in the cache directory and symlinked in <code>local_dir</code>.
This is optimal in term of disk usage but files must not be manually edited.</li> <li>If <code>local_dir_use_symlinks=False</code> and the blob files exist in the cache directory, they are duplicated in the
local dir. This means disk usage is not optimized.</li> <li>Finally, if <code>local_dir_use_symlinks=False</code> and the blob files do not exist in the cache directory, then the
files are downloaded and directly placed under <code>local_dir</code>. This means if you need to download them again later,
they will be re-downloaded entirely.</li>`,nf,bc,_y=`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.`,of,Fo,af,Ze,Rs,sf,vc,by="Get info on one specific Space on huggingface.co.",rf,yc,vy="Space can be private if you pass an acceptable token.",lf,Do,cf,z,Es,pf,$c,yy="Squash commit history on a branch for a repo on the Hub.",df,xc,$y=`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.`,gf,Zo,uf,So,hf,Bo,mf,Se,Gs,ff,wc,xy="Unlike a given repo on the Hub (e.g. remove from favorite list).",_f,Mc,wy='See also <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.like">like()</a> and <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.list_liked_repos">list_liked_repos()</a>.',bf,Wo,vf,Rt,Fs,yf,Tc,My="Update an item in a collection.",$f,Lo,xf,ie,Ds,wf,jc,Ty="Update metadata of a collection on the Hub.",Mf,kc,jy="All arguments are optional. Only provided metadata will be updated.",Tf,Cc,ky='Returns: <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/collections#huggingface_hub.Collection">Collection</a>',jf,Vo,kf,Et,Zs,Cf,Ic,Cy="Update the visibility setting of a repository.",If,Xo,Jf,le,Ss,Uf,Jc,Iy=`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.`,Hf,Yo,Af,Po,qf,zo,Nf,N,Bs,Rf,Uc,Jy=`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.`,Ef,Hc,Uy=`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.`,Gf,Ac,Hy=`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.`,Ff,qc,Ay=`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.`,Df,Nc,qy=`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.`,Zf,Rc,Ny="Uses <code>HfApi.create_commit</code> under the hood.",Sf,Oo,Bf,Qo,Wf,Ko,Lf,ea,Vf,ta,Ws,Xf,Ec,Ry="Call HF API to know “whoami”.",Wp,G,Ls,Yf,Gc,Ey="Split a list of operations in a list of commits to perform.",Pf,Fc,Gy="Implementation follows a sub-optimal (yet simple) algorithm:",zf,Dc,Fy=`<li>Delete operations are grouped together by commits of maximum <code>max_operations_per_commits</code> operations.</li> <li>All additions exceeding <code>max_upload_size_per_commit</code> are committed 1 by 1.</li> <li>All remaining additions are grouped together and split each time the <code>max_operations_per_commit</code> or the
<code>max_upload_size_per_commit</code> limit is reached.</li>`,Of,Zc,Dy=`We do not try to optimize the splitting to get the lowest number of commits as this is a NP-hard problem (see
<a href="https://en.wikipedia.org/wiki/Bin_packing_problem" rel="nofollow">bin packing problem</a>). For our use case, it is not problematic
to use a sub-optimal solution so we favored an easy-to-explain implementation.`,Qf,na,Kf,oa,e_,aa,Lp,Vs,Vp,Xs,Xp,Le,Ys,t_,Sc,Zy="Data structure containing information about a newly created commit.",n_,Bc,Sy='Returned by <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">create_commit()</a>.',Yp,Ps,Pp,Wt,zs,o_,Wc,By="Info about a dataset accessible from huggingface.co",zp,Os,Op,Lt,Qs,a_,Lc,Wy="Contains information about a git reference for a repo on the Hub.",Qp,Ks,Kp,Vt,er,s_,Vc,Ly='Contains information about a git commit for a repo on the Hub. Check out <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.list_repo_commits">list_repo_commits()</a> for more details.',ed,tr,td,Ve,nr,r_,Xc,Vy="Contains information about all git references for a repo on the Hub.",i_,Yc,Xy='Object is returned by <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.list_repo_refs">list_repo_refs()</a>.',nd,or,od,Xt,ar,l_,Pc,Yy="Info about a model accessible from huggingface.co",ad,sr,sd,Yt,rr,c_,zc,Py="Data structure that represents a public file inside a repo, accessible from huggingface.co",rd,ir,id,O,lr,p_,Oc,zy="Subclass of <code>str</code> describing a repo URL on the Hub.",d_,Qc,Oy=`<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:`,g_,Kc,Qy="<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>",u_,sa,ld,cr,cd,Xe,pr,h_,ep,Ky="Info about a Space accessible from huggingface.co",m_,tp,e$=`This is a “dataclass” like container that just sets on itself any attribute
passed by the server.`,pd,dr,dd,Pt,gr,f_,np,t$="Contains information about a user on the Hub.",gd,ur,ud,zt,hr,__,op,n$="Contains information about a user likes on the Hub.",hd,mr,md,fr,o$="Below are the supported values for <code>CommitOperation()</code>:",fd,pe,_r,b_,ap,a$="Data structure holding necessary info to upload a file to a repository on the Hub.",v_,Gt,br,y_,sp,s$=`A context manager that yields a file-like object allowing to read the underlying
data behind <code>path_or_fileobj</code>.`,$_,ra,x_,Ft,vr,w_,rp,r$="The base64-encoded content of <code>path_or_fileobj</code>",M_,ip,i$="Returns: <code>bytes</code>",_d,Ot,yr,T_,lp,l$=`Data structure holding necessary info to delete a file or a folder from a repository
on the Hub.`,bd,Q,$r,j_,cp,c$="Data structure holding necessary info to copy a file in a repository on the Hub.",k_,pp,p$="Limitations:",C_,dp,d$="<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>",I_,gp,g$='Note: you can combine a <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.CommitOperationCopy">CommitOperationCopy</a> and a <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.CommitOperationDelete">CommitOperationDelete</a> to rename an LFS file on the Hub.',vd,xr,yd,D,wr,J_,up,u$="Scheduler to upload a local folder to the Hub at regular intervals (e.g. push to hub every 5 minutes).",U_,hp,h$=`The scheduler is started when instantiated and run indefinitely. At the end of your script, a last commit is
triggered. 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.`,H_,ia,A_,Be,Mr,q_,mp,m$="Push folder to the Hub and return the commit info.",N_,la,R_,fp,f$=`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/v0.18.0.rc0/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>.`,E_,Dt,Tr,G_,_p,_$="Stop the scheduler.",F_,bp,b$="A stopped scheduler cannot be restarted. Mostly for tests purposes.",D_,Zt,jr,Z_,vp,v$="Trigger a <code>push_to_hub</code> and return a future.",S_,yp,y$=`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.`,$d,kr,xd,Cr,$$=`<code>huggingface_hub</code> stores the authentication information locally so that it may be re-used in subsequent
methods.`,wd,Ir,x$='It does this using the <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfFolder">HfFolder</a> utility, which saves data at the root of the user.',Md,de,Jr,B_,ca,Ur,W_,$p,w$="Deletes the token from storage. Does not fail if token does not exist.",L_,We,Hr,V_,xp,M$="Get token or None if not existent.",X_,wp,T$="Note that a token can be also provided using the <code>HUGGING_FACE_HUB_TOKEN</code> environment variable.",Y_,Mp,j$=`Token is saved in the huggingface home folder. You can configure it by setting
the <code>HF_HOME</code> environment variable. Previous location was <code>~/.huggingface/token</code>.
If token is found in old location but not in new location, it is copied there first.
For more details, see <a href="https://github.com/huggingface/huggingface_hub/issues/1232" rel="nofollow">https://github.com/huggingface/huggingface_hub/issues/1232</a>.`,P_,St,Ar,z_,Tp,k$="Save token, creating folder as needed.",O_,jp,C$=`Token is saved in the huggingface home folder. You can configure it by setting
the <code>HF_HOME</code> environment variable.`,Td,qr,jd,Nr,I$="Some helpers to filter repositories on the Hub are available in the <code>huggingface_hub</code> package.",kd,Rr,Cd,Ye,Er,Q_,kp,J$=`A class that converts human-readable dataset search parameters into ones
compatible with the REST API. For all parameters capitalization does not
matter.`,K_,pa,Id,Gr,Jd,Pe,Fr,eb,Cp,U$=`A class that converts human-readable model search parameters into ones
compatible with the REST API. For all parameters capitalization does not
matter.`,tb,da,Ud,Dr,Hd,ge,Zr,nb,Ip,H$=`A nested namespace object holding all possible values for properties of
datasets currently hosted in the Hub with tab-completion. If a value starts
with a number, it will only exist in the dictionary`,ob,ga,ab,ua,Ad,Sr,qd,ue,Br,sb,Jp,A$=`A nested namespace object holding all possible values for properties of
models currently hosted in the Hub with tab-completion. If a value starts
with a number, it will only exist in the dictionary`,rb,ha,ib,ma,Nd,Gp,Rd;return h=new E({props:{title:"HfApi Client",local:"hfapi-client",headingTag:"h1"}}),Ma=new U({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}}),Ta=new E({props:{title:"HfApi",local:"huggingface_hub.HfApi",headingTag:"h2"}}),ja=new C({props:{name:"class huggingface_hub.HfApi",anchor:"huggingface_hub.HfApi",parameters:[{name:"endpoint",val:": Optional[str] = None"},{name:"token",val:": Optional[str] = None"},{name:"library_name",val:": Optional[str] = None"},{name:"library_version",val:": Optional[str] = None"},{name:"user_agent",val:": Union[Dict, str, None] = None"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L975"}}),ka=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L6234"}}),xn=new H({props:{anchor:"huggingface_hub.HfApi.add_collection_item.example",$$slots:{default:[Z$]},$$scope:{ctx:w}}}),Ca=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5522"}}),Ia=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5595"}}),Ja=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5276",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/v0.18.0.rc0/en/package_reference/community#huggingface_hub.DiscussionStatusChange"
>DiscussionStatusChange</a></p>
`}}),wn=new H({props:{anchor:"huggingface_hub.HfApi.change_discussion_status.example",$$slots:{default:[S$]},$$scope:{ctx:w}}}),Mn=new J({props:{$$slots:{default:[B$]},$$scope:{ctx:w}}}),Ua=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5133",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/v0.18.0.rc0/en/package_reference/community#huggingface_hub.DiscussionComment"
>DiscussionComment</a></p>
`}}),Tn=new H({props:{anchor:"huggingface_hub.HfApi.comment_discussion.example",$$slots:{default:[W$]},$$scope:{ctx:w}}}),jn=new J({props:{$$slots:{default:[L$]},$$scope:{ctx:w}}}),Ha=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Authentication token. Will default to the stored token.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L4536",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.BadRequestError"
>BadRequestError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.HfHubHTTPError"
>HfHubHTTPError</a></p>
`}}),Aa=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L6066"}}),Cn=new H({props:{anchor:"huggingface_hub.HfApi.create_collection.example",$$slots:{default:[V$]},$$scope:{ctx:w}}}),qa=new C({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:": Optional[str] = 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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.CommitOperationAdd">CommitOperationAdd</a> to upload a file</li>
<li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.CommitOperationDelete">CommitOperationDelete</a> to delete a file</li>
<li><a href="/docs/huggingface_hub/v0.18.0.rc0/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>str</code>, <em>optional</em>) &#x2014;
Authentication token, obtained with <code>HfApi.login</code> method. Will
default to the stored token.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L2952",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Instance of <a
  href="/docs/huggingface_hub/v0.18.0.rc0/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/v0.18.0.rc0/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 the Hub API returns an HTTP 400 error (bad request)</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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a></p>
`}}),In=new J({props:{warning:!0,$$slots:{default:[X$]},$$scope:{ctx:w}}}),Jn=new J({props:{warning:!0,$$slots:{default:[Y$]},$$scope:{ctx:w}}}),Un=new J({props:{warning:!0,$$slots:{default:[P$]},$$scope:{ctx:w}}}),Na=new C({props:{name:"create_commits_on_pr",anchor:"huggingface_hub.HfApi.create_commits_on_pr",parameters:[{name:"repo_id",val:": str"},{name:"addition_commits",val:": List[List[CommitOperationAdd]]"},{name:"deletion_commits",val:": List[List[CommitOperationDelete]]"},{name:"commit_message",val:": str"},{name:"commit_description",val:": Optional[str] = None"},{name:"token",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"merge_pr",val:": bool = True"},{name:"num_threads",val:": int = 5"},{name:"verbose",val:": bool = False"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.create_commits_on_pr.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository in which the commits will be pushed. Example: <code>&quot;username/my-cool-model&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.create_commits_on_pr.addition_commits",description:`<strong>addition_commits</strong> (<code>List</code> of <code>List</code> of <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.CommitOperationAdd">CommitOperationAdd</a>) &#x2014;
A list containing lists of <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.CommitOperationAdd">CommitOperationAdd</a>. Each sublist will result in a commit on the
PR.</p>
<p>deletion_commits &#x2014;
A list containing lists of <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.CommitOperationDelete">CommitOperationDelete</a>. Each sublist will result in a commit on
the PR. Deletion commits are pushed before addition commits.`,name:"addition_commits"},{anchor:"huggingface_hub.HfApi.create_commits_on_pr.commit_message",description:`<strong>commit_message</strong> (<code>str</code>) &#x2014;
The summary (first line) of the commit that will be created. Will also be the title of the PR.`,name:"commit_message"},{anchor:"huggingface_hub.HfApi.create_commits_on_pr.commit_description",description:`<strong>commit_description</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The description of the commit that will be created. The description will be added to the PR.`,name:"commit_description"},{anchor:"huggingface_hub.HfApi.create_commits_on_pr.token",description:`<strong>token</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Authentication token, obtained with <code>HfApi.login</code> method. Will default to the stored token.`,name:"token"},{anchor:"huggingface_hub.HfApi.create_commits_on_pr.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_commits_on_pr.merge_pr",description:`<strong>merge_pr</strong> (<code>bool</code>) &#x2014;
If set to <code>True</code>, the Pull Request is merged at the end of the process. Defaults to <code>True</code>.`,name:"merge_pr"},{anchor:"huggingface_hub.HfApi.create_commits_on_pr.num_threads",description:`<strong>num_threads</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of concurrent threads for uploading files. Defaults to 5.`,name:"num_threads"},{anchor:"huggingface_hub.HfApi.create_commits_on_pr.verbose",description:`<strong>verbose</strong> (<code>bool</code>) &#x2014;
If set to <code>True</code>, process will run on verbose mode i.e. print information about the ongoing tasks.
Defaults to <code>False</code>.`,name:"verbose"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L3173",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>URL to the created PR.</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><code>MultiCommitException</code> —
If an unexpected issue occur in the process: empty commits, unexpected commits in a PR, unexpected PR
description, etc.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>MultiCommitException</code></p>
`}}),Hn=new J({props:{warning:!0,$$slots:{default:[z$]},$$scope:{ctx:w}}}),An=new J({props:{warning:!0,$$slots:{default:[O$]},$$scope:{ctx:w}}}),qn=new H({props:{anchor:"huggingface_hub.HfApi.create_commits_on_pr.example",$$slots:{default:[Q$]},$$scope:{ctx:w}}}),Ra=new C({props:{name:"create_discussion",anchor:"huggingface_hub.HfApi.create_discussion",parameters:[{name:"repo_id",val:": str"},{name:"title",val:": str"},{name:"token",val:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L4960"}}),Nn=new J({props:{$$slots:{default:[K$]},$$scope:{ctx:w}}}),Ea=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5049"}}),Rn=new J({props:{$$slots:{default:[e0]},$$scope:{ctx:w}}}),Ga=new C({props:{name:"create_repo",anchor:"huggingface_hub.HfApi.create_repo",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Optional[str] = None"},{name:"private",val:": bool = False"},{name:"repo_type",val:": Optional[str] = None"},{name:"exist_ok",val:": bool = False"},{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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,name:"token"},{anchor:"huggingface_hub.HfApi.create_repo.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether the model repo should be private.`,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.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/v0.18.0.rc0/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/v0.18.0.rc0/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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L2612",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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.RepoUrl"
>RepoUrl</a></p>
`}}),Fa=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Authentication token. Will default to the stored token.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L4652",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError"
>RevisionNotFoundError</a> —
If revision is not found (error 404) on the repo.</li>
<li><a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError"
>RevisionNotFoundError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.HfHubHTTPError"
>HfHubHTTPError</a></p>
`}}),Da=new C({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:"token",val:": Optional[Union[bool, str]] = 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.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1871",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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.hf_api.DatasetInfo"
>hf_api.DatasetInfo</a></p>
`}}),Fn=new J({props:{$$slots:{default:[t0]},$$scope:{ctx:w}}}),Za=new C({props:{name:"delete_branch",anchor:"huggingface_hub.HfApi.delete_branch",parameters:[{name:"repo_id",val:": str"},{name:"branch",val:": str"},{name:"token",val:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Authentication token. Will default to the stored token.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L4603",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.HfHubHTTPError"
>HfHubHTTPError</a> —
If trying to delete a protected branch. Ex: <code>main</code> cannot be deleted.</li>
<li><a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.HfHubHTTPError"
>HfHubHTTPError</a></p>
`}}),Sa=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L6196"}}),Zn=new H({props:{anchor:"huggingface_hub.HfApi.delete_collection.example",$$slots:{default:[n0]},$$scope:{ctx:w}}}),Sn=new J({props:{warning:!0,$$slots:{default:[o0]},$$scope:{ctx:w}}}),Ba=new C({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:": Optional[str] = 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/v0.18.0.rc0/en/package_reference/collections#huggingface_hub.CollectionItem">CollectionItem</a> object. Example: <code>collection.items[0]._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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L6354"}}),Bn=new H({props:{anchor:"huggingface_hub.HfApi.delete_collection_item.example",$$slots:{default:[a0]},$$scope:{ctx:w}}}),Wa=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Authentication token, obtained with <code>HfApi.login</code> method. Will
default to the stored token.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L4070"}}),Wn=new J({props:{$$slots:{default:[s0]},$$scope:{ctx:w}}}),La=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Authentication token, obtained with <code>HfApi.login</code> method. Will default
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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L4158"}}),Va=new C({props:{name:"delete_repo",anchor:"huggingface_hub.HfApi.delete_repo",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L2747",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><ul>
<li>— <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a>
If the repository to delete from cannot be found and <code>missing_ok</code> is set to False (default).</li>
</ul></li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li></li>
</ul>
`}}),Xa=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5553"}}),Ya=new C({props:{name:"delete_space_storage",anchor:"huggingface_hub.HfApi.delete_space_storage",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Optional[str] = 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;HuggingFaceH4/open_llm_leaderboard&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.delete_space_storage.token",description:`<strong>token</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5997",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/v0.18.0.rc0/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>
`}}),Pa=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5627"}}),za=new C({props:{name:"delete_tag",anchor:"huggingface_hub.HfApi.delete_tag",parameters:[{name:"repo_id",val:": str"},{name:"tag",val:": str"},{name:"token",val:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Authentication token. Will default to the stored token.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L4723",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError"
>RevisionNotFoundError</a></p>
`}}),Oa=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,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/v0.18.0.rc0/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/v0.18.0.rc0/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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5846",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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.RepoUrl"
>RepoUrl</a></p>
`,raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><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>
</ul></li>
<li><ul>
<li>— <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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>
</ul></li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li></li>
</ul>
`}}),Yn=new H({props:{anchor:"huggingface_hub.HfApi.duplicate_space.example",$$slots:{default:[r0]},$$scope:{ctx:w}}}),Qa=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5404",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/v0.18.0.rc0/en/package_reference/community#huggingface_hub.DiscussionComment"
>DiscussionComment</a></p>
`}}),Pn=new J({props:{$$slots:{default:[i0]},$$scope:{ctx:w}}}),Ka=new C({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:": Optional[str] = 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 authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L2111",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>True if the file exists, False otherwise.</p>
`}}),zn=new J({props:{$$slots:{default:[c0]},$$scope:{ctx:w}}}),es=new C({props:{name:"get_collection",anchor:"huggingface_hub.HfApi.get_collection",parameters:[{name:"collection_slug",val:": str"},{name:"token",val:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L6029"}}),On=new H({props:{anchor:"huggingface_hub.HfApi.get_collection.example",$$slots:{default:[p0]},$$scope:{ctx:w}}}),ts=new C({props:{name:"get_dataset_tags",anchor:"huggingface_hub.HfApi.get_dataset_tags",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1114"}}),ns=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L4884"}}),Kn=new J({props:{$$slots:{default:[d0]},$$scope:{ctx:w}}}),os=new C({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:": Optional[Union[bool, str]] = 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 authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L4769",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>
`}}),as=new C({props:{name:"get_model_tags",anchor:"huggingface_hub.HfApi.get_model_tags",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1104"}}),ss=new C({props:{name:"get_repo_discussions",anchor:"huggingface_hub.HfApi.get_repo_discussions",parameters:[{name:"repo_id",val:": str"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Optional[str] = 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.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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L4807",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>An iterator of <a
  href="/docs/huggingface_hub/v0.18.0.rc0/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>
`}}),no=new H({props:{anchor:"huggingface_hub.HfApi.get_repo_discussions.example",$$slots:{default:[g0]},$$scope:{ctx:w}}}),oo=new H({props:{anchor:"huggingface_hub.HfApi.get_repo_discussions.example-2",$$slots:{default:[u0]},$$scope:{ctx:w}}}),rs=new C({props:{name:"get_space_runtime",anchor:"huggingface_hub.HfApi.get_space_runtime",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if
not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5652",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/v0.18.0.rc0/en/package_reference/space_runtime#huggingface_hub.SpaceRuntime"
>SpaceRuntime</a></p>
`}}),is=new C({props:{name:"get_space_variables",anchor:"huggingface_hub.HfApi.get_space_variables",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5575"}}),ls=new C({props:{name:"get_token_permission",anchor:"huggingface_hub.HfApi.get_token_permission",parameters:[{name:"token",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.get_token_permission.token",description:`<strong>token</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The token to check for validity. Defaults to the one saved locally.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1085",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Permission granted by the token (“read” or “write”). Returns <code>None</code> if no
token passed or token is invalid.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Literal["read", "write", None]</code></p>
`}}),cs=new C({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:"local_dir_use_symlinks",val:": Union[bool, Literal['auto']] = 'auto'"},{name:"force_download",val:": bool = False"},{name:"force_filename",val:": Optional[str] = None"},{name:"proxies",val:": Optional[Dict] = None"},{name:"etag_timeout",val:": float = 10"},{name:"resume_download",val:": bool = False"},{name:"token",val:": Optional[Union[str, bool]] = None"},{name:"local_files_only",val:": bool = False"},{name:"legacy_cache_layout",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 model repo.`,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.endpoint",description:`<strong>endpoint</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Hugging Face Hub base url. Will default to <a href="https://huggingface.co/" rel="nofollow">https://huggingface.co/</a>. Otherwise, one can set the <code>HF_ENDPOINT</code>
environment variable.`,name:"endpoint"},{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, either as a symlink (default) or
a regular file (see description for more details).`,name:"local_dir"},{anchor:"huggingface_hub.HfApi.hf_hub_download.local_dir_use_symlinks",description:`<strong>local_dir_use_symlinks</strong> (<code>&quot;auto&quot;</code> or <code>bool</code>, defaults to <code>&quot;auto&quot;</code>) &#x2014;
To be used with <code>local_dir</code>. If set to &#x201C;auto&#x201D;, the cache directory will be used and the file will be either
duplicated or symlinked to the local directory depending on its size. It set to <code>True</code>, a symlink will be
created, no matter the file size. If set to <code>False</code>, the file will either be duplicated from cache (if
already exists) or downloaded from the Hub and not cached. See description for more details.`,name:"local_dir_use_symlinks"},{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.proxies",description:`<strong>proxies</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
Dictionary mapping protocol to the URL of the proxy passed to
<code>requests.request</code>.`,name:"proxies"},{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>requests.request</code>.`,name:"etag_timeout"},{anchor:"huggingface_hub.HfApi.hf_hub_download.resume_download",description:`<strong>resume_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
If <code>True</code>, resume a previously interrupted download.`,name:"resume_download"},{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 authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,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.legacy_cache_layout",description:`<strong>legacy_cache_layout</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
If <code>True</code>, uses the legacy file cache layout i.e. just call <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/file_download#huggingface_hub.hf_hub_url">hf_hub_url()</a>
then <code>cached_download</code>. This is deprecated as the new cache layout is
more powerful.`,name:"legacy_cache_layout"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L4223",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Local path (string) of file or if networking is off, last version of
file cached on disk.</p>
`}}),so=new H({props:{anchor:"huggingface_hub.HfApi.hf_hub_download.example",$$slots:{default:[h0]},$$scope:{ctx:w}}}),ro=new J({props:{$$slots:{default:[m0]},$$scope:{ctx:w}}}),ps=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5461",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/v0.18.0.rc0/en/package_reference/community#huggingface_hub.DiscussionComment"
>DiscussionComment</a></p>
`}}),io=new J({props:{warning:!0,$$slots:{default:[f0]},$$scope:{ctx:w}}}),lo=new J({props:{$$slots:{default:[_0]},$$scope:{ctx:w}}}),ds=new C({props:{name:"like",anchor:"huggingface_hub.HfApi.like",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.like.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The repository to like. Example: <code>&quot;user/my-cool-model&quot;</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.like.token",description:`<strong>token</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Authentication token. Will default to the stored token.`,name:"token"},{anchor:"huggingface_hub.HfApi.like.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 liking a dataset or space, <code>None</code> or
<code>&quot;model&quot;</code> if liking a model. Default is <code>None</code>.`,name:"repo_type"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1583",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a></p>
`}}),co=new H({props:{anchor:"huggingface_hub.HfApi.like.example",$$slots:{default:[b0]},$$scope:{ctx:w}}}),gs=new C({props:{name:"list_datasets",anchor:"huggingface_hub.HfApi.list_datasets",parameters:[{name:"filter",val:": Union[DatasetFilter, str, Iterable[str], None] = None"},{name:"author",val:": Optional[str] = None"},{name:"search",val:": Optional[str] = None"},{name:"sort",val:": Union[Literal['lastModified'], str, None] = None"},{name:"direction",val:": Optional[Literal[-1]] = None"},{name:"limit",val:": Optional[int] = None"},{name:"full",val:": Optional[bool] = None"},{name:"token",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_datasets.filter",description:`<strong>filter</strong> (<a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.DatasetFilter">DatasetFilter</a> or <code>str</code> or <code>Iterable</code>, <em>optional</em>) &#x2014;
A string or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.DatasetFilter">DatasetFilter</a> which can be used to identify
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.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;lastModified&quot;]</code> or <code>str</code>, <em>optional</em>) &#x2014;
The key with which to sort the resulting datasets. Possible
values are the properties of the <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.hf_api.DatasetInfo">huggingface_hub.hf_api.DatasetInfo</a> class.`,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.full",description:`<strong>full</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to fetch all dataset data, including the <code>lastModified</code>
and the <code>cardData</code>. 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 authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1322",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


<p><code>Iterable[DatasetInfo]</code></p>
`}}),po=new H({props:{anchor:"huggingface_hub.HfApi.list_datasets.example",$$slots:{default:[v0]},$$scope:{ctx:w}}}),go=new H({props:{anchor:"huggingface_hub.HfApi.list_datasets.example-2",$$slots:{default:[y0]},$$scope:{ctx:w}}}),us=new C({props:{name:"list_files_info",anchor:"huggingface_hub.HfApi.list_files_info",parameters:[{name:"repo_id",val:": str"},{name:"paths",val:": Union[List[str], str, None] = None"},{name:"expand",val:": bool = False"},{name:"revision",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"token",val:": Optional[Union[bool, str]] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_files_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.list_files_info.paths",description:`<strong>paths</strong> (<code>Union[List[str], str, None]</code>, <em>optional</em>) &#x2014;
The paths to get information about. Paths to files are directly resolved. Paths to folders are resolved
recursively which means that information is returned about all files in the folder and its subfolders.
If <code>None</code>, all files are returned (the default). If a path do not exist, it is ignored without raising
an exception.`,name:"paths"},{anchor:"huggingface_hub.HfApi.list_files_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 files (e.g. last commit and 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_files_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.list_files_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.list_files_info.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>). If <code>None</code> or <code>True</code> and
machine is logged in (through <code>huggingface-cli login</code> or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be
retrieved from the cache. If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L2169",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


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


<ul>
<li><a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError"
>RevisionNotFoundError</a></p>
`}}),uo=new H({props:{anchor:"huggingface_hub.HfApi.list_files_info.example",$$slots:{default:[$0]},$$scope:{ctx:w}}}),ho=new H({props:{anchor:"huggingface_hub.HfApi.list_files_info.example-2",$$slots:{default:[x0]},$$scope:{ctx:w}}}),mo=new H({props:{anchor:"huggingface_hub.HfApi.list_files_info.example-3",$$slots:{default:[w0]},$$scope:{ctx:w}}}),fo=new H({props:{anchor:"huggingface_hub.HfApi.list_files_info.example-4",$$slots:{default:[M0]},$$scope:{ctx:w}}}),hs=new C({props:{name:"list_liked_repos",anchor:"huggingface_hub.HfApi.list_liked_repos",parameters:[{name:"user",val:": Optional[str] = None"},{name:"token",val:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
A valid authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
Used only if <code>user</code> is not passed to implicitly determine the current
user name.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1678",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/v0.18.0.rc0/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>
`}}),_o=new H({props:{anchor:"huggingface_hub.HfApi.list_liked_repos.example",$$slots:{default:[T0]},$$scope:{ctx:w}}}),ms=new C({props:{name:"list_metrics",anchor:"huggingface_hub.HfApi.list_metrics",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1485",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>a list of <code>MetricInfo</code> objects which.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>List[MetricInfo]</code></p>
`}}),fs=new C({props:{name:"list_models",anchor:"huggingface_hub.HfApi.list_models",parameters:[{name:"filter",val:": Union[ModelFilter, str, Iterable[str], None] = None"},{name:"author",val:": Optional[str] = None"},{name:"search",val:": Optional[str] = None"},{name:"emissions_thresholds",val:": Optional[Tuple[float, float]] = None"},{name:"sort",val:": Union[Literal['lastModified'], str, None] = None"},{name:"direction",val:": Optional[Literal[-1]] = None"},{name:"limit",val:": Optional[int] = None"},{name:"full",val:": Optional[bool] = None"},{name:"cardData",val:": bool = False"},{name:"fetch_config",val:": bool = False"},{name:"token",val:": Optional[Union[bool, str]] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.list_models.filter",description:`<strong>filter</strong> (<a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.ModelFilter">ModelFilter</a> or <code>str</code> or <code>Iterable</code>, <em>optional</em>) &#x2014;
A string or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.ModelFilter">ModelFilter</a> which can be used to identify models
on the Hub.`,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.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.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;lastModified&quot;]</code> or <code>str</code>, <em>optional</em>) &#x2014;
The key with which to sort the resulting models. Possible values
are the properties of the <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.hf_api.ModelInfo">huggingface_hub.hf_api.ModelInfo</a> class.`,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.full",description:`<strong>full</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to fetch all model data, including the <code>lastModified</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 authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1124",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


<p><code>Iterable[ModelInfo]</code></p>
`}}),vo=new H({props:{anchor:"huggingface_hub.HfApi.list_models.example",$$slots:{default:[j0]},$$scope:{ctx:w}}}),yo=new H({props:{anchor:"huggingface_hub.HfApi.list_models.example-2",$$slots:{default:[k0]},$$scope:{ctx:w}}}),_s=new C({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:": Optional[Union[bool, str]] = 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 authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L2449",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/v0.18.0.rc0/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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError"
>RevisionNotFoundError</a></p>
`}}),$o=new H({props:{anchor:"huggingface_hub.HfApi.list_repo_commits.example",$$slots:{default:[C0]},$$scope:{ctx:w}}}),bs=new C({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:"timeout",val:": Optional[float] = None"},{name:"token",val:": Optional[Union[bool, str]] = 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 model 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 authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>). If <code>None</code> or <code>True</code> and
machine is logged in (through <code>huggingface-cli login</code> or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be
retrieved from the cache. If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L2352",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>
`}}),vs=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Authentication token. Will default to the stored token.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1753",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


<p><code>List[User]</code></p>
`}}),ys=new C({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:"token",val:": Optional[Union[bool, str]] = 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.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L2389",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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.GitRefs"
>GitRefs</a></p>
`}}),wo=new H({props:{anchor:"huggingface_hub.HfApi.list_repo_refs.example",$$slots:{default:[I0]},$$scope:{ctx:w}}}),$s=new C({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:"sort",val:": Union[Literal['lastModified'], str, None] = None"},{name:"direction",val:": Optional[Literal[-1]] = None"},{name:"limit",val:": Optional[int] = 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:"full",val:": Optional[bool] = None"},{name:"token",val:": Optional[str] = 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.sort",description:`<strong>sort</strong> (<code>Literal[&quot;lastModified&quot;]</code> or <code>str</code>, <em>optional</em>) &#x2014;
The key with which to sort the resulting Spaces. Possible
values are the properties of the <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.hf_api.SpaceInfo">huggingface_hub.hf_api.SpaceInfo</a>\` class.`,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.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.full",description:`<strong>full</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to fetch all Spaces data, including the <code>lastModified</code>
and the <code>cardData</code>.`,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 authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1498",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


<p><code>Iterable[SpaceInfo]</code></p>
`}}),xs=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5351",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/v0.18.0.rc0/en/package_reference/community#huggingface_hub.DiscussionStatusChange"
>DiscussionStatusChange</a></p>
`}}),To=new J({props:{$$slots:{default:[J0]},$$scope:{ctx:w}}}),ws=new C({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:"token",val:": Optional[Union[bool, str]] = 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.`,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.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1803",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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.hf_api.ModelInfo"
>huggingface_hub.hf_api.ModelInfo</a></p>
`}}),jo=new J({props:{$$slots:{default:[U0]},$$scope:{ctx:w}}}),Ms=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L2854"}}),ko=new J({props:{$$slots:{default:[H0]},$$scope:{ctx:w}}}),Ts=new C({props:{name:"pause_space",anchor:"huggingface_hub.HfApi.pause_space",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5767",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/v0.18.0.rc0/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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.HfHubHTTPError"
>HfHubHTTPError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.BadRequestError"
>BadRequestError</a></p>
`}}),js=new C({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:": Optional[str] = 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"}],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/v0.18.0.rc0/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>str</code>, <em>optional</em>) &#x2014;
Authentication token. Will default to the stored token.`,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"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L3473"}}),Co=new J({props:{warning:!0,$$slots:{default:[A0]},$$scope:{ctx:w}}}),Io=new J({props:{warning:!0,$$slots:{default:[q0]},$$scope:{ctx:w}}}),Jo=new H({props:{anchor:"huggingface_hub.HfApi.preupload_lfs_files.example",$$slots:{default:[N0]},$$scope:{ctx:w}}}),ks=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5209",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/v0.18.0.rc0/en/package_reference/community#huggingface_hub.DiscussionTitleChange"
>DiscussionTitleChange</a></p>
`}}),Uo=new H({props:{anchor:"huggingface_hub.HfApi.rename_discussion.example",$$slots:{default:[R0]},$$scope:{ctx:w}}}),Ho=new J({props:{$$slots:{default:[E0]},$$scope:{ctx:w}}}),Cs=new C({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:": Optional[str] = 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 authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L2065",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>True if the repository exists, False otherwise.</p>
`}}),Ao=new J({props:{$$slots:{default:[F0]},$$scope:{ctx:w}}}),Is=new C({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:"token",val:": Optional[Union[bool, str]] = 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.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 authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1997",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The repository information, as a
<a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.hf_api.DatasetInfo"
>huggingface_hub.hf_api.DatasetInfo</a>, <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.hf_api.ModelInfo"
>huggingface_hub.hf_api.ModelInfo</a>
or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.hf_api.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>
`}}),qo=new J({props:{$$slots:{default:[D0]},$$scope:{ctx:w}}}),Js=new C({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:": Optional[str] = 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/v0.18.0.rc0/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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5671",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/v0.18.0.rc0/en/package_reference/space_runtime#huggingface_hub.SpaceRuntime"
>SpaceRuntime</a></p>
`}}),No=new J({props:{$$slots:{default:[Z0]},$$scope:{ctx:w}}}),Us=new C({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:": Optional[str] = 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;HuggingFaceH4/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/v0.18.0.rc0/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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5961",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/v0.18.0.rc0/en/package_reference/space_runtime#huggingface_hub.SpaceRuntime"
>SpaceRuntime</a></p>
`}}),Ro=new J({props:{$$slots:{default:[S0]},$$scope:{ctx:w}}}),Hs=new C({props:{name:"restart_space",anchor:"huggingface_hub.HfApi.restart_space",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5803",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/v0.18.0.rc0/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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.HfHubHTTPError"
>HfHubHTTPError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.BadRequestError"
>BadRequestError</a></p>
`}}),As=new C({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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1015",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>
`}}),Eo=new H({props:{anchor:"huggingface_hub.HfApi.run_as_future.example",$$slots:{default:[B0]},$$scope:{ctx:w}}}),qs=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L5721",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/v0.18.0.rc0/en/package_reference/space_runtime#huggingface_hub.SpaceRuntime"
>SpaceRuntime</a></p>
`}}),Go=new J({props:{$$slots:{default:[W0]},$$scope:{ctx:w}}}),Ns=new C({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:"local_dir_use_symlinks",val:": Union[bool, Literal['auto']] = 'auto'"},{name:"proxies",val:": Optional[Dict] = None"},{name:"etag_timeout",val:": float = 10"},{name:"resume_download",val:": bool = False"},{name:"force_download",val:": bool = False"},{name:"token",val:": Optional[Union[str, bool]] = 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[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, either as symlinks (default) or
regular files (see description for more details).`,name:"local_dir"},{anchor:"huggingface_hub.HfApi.snapshot_download.local_dir_use_symlinks",description:`<strong>local_dir_use_symlinks</strong> (<code>&quot;auto&quot;</code> or <code>bool</code>, defaults to <code>&quot;auto&quot;</code>) &#x2014;
To be used with <code>local_dir</code>. If set to &#x201C;auto&#x201D;, the cache directory will be used and the file will be either
duplicated or symlinked to the local directory depending on its size. It set to <code>True</code>, a symlink will be
created, no matter the file size. If set to <code>False</code>, the file will either be duplicated from cache (if
already exists) or downloaded from the Hub and not cached. See description for more details.`,name:"local_dir_use_symlinks"},{anchor:"huggingface_hub.HfApi.snapshot_download.proxies",description:`<strong>proxies</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
Dictionary mapping protocol to the URL of the proxy passed to
<code>requests.request</code>.`,name:"proxies"},{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>requests.request</code>.`,name:"etag_timeout"},{anchor:"huggingface_hub.HfApi.snapshot_download.resume_download",description:"<strong>resume_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False) -- If </code>True`, resume a previously interrupted download.",name:"resume_download"},{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 authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L4394",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Local folder path (string) of repo snapshot</p>
`}}),Fo=new J({props:{$$slots:{default:[L0]},$$scope:{ctx:w}}}),Rs=new C({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:"token",val:": Optional[Union[bool, str]] = 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.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
A valid authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>).
If <code>None</code> or <code>True</code> and machine is logged in (through <code>huggingface-cli login</code>
or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token will be retrieved from the cache.
If <code>False</code>, token is not sent in the request header.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1934",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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.hf_api.SpaceInfo"
>SpaceInfo</a></p>
`}}),Do=new J({props:{$$slots:{default:[V0]},$$scope:{ctx:w}}}),Es=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
A valid authentication token (see <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>). If the machine is logged in
(through <code>huggingface-cli login</code> or <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/login#huggingface_hub.login">login()</a>), token can be automatically retrieved
from the cache.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L2527",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError"
>RevisionNotFoundError</a> —
If the branch to squash cannot be found.</li>
<li><a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RevisionNotFoundError"
>RevisionNotFoundError</a> or <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.BadRequestError"
>BadRequestError</a></p>
`}}),Zo=new J({props:{warning:!0,$$slots:{default:[X0]},$$scope:{ctx:w}}}),So=new J({props:{warning:!0,$$slots:{default:[Y0]},$$scope:{ctx:w}}}),Bo=new H({props:{anchor:"huggingface_hub.HfApi.super_squash_history.example",$$slots:{default:[P0]},$$scope:{ctx:w}}}),Gs=new C({props:{name:"unlike",anchor:"huggingface_hub.HfApi.unlike",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Authentication token. Will default to the stored token.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1631",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.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/v0.18.0.rc0/en/package_reference/utilities#huggingface_hub.utils.RepositoryNotFoundError"
>RepositoryNotFoundError</a></p>
`}}),Wo=new H({props:{anchor:"huggingface_hub.HfApi.unlike.example",$$slots:{default:[z0]},$$scope:{ctx:w}}}),Fs=new C({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:": Optional[str] = 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/v0.18.0.rc0/en/package_reference/collections#huggingface_hub.CollectionItem">CollectionItem</a> object. Example: <code>collection.items[0]._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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L6304"}}),Lo=new H({props:{anchor:"huggingface_hub.HfApi.update_collection_item.example",$$slots:{default:[O0]},$$scope:{ctx:w}}}),Ds=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L6131"}}),Vo=new H({props:{anchor:"huggingface_hub.HfApi.update_collection_metadata.example",$$slots:{default:[Q0]},$$scope:{ctx:w}}}),Zs=new C({props:{name:"update_repo_visibility",anchor:"huggingface_hub.HfApi.update_repo_visibility",parameters:[{name:"repo_id",val:": str"},{name:"private",val:": bool = False"},{name:"token",val:": Optional[str] = None"},{name:"organization",val:": Optional[str] = None"},{name:"repo_type",val:": Optional[str] = None"},{name:"name",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.update_repo_visibility.repo_id",description:`<strong>repo_id</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A namespace (user or an organization) and a repo name separated
by a <code>/</code>.`,name:"repo_id"},{anchor:"huggingface_hub.HfApi.update_repo_visibility.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether the model repo should be private.`,name:"private"},{anchor:"huggingface_hub.HfApi.update_repo_visibility.token",description:`<strong>token</strong> (<code>str</code>, <em>optional</em>) &#x2014;
An authentication token (See <a href="https://huggingface.co/settings/token" rel="nofollow">https://huggingface.co/settings/token</a>)`,name:"token"},{anchor:"huggingface_hub.HfApi.update_repo_visibility.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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L2794",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The HTTP response in json.</p>
`}}),Xo=new J({props:{$$slots:{default:[K0]},$$scope:{ctx:w}}}),Ss=new C({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:": Optional[str] = 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>str</code>, <em>optional</em>) &#x2014;
Authentication token, obtained with <code>HfApi.login</code> method. Will
default to the stored token.`,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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L3625",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The URL to visualize the uploaded file on the hub. 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><code>str</code> or <code>Future</code></p>
`}}),Yo=new J({props:{$$slots:{default:[ex]},$$scope:{ctx:w}}}),Po=new J({props:{warning:!0,$$slots:{default:[tx]},$$scope:{ctx:w}}}),zo=new H({props:{anchor:"huggingface_hub.HfApi.upload_file.example",$$slots:{default:[nx]},$$scope:{ctx:w}}}),Bs=new C({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:": Optional[str] = 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:"multi_commits",val:": bool = False"},{name:"multi_commits_verbose",val:": bool = False"},{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>str</code>, <em>optional</em>) &#x2014;
Authentication token, obtained with <code>HfApi.login</code> method. Will
default to the stored token.`,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. If both <code>multi_commits</code> and <code>create_pr</code> are True,
the PR created in the multi-commit process is kept opened.`,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.multi_commits",description:`<strong>multi_commits</strong> (<code>bool</code>) &#x2014;
If True, changes are pushed to a PR using a multi-commit process. Defaults to <code>False</code>.`,name:"multi_commits"},{anchor:"huggingface_hub.HfApi.upload_folder.multi_commits_verbose",description:`<strong>multi_commits_verbose</strong> (<code>bool</code>) &#x2014;
If True and <code>multi_commits</code> is used, more information will be displayed to the user.`,name:"multi_commits_verbose"},{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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L3827",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A URL to visualize the uploaded folder on the hub. 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><code>str</code> or <code>Future[str]</code></p>
`}}),Oo=new J({props:{$$slots:{default:[ox]},$$scope:{ctx:w}}}),Qo=new J({props:{warning:!0,$$slots:{default:[ax]},$$scope:{ctx:w}}}),Ko=new J({props:{warning:!0,$$slots:{default:[sx]},$$scope:{ctx:w}}}),ea=new H({props:{anchor:"huggingface_hub.HfApi.upload_folder.example",$$slots:{default:[rx]},$$scope:{ctx:w}}}),Ws=new C({props:{name:"whoami",anchor:"huggingface_hub.HfApi.whoami",parameters:[{name:"token",val:": Optional[str] = None"}],parametersDescription:[{anchor:"huggingface_hub.HfApi.whoami.token",description:`<strong>token</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Hugging Face token. Will default to the locally saved token if
not provided.`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L1055"}}),Ls=new C({props:{name:"huggingface_hub.plan_multi_commits",anchor:"huggingface_hub.plan_multi_commits",parameters:[{name:"operations",val:": typing.Iterable[typing.Union[huggingface_hub._commit_api.CommitOperationAdd, huggingface_hub._commit_api.CommitOperationDelete]]"},{name:"max_operations_per_commit",val:": int = 50"},{name:"max_upload_size_per_commit",val:": int = 2147483648"}],parametersDescription:[{anchor:"huggingface_hub.plan_multi_commits.operations",description:`<strong>operations</strong> (<code>List</code> of <code>CommitOperation()</code>) &#x2014;
The list of operations to split into commits.`,name:"operations"},{anchor:"huggingface_hub.plan_multi_commits.max_operations_per_commit",description:`<strong>max_operations_per_commit</strong> (<code>int</code>) &#x2014;
Maximum number of operations in a single commit. Defaults to 50.`,name:"max_operations_per_commit"},{anchor:"huggingface_hub.plan_multi_commits.max_upload_size_per_commit",description:`<strong>max_upload_size_per_commit</strong> (<code>int</code>) &#x2014;
Maximum size to upload (in bytes) in a single commit. Defaults to 2GB. Files bigger than this limit are
uploaded, 1 per commit.`,name:"max_upload_size_per_commit"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/_multi_commits.py#L77",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>a tuple. First item is a list of
lists of <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.CommitOperationAdd"
>CommitOperationAdd</a> representing the addition commits to push. The second item is a list of lists
of <a
  href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.CommitOperationDelete"
>CommitOperationDelete</a> representing the deletion commits.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Tuple[List[List[CommitOperationAdd]], List[List[CommitOperationDelete]]]</code></p>
`}}),na=new J({props:{warning:!0,$$slots:{default:[ix]},$$scope:{ctx:w}}}),oa=new H({props:{anchor:"huggingface_hub.plan_multi_commits.example",$$slots:{default:[lx]},$$scope:{ctx:w}}}),aa=new J({props:{warning:!0,$$slots:{default:[cx]},$$scope:{ctx:w}}}),Vs=new E({props:{title:"API Dataclasses",local:"api-dataclasses",headingTag:"h2"}}),Xs=new E({props:{title:"CommitInfo",local:"huggingface_hub.CommitInfo",headingTag:"h3"}}),Ys=new C({props:{name:"class huggingface_hub.CommitInfo",anchor:"huggingface_hub.CommitInfo",parameters:[{name:"commit_url",val:": str"},{name:"commit_message",val:": str"},{name:"commit_description",val:": str"},{name:"oid",val:": str"},{name:"pr_url",val:": Optional[str] = None"}],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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.get_discussion_details">get_discussion_details()</a>. Example: <code>1</code>.`,name:"pr_num"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L258"}}),Ps=new E({props:{title:"DatasetInfo",local:"huggingface_hub.hf_api.DatasetInfo",headingTag:"h3"}}),zs=new C({props:{name:"class huggingface_hub.hf_api.DatasetInfo",anchor:"huggingface_hub.hf_api.DatasetInfo",parameters:[{name:"id",val:": Optional[str] = None"},{name:"sha",val:": Optional[str] = None"},{name:"lastModified",val:": Optional[str] = None"},{name:"tags",val:": Optional[List[str]] = None"},{name:"siblings",val:": Optional[List[Dict]] = None"},{name:"private",val:": bool = False"},{name:"author",val:": Optional[str] = None"},{name:"description",val:": Optional[str] = None"},{name:"citation",val:": Optional[str] = None"},{name:"cardData",val:": Optional[dict] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"huggingface_hub.hf_api.DatasetInfo.id",description:`<strong>id</strong> (<code>str</code>, <em>optional</em>) &#x2014;
ID of dataset repository.`,name:"id"},{anchor:"huggingface_hub.hf_api.DatasetInfo.sha",description:`<strong>sha</strong> (<code>str</code>, <em>optional</em>) &#x2014;
repo sha at this particular revision`,name:"sha"},{anchor:"huggingface_hub.hf_api.DatasetInfo.lastModified",description:`<strong>lastModified</strong> (<code>str</code>, <em>optional</em>) &#x2014;
date of last commit to repo`,name:"lastModified"},{anchor:"huggingface_hub.hf_api.DatasetInfo.tags",description:`<strong>tags</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
List of tags.`,name:"tags"},{anchor:"huggingface_hub.hf_api.DatasetInfo.siblings",description:`<strong>siblings</strong> (<code>List[RepoFile]</code>, <em>optional</em>) &#x2014;
list of <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.hf_api.RepoFile">huggingface_hub.hf_api.RepoFile</a> objects that constitute the dataset.`,name:"siblings"},{anchor:"huggingface_hub.hf_api.DatasetInfo.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
is the repo private`,name:"private"},{anchor:"huggingface_hub.hf_api.DatasetInfo.author",description:`<strong>author</strong> (<code>str</code>, <em>optional</em>) &#x2014;
repo author`,name:"author"},{anchor:"huggingface_hub.hf_api.DatasetInfo.description",description:`<strong>description</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Description of the dataset`,name:"description"},{anchor:"huggingface_hub.hf_api.DatasetInfo.citation",description:`<strong>citation</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Dataset citation`,name:"citation"},{anchor:"huggingface_hub.hf_api.DatasetInfo.cardData",description:`<strong>cardData</strong> (<code>Dict</code>, <em>optional</em>) &#x2014;
Metadata of the model card as a dictionary.`,name:"cardData"},{anchor:"huggingface_hub.hf_api.DatasetInfo.kwargs",description:`<strong>kwargs</strong> (<code>Dict</code>, <em>optional</em>) &#x2014;
Kwargs that will be become attributes of the class.`,name:"kwargs"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L477"}}),Os=new E({props:{title:"GitRefInfo",local:"huggingface_hub.GitRefInfo",headingTag:"h3"}}),Qs=new C({props:{name:"class huggingface_hub.GitRefInfo",anchor:"huggingface_hub.GitRefInfo",parameters:[{name:"data",val:": Dict"}],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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L806"}}),Ks=new E({props:{title:"GitCommitInfo",local:"huggingface_hub.GitCommitInfo",headingTag:"h3"}}),er=new C({props:{name:"class huggingface_hub.GitCommitInfo",anchor:"huggingface_hub.GitCommitInfo",parameters:[{name:"data",val:": Dict"}],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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L852"}}),tr=new E({props:{title:"GitRefs",local:"huggingface_hub.GitRefs",headingTag:"h3"}}),nr=new C({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]"}],parametersDescription:[{anchor:"huggingface_hub.GitRefs.branches",description:`<strong>branches</strong> (<code>List[GitRefInfo]</code>) &#x2014;
A list of <a href="/docs/huggingface_hub/v0.18.0.rc0/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/v0.18.0.rc0/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/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.GitRefInfo">GitRefInfo</a> containing information about tags on the repo.`,name:"tags"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L830"}}),or=new E({props:{title:"ModelInfo",local:"huggingface_hub.hf_api.ModelInfo",headingTag:"h3"}}),ar=new C({props:{name:"class huggingface_hub.hf_api.ModelInfo",anchor:"huggingface_hub.hf_api.ModelInfo",parameters:[{name:"modelId",val:": Optional[str] = None"},{name:"sha",val:": Optional[str] = None"},{name:"lastModified",val:": Optional[str] = None"},{name:"tags",val:": Optional[List[str]] = None"},{name:"pipeline_tag",val:": Optional[str] = None"},{name:"siblings",val:": Optional[List[Dict]] = None"},{name:"private",val:": bool = False"},{name:"author",val:": Optional[str] = None"},{name:"config",val:": Optional[Dict] = None"},{name:"securityStatus",val:": Optional[Dict] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"huggingface_hub.hf_api.ModelInfo.modelId",description:`<strong>modelId</strong> (<code>str</code>, <em>optional</em>) &#x2014;
ID of model repository.`,name:"modelId"},{anchor:"huggingface_hub.hf_api.ModelInfo.sha",description:`<strong>sha</strong> (<code>str</code>, <em>optional</em>) &#x2014;
repo sha at this particular revision`,name:"sha"},{anchor:"huggingface_hub.hf_api.ModelInfo.lastModified",description:`<strong>lastModified</strong> (<code>str</code>, <em>optional</em>) &#x2014;
date of last commit to repo`,name:"lastModified"},{anchor:"huggingface_hub.hf_api.ModelInfo.tags",description:`<strong>tags</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
List of tags.`,name:"tags"},{anchor:"huggingface_hub.hf_api.ModelInfo.pipeline_tag",description:`<strong>pipeline_tag</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Pipeline tag to identify the correct widget.`,name:"pipeline_tag"},{anchor:"huggingface_hub.hf_api.ModelInfo.siblings",description:`<strong>siblings</strong> (<code>List[RepoFile]</code>, <em>optional</em>) &#x2014;
list of (<a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.hf_api.RepoFile">huggingface_hub.hf_api.RepoFile</a>) objects that constitute the model.`,name:"siblings"},{anchor:"huggingface_hub.hf_api.ModelInfo.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
is the repo private`,name:"private"},{anchor:"huggingface_hub.hf_api.ModelInfo.author",description:`<strong>author</strong> (<code>str</code>, <em>optional</em>) &#x2014;
repo author`,name:"author"},{anchor:"huggingface_hub.hf_api.ModelInfo.config",description:`<strong>config</strong> (<code>Dict</code>, <em>optional</em>) &#x2014;
Model configuration information`,name:"config"},{anchor:"huggingface_hub.hf_api.ModelInfo.securityStatus",description:`<strong>securityStatus</strong> (<code>Dict</code>, <em>optional</em>) &#x2014;
Security status of the model.
Example: <code>{&quot;containsInfected&quot;: False}</code>`,name:"securityStatus"},{anchor:"huggingface_hub.hf_api.ModelInfo.kwargs",description:`<strong>kwargs</strong> (<code>Dict</code>, <em>optional</em>) &#x2014;
Kwargs that will be become attributes of the class.`,name:"kwargs"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L411"}}),sr=new E({props:{title:"RepoFile",local:"huggingface_hub.hf_api.RepoFile",headingTag:"h3"}}),rr=new C({props:{name:"class huggingface_hub.hf_api.RepoFile",anchor:"huggingface_hub.hf_api.RepoFile",parameters:[{name:"rfilename",val:": str"},{name:"size",val:": Optional[int] = None"},{name:"blobId",val:": Optional[str] = None"},{name:"lfs",val:": Optional[BlobLfsInfo] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"huggingface_hub.hf_api.RepoFile.rfilename",description:`<strong>rfilename</strong> (str) &#x2014;
file name, relative to the repo root. This is the only attribute that&#x2019;s guaranteed to be here, but under
certain conditions there can certain other stuff.`,name:"rfilename"},{anchor:"huggingface_hub.hf_api.RepoFile.size",description:`<strong>size</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The file&#x2019;s size, in bytes. This attribute is present when <code>files_metadata</code> argument of <a href="/docs/huggingface_hub/v0.18.0.rc0/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.RepoFile.blob_id",description:`<strong>blob_id</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The file&#x2019;s git OID. This attribute is present when <code>files_metadata</code> argument of <a href="/docs/huggingface_hub/v0.18.0.rc0/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.RepoFile.lfs",description:`<strong>lfs</strong> (<code>BlobLfsInfo</code>, <em>optional</em>) &#x2014;
The file&#x2019;s LFS metadata. This attribute is present when<code>files_metadata</code> argument of <a href="/docs/huggingface_hub/v0.18.0.rc0/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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L373"}}),ir=new E({props:{title:"RepoUrl",local:"huggingface_hub.RepoUrl",headingTag:"h3"}}),lr=new C({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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L313",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><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>
</ul></li>
<li><ul>
<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></li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li></li>
</ul>
`}}),sa=new H({props:{anchor:"huggingface_hub.RepoUrl.example",$$slots:{default:[px]},$$scope:{ctx:w}}}),cr=new E({props:{title:"SpaceInfo",local:"huggingface_hub.hf_api.SpaceInfo",headingTag:"h3"}}),pr=new C({props:{name:"class huggingface_hub.hf_api.SpaceInfo",anchor:"huggingface_hub.hf_api.SpaceInfo",parameters:[{name:"id",val:": Optional[str] = None"},{name:"sha",val:": Optional[str] = None"},{name:"lastModified",val:": Optional[str] = None"},{name:"siblings",val:": Optional[List[Dict]] = None"},{name:"private",val:": bool = False"},{name:"author",val:": Optional[str] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"huggingface_hub.hf_api.SpaceInfo.id",description:`<strong>id</strong> (<code>str</code>, <em>optional</em>) &#x2014;
id of space`,name:"id"},{anchor:"huggingface_hub.hf_api.SpaceInfo.sha",description:`<strong>sha</strong> (<code>str</code>, <em>optional</em>) &#x2014;
repo sha at this particular revision`,name:"sha"},{anchor:"huggingface_hub.hf_api.SpaceInfo.lastModified",description:`<strong>lastModified</strong> (<code>str</code>, <em>optional</em>) &#x2014;
date of last commit to repo`,name:"lastModified"},{anchor:"huggingface_hub.hf_api.SpaceInfo.siblings",description:`<strong>siblings</strong> (<code>List[RepoFile]</code>, <em>optional</em>) &#x2014;
list of <code>huggingface_hub.hf_api.RepoFIle</code> objects that constitute the Space`,name:"siblings"},{anchor:"huggingface_hub.hf_api.SpaceInfo.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
is the repo private`,name:"private"},{anchor:"huggingface_hub.hf_api.SpaceInfo.author",description:`<strong>author</strong> (<code>str</code>, <em>optional</em>) &#x2014;
repo author`,name:"author"},{anchor:"huggingface_hub.hf_api.SpaceInfo.kwargs",description:`<strong>kwargs</strong> (<code>Dict</code>, <em>optional</em>) &#x2014;
Kwargs that will be become attributes of the class.`,name:"kwargs"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L542"}}),dr=new E({props:{title:"User",local:"huggingface_hub.User",headingTag:"h3"}}),gr=new C({props:{name:"class huggingface_hub.User",anchor:"huggingface_hub.User",parameters:[{name:"avatar_url",val:": str"},{name:"username",val:": str"},{name:"fullname",val:": str"}],parametersDescription:[{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.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"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L923"}}),ur=new E({props:{title:"UserLikes",local:"huggingface_hub.UserLikes",headingTag:"h3"}}),hr=new C({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/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L895"}}),mr=new E({props:{title:"CommitOperation",local:"huggingface_hub.CommitOperationAdd",headingTag:"h2"}}),_r=new C({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/v0.18.0.rc0/src/huggingface_hub/_commit_api.py#L111",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>
`}}),br=new C({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/v0.18.0.rc0/src/huggingface_hub/_commit_api.py#L183"}}),ra=new H({props:{anchor:"huggingface_hub.CommitOperationAdd.as_file.example",$$slots:{default:[dx]},$$scope:{ctx:w}}}),vr=new C({props:{name:"b64content",anchor:"huggingface_hub.CommitOperationAdd.b64content",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/_commit_api.py#L233"}}),yr=new C({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/v0.18.0.rc0/src/huggingface_hub/_commit_api.py#L50"}}),$r=new C({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"}],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/v0.18.0.rc0/src/huggingface_hub/_commit_api.py#L81"}}),xr=new E({props:{title:"CommitScheduler",local:"huggingface_hub.CommitScheduler",headingTag:"h2"}}),wr=new C({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:": bool = False"},{name:"token",val:": typing.Optional[str] = None"},{name:"allow_patterns",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"ignore_patterns",val:": typing.Union[typing.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. Defaults to <code>False</code>. This value is ignored if the repo already exist.`,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/v0.18.0.rc0/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/v0.18.0.rc0/src/huggingface_hub/_commit_scheduler.py#L29"}}),ia=new H({props:{anchor:"huggingface_hub.CommitScheduler.example",$$slots:{default:[gx]},$$scope:{ctx:w}}}),Mr=new C({props:{name:"push_to_hub",anchor:"huggingface_hub.CommitScheduler.push_to_hub",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/_commit_scheduler.py#L178"}}),la=new J({props:{warning:!0,$$slots:{default:[ux]},$$scope:{ctx:w}}}),Tr=new C({props:{name:"stop",anchor:"huggingface_hub.CommitScheduler.stop",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/_commit_scheduler.py#L140"}}),jr=new C({props:{name:"trigger",anchor:"huggingface_hub.CommitScheduler.trigger",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/_commit_scheduler.py#L155"}}),kr=new E({props:{title:"Token helper",local:"huggingface_hub.HfFolder",headingTag:"h2"}}),Jr=new C({props:{name:"class huggingface_hub.HfFolder",anchor:"huggingface_hub.HfFolder",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/utils/_hf_folder.py#L24"}}),Ur=new C({props:{name:"delete_token",anchor:"huggingface_hub.HfFolder.delete_token",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/utils/_hf_folder.py#L79"}}),Hr=new C({props:{name:"get_token",anchor:"huggingface_hub.HfFolder.get_token",parameters:[],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/utils/_hf_folder.py#L44",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The token, <code>None</code> if it doesn’t exist.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>str</code> or <code>None</code></p>
`}}),Ar=new C({props:{name:"save_token",anchor:"huggingface_hub.HfFolder.save_token",parameters:[{name:"token",val:": str"}],parametersDescription:[{anchor:"huggingface_hub.HfFolder.save_token.token",description:`<strong>token</strong> (<code>str</code>) &#x2014;
The token to save to the <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfFolder">HfFolder</a>`,name:"token"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/utils/_hf_folder.py#L29"}}),qr=new E({props:{title:"Search helpers",local:"search-helpers",headingTag:"h2"}}),Rr=new E({props:{title:"DatasetFilter",local:"huggingface_hub.DatasetFilter",headingTag:"h3"}}),Er=new C({props:{name:"class huggingface_hub.DatasetFilter",anchor:"huggingface_hub.DatasetFilter",parameters:[{name:"author",val:": typing.Optional[str] = None"},{name:"benchmark",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"dataset_name",val:": typing.Optional[str] = None"},{name:"language_creators",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"language",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"multilinguality",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"size_categories",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"task_categories",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"task_ids",val:": typing.Union[typing.List[str], str, NoneType] = None"}],parametersDescription:[{anchor:"huggingface_hub.DatasetFilter.author",description:`<strong>author</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 the original uploader (author or organization), such as
<code>facebook</code> or <code>huggingface</code>.`,name:"author"},{anchor:"huggingface_hub.DatasetFilter.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.DatasetFilter.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.DatasetFilter.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.DatasetFilter.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.DatasetFilter.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.DatasetFilter.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.DatasetFilter.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.DatasetFilter.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"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/utils/endpoint_helpers.py#L71"}}),pa=new H({props:{anchor:"huggingface_hub.DatasetFilter.example",$$slots:{default:[hx]},$$scope:{ctx:w}}}),Gr=new E({props:{title:"ModelFilter",local:"huggingface_hub.ModelFilter",headingTag:"h3"}}),Fr=new C({props:{name:"class huggingface_hub.ModelFilter",anchor:"huggingface_hub.ModelFilter",parameters:[{name:"author",val:": typing.Optional[str] = None"},{name:"library",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"language",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"model_name",val:": typing.Optional[str] = None"},{name:"task",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"trained_dataset",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"tags",val:": typing.Union[typing.List[str], str, NoneType] = None"}],parametersDescription:[{anchor:"huggingface_hub.ModelFilter.author",description:`<strong>author</strong> (<code>str</code>, <em>optional</em>) &#x2014;
A string that can be used to identify models on the Hub by the
original uploader (author or organization), such as <code>facebook</code> or
<code>huggingface</code>.`,name:"author"},{anchor:"huggingface_hub.ModelFilter.library",description:`<strong>library</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string or list of strings of foundational libraries models were
originally trained from, such as pytorch, tensorflow, or allennlp.`,name:"library"},{anchor:"huggingface_hub.ModelFilter.language",description:`<strong>language</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string or list of strings of languages, both by name and country
code, such as &#x201C;en&#x201D; or &#x201C;English&#x201D;`,name:"language"},{anchor:"huggingface_hub.ModelFilter.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.ModelFilter.task",description:`<strong>task</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string or list of strings of tasks models were designed for, such
as: &#x201C;fill-mask&#x201D; or &#x201C;automatic-speech-recognition&#x201D;`,name:"task"},{anchor:"huggingface_hub.ModelFilter.tags",description:`<strong>tags</strong> (<code>str</code> or <code>List</code>, <em>optional</em>) &#x2014;
A string tag or a list of tags to filter models on the Hub by, such
as <code>text-generation</code> or <code>spacy</code>.`,name:"tags"},{anchor:"huggingface_hub.ModelFilter.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"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/utils/endpoint_helpers.py#L157"}}),da=new H({props:{anchor:"huggingface_hub.ModelFilter.example",$$slots:{default:[mx]},$$scope:{ctx:w}}}),Dr=new E({props:{title:"DatasetSearchArguments",local:"huggingface_hub.DatasetSearchArguments",headingTag:"h3"}}),Zr=new C({props:{name:"class huggingface_hub.DatasetSearchArguments",anchor:"huggingface_hub.DatasetSearchArguments",parameters:[{name:"api",val:": Optional['HfApi'] = None"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L755"}}),ga=new H({props:{anchor:"huggingface_hub.DatasetSearchArguments.example",$$slots:{default:[fx]},$$scope:{ctx:w}}}),ua=new J({props:{warning:!0,$$slots:{default:[_x]},$$scope:{ctx:w}}}),Sr=new E({props:{title:"ModelSearchArguments",local:"huggingface_hub.ModelSearchArguments",headingTag:"h3"}}),Br=new C({props:{name:"class huggingface_hub.ModelSearchArguments",anchor:"huggingface_hub.ModelSearchArguments",parameters:[{name:"api",val:": Optional['HfApi'] = None"}],source:"https://github.com/huggingface/huggingface_hub/blob/v0.18.0.rc0/src/huggingface_hub/hf_api.py#L705"}}),ha=new H({props:{anchor:"huggingface_hub.ModelSearchArguments.example",$$slots:{default:[bx]},$$scope:{ctx:w}}}),ma=new J({props:{warning:!0,$$slots:{default:[vx]},$$scope:{ctx:w}}}),{c(){n=l("meta"),g=r(),s=l("p"),a=r(),m(h.$$.fragment),e=r(),x=l("p"),x.innerHTML=lb,Fp=r(),xa=l("p"),xa.innerHTML=cb,Dp=r(),wa=l("p"),wa.innerHTML=pb,Zp=r(),m(Ma.$$.fragment),Sp=r(),m(Ta.$$.fragment),Bp=r(),M=l("div"),m(ja.$$.fragment),Fd=r(),$e=l("div"),m(ka.$$.fragment),Dd=r(),gi=l("p"),gi.textContent=db,Zd=r(),ui=l("p"),ui.innerHTML=gb,Sd=r(),m(xn.$$.fragment),Bd=r(),bt=l("div"),m(Ca.$$.fragment),Wd=r(),hi=l("p"),hi.textContent=ub,Ld=r(),mi=l("p"),mi.innerHTML=hb,Vd=r(),vt=l("div"),m(Ia.$$.fragment),Xd=r(),fi=l("p"),fi.textContent=mb,Yd=r(),_i=l("p"),_i.innerHTML=fb,Pd=r(),xe=l("div"),m(Ja.$$.fragment),zd=r(),bi=l("p"),bi.textContent=_b,Od=r(),m(wn.$$.fragment),Qd=r(),m(Mn.$$.fragment),Kd=r(),we=l("div"),m(Ua.$$.fragment),eg=r(),vi=l("p"),vi.textContent=bb,tg=r(),m(Tn.$$.fragment),ng=r(),m(jn.$$.fragment),og=r(),kn=l("div"),m(Ha.$$.fragment),ag=r(),yi=l("p"),yi.innerHTML=vb,sg=r(),Me=l("div"),m(Aa.$$.fragment),rg=r(),$i=l("p"),$i.textContent=yb,ig=r(),xi=l("p"),xi.innerHTML=$b,lg=r(),m(Cn.$$.fragment),cg=r(),oe=l("div"),m(qa.$$.fragment),pg=r(),wi=l("p"),wi.textContent=xb,dg=r(),m(In.$$.fragment),gg=r(),m(Jn.$$.fragment),ug=r(),m(Un.$$.fragment),hg=r(),B=l("div"),m(Na.$$.fragment),mg=r(),Mi=l("p"),Mi.textContent=wb,fg=r(),Ti=l("p"),Ti.innerHTML=Mb,_g=r(),ji=l("p"),ji.textContent=Tb,bg=r(),m(Hn.$$.fragment),vg=r(),m(An.$$.fragment),yg=r(),m(qn.$$.fragment),$g=r(),X=l("div"),m(Ra.$$.fragment),xg=r(),ki=l("p"),ki.textContent=jb,wg=r(),Ci=l("p"),Ci.innerHTML=kb,Mg=r(),Ii=l("p"),Ii.innerHTML=Cb,Tg=r(),Ji=l("p"),Ji.innerHTML=Ib,jg=r(),m(Nn.$$.fragment),kg=r(),Y=l("div"),m(Ea.$$.fragment),Cg=r(),Ui=l("p"),Ui.innerHTML=Jb,Ig=r(),Hi=l("p"),Hi.innerHTML=Ub,Jg=r(),Ai=l("p"),Ai.innerHTML=Hb,Ug=r(),qi=l("p"),qi.innerHTML=Ab,Hg=r(),m(Rn.$$.fragment),Ag=r(),En=l("div"),m(Ga.$$.fragment),qg=r(),Ni=l("p"),Ni.textContent=qb,Ng=r(),Gn=l("div"),m(Fa.$$.fragment),Rg=r(),Ri=l("p"),Ri.textContent=Nb,Eg=r(),Te=l("div"),m(Da.$$.fragment),Gg=r(),Ei=l("p"),Ei.textContent=Rb,Fg=r(),Gi=l("p"),Gi.textContent=Eb,Dg=r(),m(Fn.$$.fragment),Zg=r(),Dn=l("div"),m(Za.$$.fragment),Sg=r(),Fi=l("p"),Fi.textContent=Gb,Bg=r(),je=l("div"),m(Sa.$$.fragment),Wg=r(),Di=l("p"),Di.textContent=Fb,Lg=r(),m(Zn.$$.fragment),Vg=r(),m(Sn.$$.fragment),Xg=r(),yt=l("div"),m(Ba.$$.fragment),Yg=r(),Zi=l("p"),Zi.textContent=Db,Pg=r(),m(Bn.$$.fragment),zg=r(),$t=l("div"),m(Wa.$$.fragment),Og=r(),Si=l("p"),Si.textContent=Zb,Qg=r(),m(Wn.$$.fragment),Kg=r(),xt=l("div"),m(La.$$.fragment),eu=r(),Bi=l("p"),Bi.textContent=Sb,tu=r(),Wi=l("p"),Wi.innerHTML=Bb,nu=r(),Ln=l("div"),m(Va.$$.fragment),ou=r(),Li=l("p"),Li.textContent=Wb,au=r(),wt=l("div"),m(Xa.$$.fragment),su=r(),Vi=l("p"),Vi.textContent=Lb,ru=r(),Xi=l("p"),Xi.innerHTML=Vb,iu=r(),Vn=l("div"),m(Ya.$$.fragment),lu=r(),Yi=l("p"),Yi.textContent=Xb,cu=r(),Mt=l("div"),m(Pa.$$.fragment),pu=r(),Pi=l("p"),Pi.textContent=Yb,du=r(),zi=l("p"),zi.innerHTML=Pb,gu=r(),Xn=l("div"),m(za.$$.fragment),uu=r(),Oi=l("p"),Oi.textContent=zb,hu=r(),ke=l("div"),m(Oa.$$.fragment),mu=r(),Qi=l("p"),Qi.textContent=Ob,fu=r(),Ki=l("p"),Ki.textContent=Qb,_u=r(),m(Yn.$$.fragment),bu=r(),Tt=l("div"),m(Qa.$$.fragment),vu=r(),el=l("p"),el.textContent=Kb,yu=r(),m(Pn.$$.fragment),$u=r(),jt=l("div"),m(Ka.$$.fragment),xu=r(),tl=l("p"),tl.textContent=ev,wu=r(),m(zn.$$.fragment),Mu=r(),Ce=l("div"),m(es.$$.fragment),Tu=r(),nl=l("p"),nl.textContent=tv,ju=r(),ol=l("p"),ol.innerHTML=nv,ku=r(),m(On.$$.fragment),Cu=r(),Qn=l("div"),m(ts.$$.fragment),Iu=r(),al=l("p"),al.textContent=ov,Ju=r(),Ie=l("div"),m(ns.$$.fragment),Uu=r(),sl=l("p"),sl.textContent=av,Hu=r(),rl=l("p"),rl.innerHTML=sv,Au=r(),m(Kn.$$.fragment),qu=r(),eo=l("div"),m(os.$$.fragment),Nu=r(),il=l("p"),il.textContent=rv,Ru=r(),to=l("div"),m(as.$$.fragment),Eu=r(),ll=l("p"),ll.textContent=iv,Gu=r(),ae=l("div"),m(ss.$$.fragment),Fu=r(),cl=l("p"),cl.textContent=lv,Du=r(),pl=l("p"),pl.textContent=cv,Zu=r(),m(no.$$.fragment),Su=r(),m(oo.$$.fragment),Bu=r(),ao=l("div"),m(rs.$$.fragment),Wu=r(),dl=l("p"),dl.textContent=pv,Lu=r(),kt=l("div"),m(is.$$.fragment),Vu=r(),gl=l("p"),gl.textContent=dv,Xu=r(),ul=l("p"),ul.innerHTML=gv,Yu=r(),Ct=l("div"),m(ls.$$.fragment),Pu=r(),hl=l("p"),hl.innerHTML=uv,zu=r(),ml=l("p"),ml.innerHTML=hv,Ou=r(),F=l("div"),m(cs.$$.fragment),Qu=r(),fl=l("p"),fl.textContent=mv,Ku=r(),_l=l("p"),_l.textContent=fv,eh=r(),bl=l("ul"),bl.innerHTML=_v,th=r(),vl=l("p"),vl.innerHTML=bv,nh=r(),yl=l("ul"),yl.innerHTML=vv,oh=r(),m(so.$$.fragment),ah=r(),m(ro.$$.fragment),sh=r(),Je=l("div"),m(ps.$$.fragment),rh=r(),$l=l("p"),$l.textContent=yv,ih=r(),m(io.$$.fragment),lh=r(),m(lo.$$.fragment),ch=r(),Ue=l("div"),m(ds.$$.fragment),ph=r(),xl=l("p"),xl.textContent=$v,dh=r(),wl=l("p"),wl.innerHTML=xv,gh=r(),m(co.$$.fragment),uh=r(),He=l("div"),m(gs.$$.fragment),hh=r(),Ml=l("p"),Ml.textContent=wv,mh=r(),m(po.$$.fragment),fh=r(),m(go.$$.fragment),_h=r(),A=l("div"),m(us.$$.fragment),bh=r(),Tl=l("p"),Tl.textContent=Mv,vh=r(),jl=l("p"),jl.textContent=Tv,yh=r(),kl=l("ol"),kl.innerHTML=jv,$h=r(),Cl=l("p"),Cl.textContent=kv,xh=r(),Il=l("p"),Il.textContent=Cv,wh=r(),m(uo.$$.fragment),Mh=r(),Jl=l("p"),Jl.textContent=Iv,Th=r(),m(ho.$$.fragment),jh=r(),Ul=l("p"),Ul.textContent=Jv,kh=r(),m(mo.$$.fragment),Ch=r(),Hl=l("p"),Hl.textContent=Uv,Ih=r(),m(fo.$$.fragment),Jh=r(),se=l("div"),m(hs.$$.fragment),Uh=r(),Al=l("p"),Al.textContent=Hv,Hh=r(),ql=l("p"),ql.innerHTML=Av,Ah=r(),Nl=l("p"),Nl.innerHTML=qv,qh=r(),m(_o.$$.fragment),Nh=r(),bo=l("div"),m(ms.$$.fragment),Rh=r(),Rl=l("p"),Rl.textContent=Nv,Eh=r(),Ae=l("div"),m(fs.$$.fragment),Gh=r(),El=l("p"),El.textContent=Rv,Fh=r(),m(vo.$$.fragment),Dh=r(),m(yo.$$.fragment),Zh=r(),qe=l("div"),m(_s.$$.fragment),Sh=r(),Gl=l("p"),Gl.textContent=Ev,Bh=r(),Fl=l("p"),Fl.textContent=Gv,Wh=r(),m($o.$$.fragment),Lh=r(),xo=l("div"),m(bs.$$.fragment),Vh=r(),Dl=l("p"),Dl.textContent=Fv,Xh=r(),It=l("div"),m(vs.$$.fragment),Yh=r(),Zl=l("p"),Zl.textContent=Dv,Ph=r(),Sl=l("p"),Sl.innerHTML=Zv,zh=r(),Jt=l("div"),m(ys.$$.fragment),Oh=r(),Bl=l("p"),Bl.textContent=Sv,Qh=r(),m(wo.$$.fragment),Kh=r(),Mo=l("div"),m($s.$$.fragment),em=r(),Wl=l("p"),Wl.textContent=Bv,tm=r(),Ut=l("div"),m(xs.$$.fragment),nm=r(),Ll=l("p"),Ll.textContent=Wv,om=r(),m(To.$$.fragment),am=r(),Ne=l("div"),m(ws.$$.fragment),sm=r(),Vl=l("p"),Vl.textContent=Lv,rm=r(),Xl=l("p"),Xl.textContent=Vv,im=r(),m(jo.$$.fragment),lm=r(),Re=l("div"),m(Ms.$$.fragment),cm=r(),Yl=l("p"),Yl.textContent=Xv,pm=r(),Pl=l("p"),Pl.innerHTML=Yv,dm=r(),m(ko.$$.fragment),gm=r(),Ee=l("div"),m(Ts.$$.fragment),um=r(),zl=l("p"),zl.textContent=Pv,hm=r(),Ol=l("p"),Ol.innerHTML=zv,mm=r(),Ql=l("p"),Ql.innerHTML=Ov,fm=r(),P=l("div"),m(js.$$.fragment),_m=r(),Kl=l("p"),Kl.textContent=Qv,bm=r(),ec=l("p"),ec.textContent=Kv,vm=r(),m(Co.$$.fragment),ym=r(),m(Io.$$.fragment),$m=r(),m(Jo.$$.fragment),xm=r(),Ge=l("div"),m(ks.$$.fragment),wm=r(),tc=l("p"),tc.textContent=ey,Mm=r(),m(Uo.$$.fragment),Tm=r(),m(Ho.$$.fragment),jm=r(),Ht=l("div"),m(Cs.$$.fragment),km=r(),nc=l("p"),nc.textContent=ty,Cm=r(),m(Ao.$$.fragment),Im=r(),At=l("div"),m(Is.$$.fragment),Jm=r(),oc=l("p"),oc.textContent=ny,Um=r(),m(qo.$$.fragment),Hm=r(),qt=l("div"),m(Js.$$.fragment),Am=r(),ac=l("p"),ac.textContent=oy,qm=r(),m(No.$$.fragment),Nm=r(),Nt=l("div"),m(Us.$$.fragment),Rm=r(),sc=l("p"),sc.textContent=ay,Em=r(),m(Ro.$$.fragment),Gm=r(),Fe=l("div"),m(Hs.$$.fragment),Fm=r(),rc=l("p"),rc.textContent=sy,Dm=r(),ic=l("p"),ic.innerHTML=ry,Zm=r(),lc=l("p"),lc.innerHTML=iy,Sm=r(),re=l("div"),m(As.$$.fragment),Bm=r(),cc=l("p"),cc.textContent=ly,Wm=r(),pc=l("p"),pc.innerHTML=cy,Lm=r(),dc=l("p"),dc.innerHTML=py,Vm=r(),m(Eo.$$.fragment),Xm=r(),De=l("div"),m(qs.$$.fragment),Ym=r(),gc=l("p"),gc.textContent=dy,Pm=r(),uc=l("p"),uc.innerHTML=gy,zm=r(),m(Go.$$.fragment),Om=r(),W=l("div"),m(Ns.$$.fragment),Qm=r(),hc=l("p"),hc.textContent=uy,Km=r(),mc=l("p"),mc.innerHTML=hy,ef=r(),fc=l("p"),fc.innerHTML=my,tf=r(),_c=l("ul"),_c.innerHTML=fy,nf=r(),bc=l("p"),bc.textContent=_y,of=r(),m(Fo.$$.fragment),af=r(),Ze=l("div"),m(Rs.$$.fragment),sf=r(),vc=l("p"),vc.textContent=by,rf=r(),yc=l("p"),yc.textContent=vy,lf=r(),m(Do.$$.fragment),cf=r(),z=l("div"),m(Es.$$.fragment),pf=r(),$c=l("p"),$c.textContent=yy,df=r(),xc=l("p"),xc.textContent=$y,gf=r(),m(Zo.$$.fragment),uf=r(),m(So.$$.fragment),hf=r(),m(Bo.$$.fragment),mf=r(),Se=l("div"),m(Gs.$$.fragment),ff=r(),wc=l("p"),wc.textContent=xy,_f=r(),Mc=l("p"),Mc.innerHTML=wy,bf=r(),m(Wo.$$.fragment),vf=r(),Rt=l("div"),m(Fs.$$.fragment),yf=r(),Tc=l("p"),Tc.textContent=My,$f=r(),m(Lo.$$.fragment),xf=r(),ie=l("div"),m(Ds.$$.fragment),wf=r(),jc=l("p"),jc.textContent=Ty,Mf=r(),kc=l("p"),kc.textContent=jy,Tf=r(),Cc=l("p"),Cc.innerHTML=ky,jf=r(),m(Vo.$$.fragment),kf=r(),Et=l("div"),m(Zs.$$.fragment),Cf=r(),Ic=l("p"),Ic.textContent=Cy,If=r(),m(Xo.$$.fragment),Jf=r(),le=l("div"),m(Ss.$$.fragment),Uf=r(),Jc=l("p"),Jc.textContent=Iy,Hf=r(),m(Yo.$$.fragment),Af=r(),m(Po.$$.fragment),qf=r(),m(zo.$$.fragment),Nf=r(),N=l("div"),m(Bs.$$.fragment),Rf=r(),Uc=l("p"),Uc.textContent=Jy,Ef=r(),Hc=l("p"),Hc.textContent=Uy,Gf=r(),Ac=l("p"),Ac.innerHTML=Hy,Ff=r(),qc=l("p"),qc.innerHTML=Ay,Df=r(),Nc=l("p"),Nc.innerHTML=qy,Zf=r(),Rc=l("p"),Rc.innerHTML=Ny,Sf=r(),m(Oo.$$.fragment),Bf=r(),m(Qo.$$.fragment),Wf=r(),m(Ko.$$.fragment),Lf=r(),m(ea.$$.fragment),Vf=r(),ta=l("div"),m(Ws.$$.fragment),Xf=r(),Ec=l("p"),Ec.textContent=Ry,Wp=r(),G=l("div"),m(Ls.$$.fragment),Yf=r(),Gc=l("p"),Gc.textContent=Ey,Pf=r(),Fc=l("p"),Fc.textContent=Gy,zf=r(),Dc=l("ol"),Dc.innerHTML=Fy,Of=r(),Zc=l("p"),Zc.innerHTML=Dy,Qf=r(),m(na.$$.fragment),Kf=r(),m(oa.$$.fragment),e_=r(),m(aa.$$.fragment),Lp=r(),m(Vs.$$.fragment),Vp=r(),m(Xs.$$.fragment),Xp=r(),Le=l("div"),m(Ys.$$.fragment),t_=r(),Sc=l("p"),Sc.textContent=Zy,n_=r(),Bc=l("p"),Bc.innerHTML=Sy,Yp=r(),m(Ps.$$.fragment),Pp=r(),Wt=l("div"),m(zs.$$.fragment),o_=r(),Wc=l("p"),Wc.textContent=By,zp=r(),m(Os.$$.fragment),Op=r(),Lt=l("div"),m(Qs.$$.fragment),a_=r(),Lc=l("p"),Lc.textContent=Wy,Qp=r(),m(Ks.$$.fragment),Kp=r(),Vt=l("div"),m(er.$$.fragment),s_=r(),Vc=l("p"),Vc.innerHTML=Ly,ed=r(),m(tr.$$.fragment),td=r(),Ve=l("div"),m(nr.$$.fragment),r_=r(),Xc=l("p"),Xc.textContent=Vy,i_=r(),Yc=l("p"),Yc.innerHTML=Xy,nd=r(),m(or.$$.fragment),od=r(),Xt=l("div"),m(ar.$$.fragment),l_=r(),Pc=l("p"),Pc.textContent=Yy,ad=r(),m(sr.$$.fragment),sd=r(),Yt=l("div"),m(rr.$$.fragment),c_=r(),zc=l("p"),zc.textContent=Py,rd=r(),m(ir.$$.fragment),id=r(),O=l("div"),m(lr.$$.fragment),p_=r(),Oc=l("p"),Oc.innerHTML=zy,d_=r(),Qc=l("p"),Qc.innerHTML=Oy,g_=r(),Kc=l("ul"),Kc.innerHTML=Qy,u_=r(),m(sa.$$.fragment),ld=r(),m(cr.$$.fragment),cd=r(),Xe=l("div"),m(pr.$$.fragment),h_=r(),ep=l("p"),ep.textContent=Ky,m_=r(),tp=l("p"),tp.textContent=e$,pd=r(),m(dr.$$.fragment),dd=r(),Pt=l("div"),m(gr.$$.fragment),f_=r(),np=l("p"),np.textContent=t$,gd=r(),m(ur.$$.fragment),ud=r(),zt=l("div"),m(hr.$$.fragment),__=r(),op=l("p"),op.textContent=n$,hd=r(),m(mr.$$.fragment),md=r(),fr=l("p"),fr.innerHTML=o$,fd=r(),pe=l("div"),m(_r.$$.fragment),b_=r(),ap=l("p"),ap.textContent=a$,v_=r(),Gt=l("div"),m(br.$$.fragment),y_=r(),sp=l("p"),sp.innerHTML=s$,$_=r(),m(ra.$$.fragment),x_=r(),Ft=l("div"),m(vr.$$.fragment),w_=r(),rp=l("p"),rp.innerHTML=r$,M_=r(),ip=l("p"),ip.innerHTML=i$,_d=r(),Ot=l("div"),m(yr.$$.fragment),T_=r(),lp=l("p"),lp.textContent=l$,bd=r(),Q=l("div"),m($r.$$.fragment),j_=r(),cp=l("p"),cp.textContent=c$,k_=r(),pp=l("p"),pp.textContent=p$,C_=r(),dp=l("ul"),dp.innerHTML=d$,I_=r(),gp=l("p"),gp.innerHTML=g$,vd=r(),m(xr.$$.fragment),yd=r(),D=l("div"),m(wr.$$.fragment),J_=r(),up=l("p"),up.textContent=u$,U_=r(),hp=l("p"),hp.innerHTML=h$,H_=r(),m(ia.$$.fragment),A_=r(),Be=l("div"),m(Mr.$$.fragment),q_=r(),mp=l("p"),mp.textContent=m$,N_=r(),m(la.$$.fragment),R_=r(),fp=l("p"),fp.innerHTML=f$,E_=r(),Dt=l("div"),m(Tr.$$.fragment),G_=r(),_p=l("p"),_p.textContent=_$,F_=r(),bp=l("p"),bp.textContent=b$,D_=r(),Zt=l("div"),m(jr.$$.fragment),Z_=r(),vp=l("p"),vp.innerHTML=v$,S_=r(),yp=l("p"),yp.innerHTML=y$,$d=r(),m(kr.$$.fragment),xd=r(),Cr=l("p"),Cr.innerHTML=$$,wd=r(),Ir=l("p"),Ir.innerHTML=x$,Md=r(),de=l("div"),m(Jr.$$.fragment),B_=r(),ca=l("div"),m(Ur.$$.fragment),W_=r(),$p=l("p"),$p.textContent=w$,L_=r(),We=l("div"),m(Hr.$$.fragment),V_=r(),xp=l("p"),xp.textContent=M$,X_=r(),wp=l("p"),wp.innerHTML=T$,Y_=r(),Mp=l("p"),Mp.innerHTML=j$,P_=r(),St=l("div"),m(Ar.$$.fragment),z_=r(),Tp=l("p"),Tp.textContent=k$,O_=r(),jp=l("p"),jp.innerHTML=C$,Td=r(),m(qr.$$.fragment),jd=r(),Nr=l("p"),Nr.innerHTML=I$,kd=r(),m(Rr.$$.fragment),Cd=r(),Ye=l("div"),m(Er.$$.fragment),Q_=r(),kp=l("p"),kp.textContent=J$,K_=r(),m(pa.$$.fragment),Id=r(),m(Gr.$$.fragment),Jd=r(),Pe=l("div"),m(Fr.$$.fragment),eb=r(),Cp=l("p"),Cp.textContent=U$,tb=r(),m(da.$$.fragment),Ud=r(),m(Dr.$$.fragment),Hd=r(),ge=l("div"),m(Zr.$$.fragment),nb=r(),Ip=l("p"),Ip.textContent=H$,ob=r(),m(ga.$$.fragment),ab=r(),m(ua.$$.fragment),Ad=r(),m(Sr.$$.fragment),qd=r(),ue=l("div"),m(Br.$$.fragment),sb=r(),Jp=l("p"),Jp.textContent=A$,rb=r(),m(ha.$$.fragment),ib=r(),m(ma.$$.fragment),Nd=r(),Gp=l("p"),this.h()},l(t){const u=G$("svelte-u9bgzb",document.head);n=c(u,"META",{name:!0,content:!0}),u.forEach(p),g=i(t),s=c(t,"P",{}),j(s).forEach(p),a=i(t),f(h.$$.fragment,t),e=i(t),x=c(t,"P",{"data-svelte-h":!0}),d(x)!=="svelte-vbqehn"&&(x.innerHTML=lb),Fp=i(t),xa=c(t,"P",{"data-svelte-h":!0}),d(xa)!=="svelte-ii6hxn"&&(xa.innerHTML=cb),Dp=i(t),wa=c(t,"P",{"data-svelte-h":!0}),d(wa)!=="svelte-iabfsi"&&(wa.innerHTML=pb),Zp=i(t),f(Ma.$$.fragment,t),Sp=i(t),f(Ta.$$.fragment,t),Bp=i(t),M=c(t,"DIV",{class:!0});var T=j(M);f(ja.$$.fragment,T),Fd=i(T),$e=c(T,"DIV",{class:!0});var ze=j($e);f(ka.$$.fragment,ze),Dd=i(ze),gi=c(ze,"P",{"data-svelte-h":!0}),d(gi)!=="svelte-pl69v6"&&(gi.textContent=db),Zd=i(ze),ui=c(ze,"P",{"data-svelte-h":!0}),d(ui)!=="svelte-1nzji54"&&(ui.innerHTML=gb),Sd=i(ze),f(xn.$$.fragment,ze),ze.forEach(p),Bd=i(T),bt=c(T,"DIV",{class:!0});var Qt=j(bt);f(Ca.$$.fragment,Qt),Wd=i(Qt),hi=c(Qt,"P",{"data-svelte-h":!0}),d(hi)!=="svelte-p5bez4"&&(hi.textContent=ub),Ld=i(Qt),mi=c(Qt,"P",{"data-svelte-h":!0}),d(mi)!=="svelte-eb77qn"&&(mi.innerHTML=hb),Qt.forEach(p),Vd=i(T),vt=c(T,"DIV",{class:!0});var Kt=j(vt);f(Ia.$$.fragment,Kt),Xd=i(Kt),fi=c(Kt,"P",{"data-svelte-h":!0}),d(fi)!=="svelte-1ck64b0"&&(fi.textContent=mb),Yd=i(Kt),_i=c(Kt,"P",{"data-svelte-h":!0}),d(_i)!=="svelte-xt39ay"&&(_i.innerHTML=fb),Kt.forEach(p),Pd=i(T),xe=c(T,"DIV",{class:!0});var Oe=j(xe);f(Ja.$$.fragment,Oe),zd=i(Oe),bi=c(Oe,"P",{"data-svelte-h":!0}),d(bi)!=="svelte-16mfbn3"&&(bi.textContent=_b),Od=i(Oe),f(wn.$$.fragment,Oe),Qd=i(Oe),f(Mn.$$.fragment,Oe),Oe.forEach(p),Kd=i(T),we=c(T,"DIV",{class:!0});var Qe=j(we);f(Ua.$$.fragment,Qe),eg=i(Qe),vi=c(Qe,"P",{"data-svelte-h":!0}),d(vi)!=="svelte-1xtlk3i"&&(vi.textContent=bb),tg=i(Qe),f(Tn.$$.fragment,Qe),ng=i(Qe),f(jn.$$.fragment,Qe),Qe.forEach(p),og=i(T),kn=c(T,"DIV",{class:!0});var Wr=j(kn);f(Ha.$$.fragment,Wr),ag=i(Wr),yi=c(Wr,"P",{"data-svelte-h":!0}),d(yi)!=="svelte-uo4ew"&&(yi.innerHTML=vb),Wr.forEach(p),sg=i(T),Me=c(T,"DIV",{class:!0});var Ke=j(Me);f(Aa.$$.fragment,Ke),rg=i(Ke),$i=c(Ke,"P",{"data-svelte-h":!0}),d($i)!=="svelte-8lce12"&&($i.textContent=yb),ig=i(Ke),xi=c(Ke,"P",{"data-svelte-h":!0}),d(xi)!=="svelte-1nzji54"&&(xi.innerHTML=$b),lg=i(Ke),f(Cn.$$.fragment,Ke),Ke.forEach(p),cg=i(T),oe=c(T,"DIV",{class:!0});var he=j(oe);f(qa.$$.fragment,he),pg=i(he),wi=c(he,"P",{"data-svelte-h":!0}),d(wi)!=="svelte-pth6mb"&&(wi.textContent=xb),dg=i(he),f(In.$$.fragment,he),gg=i(he),f(Jn.$$.fragment,he),ug=i(he),f(Un.$$.fragment,he),he.forEach(p),hg=i(T),B=c(T,"DIV",{class:!0});var L=j(B);f(Na.$$.fragment,L),mg=i(L),Mi=c(L,"P",{"data-svelte-h":!0}),d(Mi)!=="svelte-rmrpcj"&&(Mi.textContent=wb),fg=i(L),Ti=c(L,"P",{"data-svelte-h":!0}),d(Ti)!=="svelte-12u67q9"&&(Ti.innerHTML=Mb),_g=i(L),ji=c(L,"P",{"data-svelte-h":!0}),d(ji)!=="svelte-1c86n24"&&(ji.textContent=Tb),bg=i(L),f(Hn.$$.fragment,L),vg=i(L),f(An.$$.fragment,L),yg=i(L),f(qn.$$.fragment,L),L.forEach(p),$g=i(T),X=c(T,"DIV",{class:!0});var K=j(X);f(Ra.$$.fragment,K),xg=i(K),ki=c(K,"P",{"data-svelte-h":!0}),d(ki)!=="svelte-1g87pq3"&&(ki.textContent=jb),wg=i(K),Ci=c(K,"P",{"data-svelte-h":!0}),d(Ci)!=="svelte-1gunwzz"&&(Ci.innerHTML=kb),Mg=i(K),Ii=c(K,"P",{"data-svelte-h":!0}),d(Ii)!=="svelte-1lpoyat"&&(Ii.innerHTML=Cb),Tg=i(K),Ji=c(K,"P",{"data-svelte-h":!0}),d(Ji)!=="svelte-1uyrfzo"&&(Ji.innerHTML=Ib),jg=i(K),f(Nn.$$.fragment,K),K.forEach(p),kg=i(T),Y=c(T,"DIV",{class:!0});var ee=j(Y);f(Ea.$$.fragment,ee),Cg=i(ee),Ui=c(ee,"P",{"data-svelte-h":!0}),d(Ui)!=="svelte-1hp36yr"&&(Ui.innerHTML=Jb),Ig=i(ee),Hi=c(ee,"P",{"data-svelte-h":!0}),d(Hi)!=="svelte-j6u5mc"&&(Hi.innerHTML=Ub),Jg=i(ee),Ai=c(ee,"P",{"data-svelte-h":!0}),d(Ai)!=="svelte-s6ovs7"&&(Ai.innerHTML=Hb),Ug=i(ee),qi=c(ee,"P",{"data-svelte-h":!0}),d(qi)!=="svelte-1uyrfzo"&&(qi.innerHTML=Ab),Hg=i(ee),f(Rn.$$.fragment,ee),ee.forEach(p),Ag=i(T),En=c(T,"DIV",{class:!0});var Lr=j(En);f(Ga.$$.fragment,Lr),qg=i(Lr),Ni=c(Lr,"P",{"data-svelte-h":!0}),d(Ni)!=="svelte-12go647"&&(Ni.textContent=qb),Lr.forEach(p),Ng=i(T),Gn=c(T,"DIV",{class:!0});var Vr=j(Gn);f(Fa.$$.fragment,Vr),Rg=i(Vr),Ri=c(Vr,"P",{"data-svelte-h":!0}),d(Ri)!=="svelte-14fvvbg"&&(Ri.textContent=Nb),Vr.forEach(p),Eg=i(T),Te=c(T,"DIV",{class:!0});var et=j(Te);f(Da.$$.fragment,et),Gg=i(et),Ei=c(et,"P",{"data-svelte-h":!0}),d(Ei)!=="svelte-15pbnj8"&&(Ei.textContent=Rb),Fg=i(et),Gi=c(et,"P",{"data-svelte-h":!0}),d(Gi)!=="svelte-1fg5f6l"&&(Gi.textContent=Eb),Dg=i(et),f(Fn.$$.fragment,et),et.forEach(p),Zg=i(T),Dn=c(T,"DIV",{class:!0});var Xr=j(Dn);f(Za.$$.fragment,Xr),Sg=i(Xr),Fi=c(Xr,"P",{"data-svelte-h":!0}),d(Fi)!=="svelte-1n7quvg"&&(Fi.textContent=Gb),Xr.forEach(p),Bg=i(T),je=c(T,"DIV",{class:!0});var tt=j(je);f(Sa.$$.fragment,tt),Wg=i(tt),Di=c(tt,"P",{"data-svelte-h":!0}),d(Di)!=="svelte-1s6a009"&&(Di.textContent=Fb),Lg=i(tt),f(Zn.$$.fragment,tt),Vg=i(tt),f(Sn.$$.fragment,tt),tt.forEach(p),Xg=i(T),yt=c(T,"DIV",{class:!0});var en=j(yt);f(Ba.$$.fragment,en),Yg=i(en),Zi=c(en,"P",{"data-svelte-h":!0}),d(Zi)!=="svelte-gmiayq"&&(Zi.textContent=Db),Pg=i(en),f(Bn.$$.fragment,en),en.forEach(p),zg=i(T),$t=c(T,"DIV",{class:!0});var tn=j($t);f(Wa.$$.fragment,tn),Og=i(tn),Si=c(tn,"P",{"data-svelte-h":!0}),d(Si)!=="svelte-l8j8qy"&&(Si.textContent=Zb),Qg=i(tn),f(Wn.$$.fragment,tn),tn.forEach(p),Kg=i(T),xt=c(T,"DIV",{class:!0});var nn=j(xt);f(La.$$.fragment,nn),eu=i(nn),Bi=c(nn,"P",{"data-svelte-h":!0}),d(Bi)!=="svelte-1gp9ysc"&&(Bi.textContent=Sb),tu=i(nn),Wi=c(nn,"P",{"data-svelte-h":!0}),d(Wi)!=="svelte-ivoi1f"&&(Wi.innerHTML=Bb),nn.forEach(p),nu=i(T),Ln=c(T,"DIV",{class:!0});var Yr=j(Ln);f(Va.$$.fragment,Yr),ou=i(Yr),Li=c(Yr,"P",{"data-svelte-h":!0}),d(Li)!=="svelte-17rezgl"&&(Li.textContent=Wb),Yr.forEach(p),au=i(T),wt=c(T,"DIV",{class:!0});var on=j(wt);f(Xa.$$.fragment,on),su=i(on),Vi=c(on,"P",{"data-svelte-h":!0}),d(Vi)!=="svelte-1lh7ib8"&&(Vi.textContent=Lb),ru=i(on),Xi=c(on,"P",{"data-svelte-h":!0}),d(Xi)!=="svelte-eb77qn"&&(Xi.innerHTML=Vb),on.forEach(p),iu=i(T),Vn=c(T,"DIV",{class:!0});var Pr=j(Vn);f(Ya.$$.fragment,Pr),lu=i(Pr),Yi=c(Pr,"P",{"data-svelte-h":!0}),d(Yi)!=="svelte-2wnalp"&&(Yi.textContent=Xb),Pr.forEach(p),cu=i(T),Mt=c(T,"DIV",{class:!0});var an=j(Mt);f(Pa.$$.fragment,an),pu=i(an),Pi=c(an,"P",{"data-svelte-h":!0}),d(Pi)!=="svelte-idifvk"&&(Pi.textContent=Yb),du=i(an),zi=c(an,"P",{"data-svelte-h":!0}),d(zi)!=="svelte-xt39ay"&&(zi.innerHTML=Pb),an.forEach(p),gu=i(T),Xn=c(T,"DIV",{class:!0});var zr=j(Xn);f(za.$$.fragment,zr),uu=i(zr),Oi=c(zr,"P",{"data-svelte-h":!0}),d(Oi)!=="svelte-1k595hs"&&(Oi.textContent=zb),zr.forEach(p),hu=i(T),ke=c(T,"DIV",{class:!0});var nt=j(ke);f(Oa.$$.fragment,nt),mu=i(nt),Qi=c(nt,"P",{"data-svelte-h":!0}),d(Qi)!=="svelte-106oizm"&&(Qi.textContent=Ob),fu=i(nt),Ki=c(nt,"P",{"data-svelte-h":!0}),d(Ki)!=="svelte-1tfv4hv"&&(Ki.textContent=Qb),_u=i(nt),f(Yn.$$.fragment,nt),nt.forEach(p),bu=i(T),Tt=c(T,"DIV",{class:!0});var sn=j(Tt);f(Qa.$$.fragment,sn),vu=i(sn),el=c(sn,"P",{"data-svelte-h":!0}),d(el)!=="svelte-13117mw"&&(el.textContent=Kb),yu=i(sn),f(Pn.$$.fragment,sn),sn.forEach(p),$u=i(T),jt=c(T,"DIV",{class:!0});var rn=j(jt);f(Ka.$$.fragment,rn),xu=i(rn),tl=c(rn,"P",{"data-svelte-h":!0}),d(tl)!=="svelte-sivey2"&&(tl.textContent=ev),wu=i(rn),f(zn.$$.fragment,rn),rn.forEach(p),Mu=i(T),Ce=c(T,"DIV",{class:!0});var ot=j(Ce);f(es.$$.fragment,ot),Tu=i(ot),nl=c(ot,"P",{"data-svelte-h":!0}),d(nl)!=="svelte-1niezvm"&&(nl.textContent=tv),ju=i(ot),ol=c(ot,"P",{"data-svelte-h":!0}),d(ol)!=="svelte-1nzji54"&&(ol.innerHTML=nv),ku=i(ot),f(On.$$.fragment,ot),ot.forEach(p),Cu=i(T),Qn=c(T,"DIV",{class:!0});var Or=j(Qn);f(ts.$$.fragment,Or),Iu=i(Or),al=c(Or,"P",{"data-svelte-h":!0}),d(al)!=="svelte-1o179eo"&&(al.textContent=ov),Or.forEach(p),Ju=i(T),Ie=c(T,"DIV",{class:!0});var at=j(Ie);f(ns.$$.fragment,at),Uu=i(at),sl=c(at,"P",{"data-svelte-h":!0}),d(sl)!=="svelte-1av5ht1"&&(sl.textContent=av),Hu=i(at),rl=c(at,"P",{"data-svelte-h":!0}),d(rl)!=="svelte-1uyrfzo"&&(rl.innerHTML=sv),Au=i(at),f(Kn.$$.fragment,at),at.forEach(p),qu=i(T),eo=c(T,"DIV",{class:!0});var Qr=j(eo);f(os.$$.fragment,Qr),Nu=i(Qr),il=c(Qr,"P",{"data-svelte-h":!0}),d(il)!=="svelte-1a5sg0y"&&(il.textContent=rv),Qr.forEach(p),Ru=i(T),to=c(T,"DIV",{class:!0});var Kr=j(to);f(as.$$.fragment,Kr),Eu=i(Kr),ll=c(Kr,"P",{"data-svelte-h":!0}),d(ll)!=="svelte-d99h9l"&&(ll.textContent=iv),Kr.forEach(p),Gu=i(T),ae=c(T,"DIV",{class:!0});var me=j(ae);f(ss.$$.fragment,me),Fu=i(me),cl=c(me,"P",{"data-svelte-h":!0}),d(cl)!=="svelte-1ipows8"&&(cl.textContent=lv),Du=i(me),pl=c(me,"P",{"data-svelte-h":!0}),d(pl)!=="svelte-11lpom8"&&(pl.textContent=cv),Zu=i(me),f(no.$$.fragment,me),Su=i(me),f(oo.$$.fragment,me),me.forEach(p),Bu=i(T),ao=c(T,"DIV",{class:!0});var ei=j(ao);f(rs.$$.fragment,ei),Wu=i(ei),dl=c(ei,"P",{"data-svelte-h":!0}),d(dl)!=="svelte-130dnbj"&&(dl.textContent=pv),ei.forEach(p),Lu=i(T),kt=c(T,"DIV",{class:!0});var ln=j(kt);f(is.$$.fragment,ln),Vu=i(ln),gl=c(ln,"P",{"data-svelte-h":!0}),d(gl)!=="svelte-20b1wq"&&(gl.textContent=dv),Xu=i(ln),ul=c(ln,"P",{"data-svelte-h":!0}),d(ul)!=="svelte-xt39ay"&&(ul.innerHTML=gv),ln.forEach(p),Yu=i(T),Ct=c(T,"DIV",{class:!0});var cn=j(Ct);f(ls.$$.fragment,cn),Pu=i(cn),hl=c(cn,"P",{"data-svelte-h":!0}),d(hl)!=="svelte-1vu5uho"&&(hl.innerHTML=uv),zu=i(cn),ml=c(cn,"P",{"data-svelte-h":!0}),d(ml)!=="svelte-65kopl"&&(ml.innerHTML=hv),cn.forEach(p),Ou=i(T),F=c(T,"DIV",{class:!0});var Z=j(F);f(cs.$$.fragment,Z),Qu=i(Z),fl=c(Z,"P",{"data-svelte-h":!0}),d(fl)!=="svelte-gsbehr"&&(fl.textContent=mv),Ku=i(Z),_l=c(Z,"P",{"data-svelte-h":!0}),d(_l)!=="svelte-1rkm1l0"&&(_l.textContent=fv),eh=i(Z),bl=c(Z,"UL",{"data-svelte-h":!0}),d(bl)!=="svelte-1t8qnom"&&(bl.innerHTML=_v),th=i(Z),vl=c(Z,"P",{"data-svelte-h":!0}),d(vl)!=="svelte-ph9tk9"&&(vl.innerHTML=bv),nh=i(Z),yl=c(Z,"UL",{"data-svelte-h":!0}),d(yl)!=="svelte-16eulop"&&(yl.innerHTML=vv),oh=i(Z),f(so.$$.fragment,Z),ah=i(Z),f(ro.$$.fragment,Z),Z.forEach(p),sh=i(T),Je=c(T,"DIV",{class:!0});var st=j(Je);f(ps.$$.fragment,st),rh=i(st),$l=c(st,"P",{"data-svelte-h":!0}),d($l)!=="svelte-1ia1m9g"&&($l.textContent=yv),ih=i(st),f(io.$$.fragment,st),lh=i(st),f(lo.$$.fragment,st),st.forEach(p),ch=i(T),Ue=c(T,"DIV",{class:!0});var rt=j(Ue);f(ds.$$.fragment,rt),ph=i(rt),xl=c(rt,"P",{"data-svelte-h":!0}),d(xl)!=="svelte-s9iia3"&&(xl.textContent=$v),dh=i(rt),wl=c(rt,"P",{"data-svelte-h":!0}),d(wl)!=="svelte-1ea0tqt"&&(wl.innerHTML=xv),gh=i(rt),f(co.$$.fragment,rt),rt.forEach(p),uh=i(T),He=c(T,"DIV",{class:!0});var it=j(He);f(gs.$$.fragment,it),hh=i(it),Ml=c(it,"P",{"data-svelte-h":!0}),d(Ml)!=="svelte-f61qi5"&&(Ml.textContent=wv),mh=i(it),f(po.$$.fragment,it),fh=i(it),f(go.$$.fragment,it),it.forEach(p),_h=i(T),A=c(T,"DIV",{class:!0});var q=j(A);f(us.$$.fragment,q),bh=i(q),Tl=c(q,"P",{"data-svelte-h":!0}),d(Tl)!=="svelte-1coofhx"&&(Tl.textContent=Mv),vh=i(q),jl=c(q,"P",{"data-svelte-h":!0}),d(jl)!=="svelte-o80s4k"&&(jl.textContent=Tv),yh=i(q),kl=c(q,"OL",{"data-svelte-h":!0}),d(kl)!=="svelte-isam2w"&&(kl.innerHTML=jv),$h=i(q),Cl=c(q,"P",{"data-svelte-h":!0}),d(Cl)!=="svelte-kvfsh7"&&(Cl.textContent=kv),xh=i(q),Il=c(q,"P",{"data-svelte-h":!0}),d(Il)!=="svelte-1lj0qik"&&(Il.textContent=Cv),wh=i(q),f(uo.$$.fragment,q),Mh=i(q),Jl=c(q,"P",{"data-svelte-h":!0}),d(Jl)!=="svelte-1weh6a3"&&(Jl.textContent=Iv),Th=i(q),f(ho.$$.fragment,q),jh=i(q),Ul=c(q,"P",{"data-svelte-h":!0}),d(Ul)!=="svelte-8it0p3"&&(Ul.textContent=Jv),kh=i(q),f(mo.$$.fragment,q),Ch=i(q),Hl=c(q,"P",{"data-svelte-h":!0}),d(Hl)!=="svelte-toc2c"&&(Hl.textContent=Uv),Ih=i(q),f(fo.$$.fragment,q),q.forEach(p),Jh=i(T),se=c(T,"DIV",{class:!0});var fe=j(se);f(hs.$$.fragment,fe),Uh=i(fe),Al=c(fe,"P",{"data-svelte-h":!0}),d(Al)!=="svelte-lufmym"&&(Al.textContent=Hv),Hh=i(fe),ql=c(fe,"P",{"data-svelte-h":!0}),d(ql)!=="svelte-517n25"&&(ql.innerHTML=Av),Ah=i(fe),Nl=c(fe,"P",{"data-svelte-h":!0}),d(Nl)!=="svelte-7b44lf"&&(Nl.innerHTML=qv),qh=i(fe),f(_o.$$.fragment,fe),fe.forEach(p),Nh=i(T),bo=c(T,"DIV",{class:!0});var ti=j(bo);f(ms.$$.fragment,ti),Rh=i(ti),Rl=c(ti,"P",{"data-svelte-h":!0}),d(Rl)!=="svelte-1cgcdt7"&&(Rl.textContent=Nv),ti.forEach(p),Eh=i(T),Ae=c(T,"DIV",{class:!0});var lt=j(Ae);f(fs.$$.fragment,lt),Gh=i(lt),El=c(lt,"P",{"data-svelte-h":!0}),d(El)!=="svelte-7xr8du"&&(El.textContent=Rv),Fh=i(lt),f(vo.$$.fragment,lt),Dh=i(lt),f(yo.$$.fragment,lt),lt.forEach(p),Zh=i(T),qe=c(T,"DIV",{class:!0});var ct=j(qe);f(_s.$$.fragment,ct),Sh=i(ct),Gl=c(ct,"P",{"data-svelte-h":!0}),d(Gl)!=="svelte-1vpgi7z"&&(Gl.textContent=Ev),Bh=i(ct),Fl=c(ct,"P",{"data-svelte-h":!0}),d(Fl)!=="svelte-11ohrqa"&&(Fl.textContent=Gv),Wh=i(ct),f($o.$$.fragment,ct),ct.forEach(p),Lh=i(T),xo=c(T,"DIV",{class:!0});var ni=j(xo);f(bs.$$.fragment,ni),Vh=i(ni),Dl=c(ni,"P",{"data-svelte-h":!0}),d(Dl)!=="svelte-wnw53w"&&(Dl.textContent=Fv),ni.forEach(p),Xh=i(T),It=c(T,"DIV",{class:!0});var pn=j(It);f(vs.$$.fragment,pn),Yh=i(pn),Zl=c(pn,"P",{"data-svelte-h":!0}),d(Zl)!=="svelte-b4yhj"&&(Zl.textContent=Dv),Ph=i(pn),Sl=c(pn,"P",{"data-svelte-h":!0}),d(Sl)!=="svelte-r5n68r"&&(Sl.innerHTML=Zv),pn.forEach(p),zh=i(T),Jt=c(T,"DIV",{class:!0});var dn=j(Jt);f(ys.$$.fragment,dn),Oh=i(dn),Bl=c(dn,"P",{"data-svelte-h":!0}),d(Bl)!=="svelte-12l2ojn"&&(Bl.textContent=Sv),Qh=i(dn),f(wo.$$.fragment,dn),dn.forEach(p),Kh=i(T),Mo=c(T,"DIV",{class:!0});var oi=j(Mo);f($s.$$.fragment,oi),em=i(oi),Wl=c(oi,"P",{"data-svelte-h":!0}),d(Wl)!=="svelte-uowooj"&&(Wl.textContent=Bv),oi.forEach(p),tm=i(T),Ut=c(T,"DIV",{class:!0});var gn=j(Ut);f(xs.$$.fragment,gn),nm=i(gn),Ll=c(gn,"P",{"data-svelte-h":!0}),d(Ll)!=="svelte-tnvivq"&&(Ll.textContent=Wv),om=i(gn),f(To.$$.fragment,gn),gn.forEach(p),am=i(T),Ne=c(T,"DIV",{class:!0});var pt=j(Ne);f(ws.$$.fragment,pt),sm=i(pt),Vl=c(pt,"P",{"data-svelte-h":!0}),d(Vl)!=="svelte-1qa90id"&&(Vl.textContent=Lv),rm=i(pt),Xl=c(pt,"P",{"data-svelte-h":!0}),d(Xl)!=="svelte-1knrefm"&&(Xl.textContent=Vv),im=i(pt),f(jo.$$.fragment,pt),pt.forEach(p),lm=i(T),Re=c(T,"DIV",{class:!0});var dt=j(Re);f(Ms.$$.fragment,dt),cm=i(dt),Yl=c(dt,"P",{"data-svelte-h":!0}),d(Yl)!=="svelte-3q13qo"&&(Yl.textContent=Xv),pm=i(dt),Pl=c(dt,"P",{"data-svelte-h":!0}),d(Pl)!=="svelte-1p5ibr4"&&(Pl.innerHTML=Yv),dm=i(dt),f(ko.$$.fragment,dt),dt.forEach(p),gm=i(T),Ee=c(T,"DIV",{class:!0});var gt=j(Ee);f(Ts.$$.fragment,gt),um=i(gt),zl=c(gt,"P",{"data-svelte-h":!0}),d(zl)!=="svelte-keb9bv"&&(zl.textContent=Pv),hm=i(gt),Ol=c(gt,"P",{"data-svelte-h":!0}),d(Ol)!=="svelte-lmocnw"&&(Ol.innerHTML=zv),mm=i(gt),Ql=c(gt,"P",{"data-svelte-h":!0}),d(Ql)!=="svelte-12do56u"&&(Ql.innerHTML=Ov),gt.forEach(p),fm=i(T),P=c(T,"DIV",{class:!0});var te=j(P);f(js.$$.fragment,te),_m=i(te),Kl=c(te,"P",{"data-svelte-h":!0}),d(Kl)!=="svelte-13c8xg2"&&(Kl.textContent=Qv),bm=i(te),ec=c(te,"P",{"data-svelte-h":!0}),d(ec)!=="svelte-5htwml"&&(ec.textContent=Kv),vm=i(te),f(Co.$$.fragment,te),ym=i(te),f(Io.$$.fragment,te),$m=i(te),f(Jo.$$.fragment,te),te.forEach(p),xm=i(T),Ge=c(T,"DIV",{class:!0});var ut=j(Ge);f(ks.$$.fragment,ut),wm=i(ut),tc=c(ut,"P",{"data-svelte-h":!0}),d(tc)!=="svelte-vjmct2"&&(tc.textContent=ey),Mm=i(ut),f(Uo.$$.fragment,ut),Tm=i(ut),f(Ho.$$.fragment,ut),ut.forEach(p),jm=i(T),Ht=c(T,"DIV",{class:!0});var un=j(Ht);f(Cs.$$.fragment,un),km=i(un),nc=c(un,"P",{"data-svelte-h":!0}),d(nc)!=="svelte-1h0ufuc"&&(nc.textContent=ty),Cm=i(un),f(Ao.$$.fragment,un),un.forEach(p),Im=i(T),At=c(T,"DIV",{class:!0});var hn=j(At);f(Is.$$.fragment,hn),Jm=i(hn),oc=c(hn,"P",{"data-svelte-h":!0}),d(oc)!=="svelte-1my46uo"&&(oc.textContent=ny),Um=i(hn),f(qo.$$.fragment,hn),hn.forEach(p),Hm=i(T),qt=c(T,"DIV",{class:!0});var mn=j(qt);f(Js.$$.fragment,mn),Am=i(mn),ac=c(mn,"P",{"data-svelte-h":!0}),d(ac)!=="svelte-5pcxuz"&&(ac.textContent=oy),qm=i(mn),f(No.$$.fragment,mn),mn.forEach(p),Nm=i(T),Nt=c(T,"DIV",{class:!0});var fn=j(Nt);f(Us.$$.fragment,fn),Rm=i(fn),sc=c(fn,"P",{"data-svelte-h":!0}),d(sc)!=="svelte-10aqzwl"&&(sc.textContent=ay),Em=i(fn),f(Ro.$$.fragment,fn),fn.forEach(p),Gm=i(T),Fe=c(T,"DIV",{class:!0});var ht=j(Fe);f(Hs.$$.fragment,ht),Fm=i(ht),rc=c(ht,"P",{"data-svelte-h":!0}),d(rc)!=="svelte-38gi4y"&&(rc.textContent=sy),Dm=i(ht),ic=c(ht,"P",{"data-svelte-h":!0}),d(ic)!=="svelte-got5s"&&(ic.innerHTML=ry),Zm=i(ht),lc=c(ht,"P",{"data-svelte-h":!0}),d(lc)!=="svelte-12do56u"&&(lc.innerHTML=iy),ht.forEach(p),Sm=i(T),re=c(T,"DIV",{class:!0});var _e=j(re);f(As.$$.fragment,_e),Bm=i(_e),cc=c(_e,"P",{"data-svelte-h":!0}),d(cc)!=="svelte-i4rj9b"&&(cc.textContent=ly),Wm=i(_e),pc=c(_e,"P",{"data-svelte-h":!0}),d(pc)!=="svelte-15iw2gd"&&(pc.innerHTML=cy),Lm=i(_e),dc=c(_e,"P",{"data-svelte-h":!0}),d(dc)!=="svelte-av9n8x"&&(dc.innerHTML=py),Vm=i(_e),f(Eo.$$.fragment,_e),_e.forEach(p),Xm=i(T),De=c(T,"DIV",{class:!0});var mt=j(De);f(qs.$$.fragment,mt),Ym=i(mt),gc=c(mt,"P",{"data-svelte-h":!0}),d(gc)!=="svelte-h8ye5s"&&(gc.textContent=dy),Pm=i(mt),uc=c(mt,"P",{"data-svelte-h":!0}),d(uc)!=="svelte-1u14fwi"&&(uc.innerHTML=gy),zm=i(mt),f(Go.$$.fragment,mt),mt.forEach(p),Om=i(T),W=c(T,"DIV",{class:!0});var V=j(W);f(Ns.$$.fragment,V),Qm=i(V),hc=c(V,"P",{"data-svelte-h":!0}),d(hc)!=="svelte-t9d1pp"&&(hc.textContent=uy),Km=i(V),mc=c(V,"P",{"data-svelte-h":!0}),d(mc)!=="svelte-xxyl9g"&&(mc.innerHTML=hy),ef=i(V),fc=c(V,"P",{"data-svelte-h":!0}),d(fc)!=="svelte-ph9tk9"&&(fc.innerHTML=my),tf=i(V),_c=c(V,"UL",{"data-svelte-h":!0}),d(_c)!=="svelte-16eulop"&&(_c.innerHTML=fy),nf=i(V),bc=c(V,"P",{"data-svelte-h":!0}),d(bc)!=="svelte-k7g81c"&&(bc.textContent=_y),of=i(V),f(Fo.$$.fragment,V),V.forEach(p),af=i(T),Ze=c(T,"DIV",{class:!0});var ft=j(Ze);f(Rs.$$.fragment,ft),sf=i(ft),vc=c(ft,"P",{"data-svelte-h":!0}),d(vc)!=="svelte-1lgtcoe"&&(vc.textContent=by),rf=i(ft),yc=c(ft,"P",{"data-svelte-h":!0}),d(yc)!=="svelte-zugpyn"&&(yc.textContent=vy),lf=i(ft),f(Do.$$.fragment,ft),ft.forEach(p),cf=i(T),z=c(T,"DIV",{class:!0});var ne=j(z);f(Es.$$.fragment,ne),pf=i(ne),$c=c(ne,"P",{"data-svelte-h":!0}),d($c)!=="svelte-1j5taqn"&&($c.textContent=yy),df=i(ne),xc=c(ne,"P",{"data-svelte-h":!0}),d(xc)!=="svelte-1oloczu"&&(xc.textContent=$y),gf=i(ne),f(Zo.$$.fragment,ne),uf=i(ne),f(So.$$.fragment,ne),hf=i(ne),f(Bo.$$.fragment,ne),ne.forEach(p),mf=i(T),Se=c(T,"DIV",{class:!0});var _t=j(Se);f(Gs.$$.fragment,_t),ff=i(_t),wc=c(_t,"P",{"data-svelte-h":!0}),d(wc)!=="svelte-z82c1y"&&(wc.textContent=xy),_f=i(_t),Mc=c(_t,"P",{"data-svelte-h":!0}),d(Mc)!=="svelte-r5n68r"&&(Mc.innerHTML=wy),bf=i(_t),f(Wo.$$.fragment,_t),_t.forEach(p),vf=i(T),Rt=c(T,"DIV",{class:!0});var _n=j(Rt);f(Fs.$$.fragment,_n),yf=i(_n),Tc=c(_n,"P",{"data-svelte-h":!0}),d(Tc)!=="svelte-klf1wz"&&(Tc.textContent=My),$f=i(_n),f(Lo.$$.fragment,_n),_n.forEach(p),xf=i(T),ie=c(T,"DIV",{class:!0});var be=j(ie);f(Ds.$$.fragment,be),wf=i(be),jc=c(be,"P",{"data-svelte-h":!0}),d(jc)!=="svelte-6tdefx"&&(jc.textContent=Ty),Mf=i(be),kc=c(be,"P",{"data-svelte-h":!0}),d(kc)!=="svelte-sjutdt"&&(kc.textContent=jy),Tf=i(be),Cc=c(be,"P",{"data-svelte-h":!0}),d(Cc)!=="svelte-1nzji54"&&(Cc.innerHTML=ky),jf=i(be),f(Vo.$$.fragment,be),be.forEach(p),kf=i(T),Et=c(T,"DIV",{class:!0});var bn=j(Et);f(Zs.$$.fragment,bn),Cf=i(bn),Ic=c(bn,"P",{"data-svelte-h":!0}),d(Ic)!=="svelte-1icdi1y"&&(Ic.textContent=Cy),If=i(bn),f(Xo.$$.fragment,bn),bn.forEach(p),Jf=i(T),le=c(T,"DIV",{class:!0});var ve=j(le);f(Ss.$$.fragment,ve),Uf=i(ve),Jc=c(ve,"P",{"data-svelte-h":!0}),d(Jc)!=="svelte-kukbcr"&&(Jc.textContent=Iy),Hf=i(ve),f(Yo.$$.fragment,ve),Af=i(ve),f(Po.$$.fragment,ve),qf=i(ve),f(zo.$$.fragment,ve),ve.forEach(p),Nf=i(T),N=c(T,"DIV",{class:!0});var R=j(N);f(Bs.$$.fragment,R),Rf=i(R),Uc=c(R,"P",{"data-svelte-h":!0}),d(Uc)!=="svelte-1nvey1d"&&(Uc.textContent=Jy),Ef=i(R),Hc=c(R,"P",{"data-svelte-h":!0}),d(Hc)!=="svelte-1vu0l4l"&&(Hc.textContent=Uy),Gf=i(R),Ac=c(R,"P",{"data-svelte-h":!0}),d(Ac)!=="svelte-adrskp"&&(Ac.innerHTML=Hy),Ff=i(R),qc=c(R,"P",{"data-svelte-h":!0}),d(qc)!=="svelte-1m6fudm"&&(qc.innerHTML=Ay),Df=i(R),Nc=c(R,"P",{"data-svelte-h":!0}),d(Nc)!=="svelte-nojwu3"&&(Nc.innerHTML=qy),Zf=i(R),Rc=c(R,"P",{"data-svelte-h":!0}),d(Rc)!=="svelte-90ewc6"&&(Rc.innerHTML=Ny),Sf=i(R),f(Oo.$$.fragment,R),Bf=i(R),f(Qo.$$.fragment,R),Wf=i(R),f(Ko.$$.fragment,R),Lf=i(R),f(ea.$$.fragment,R),R.forEach(p),Vf=i(T),ta=c(T,"DIV",{class:!0});var ai=j(ta);f(Ws.$$.fragment,ai),Xf=i(ai),Ec=c(ai,"P",{"data-svelte-h":!0}),d(Ec)!=="svelte-l7gr50"&&(Ec.textContent=Ry),ai.forEach(p),T.forEach(p),Wp=i(t),G=c(t,"DIV",{class:!0});var S=j(G);f(Ls.$$.fragment,S),Yf=i(S),Gc=c(S,"P",{"data-svelte-h":!0}),d(Gc)!=="svelte-1qftj6h"&&(Gc.textContent=Ey),Pf=i(S),Fc=c(S,"P",{"data-svelte-h":!0}),d(Fc)!=="svelte-xomfnq"&&(Fc.textContent=Gy),zf=i(S),Dc=c(S,"OL",{"data-svelte-h":!0}),d(Dc)!=="svelte-2mvyin"&&(Dc.innerHTML=Fy),Of=i(S),Zc=c(S,"P",{"data-svelte-h":!0}),d(Zc)!=="svelte-6du8u1"&&(Zc.innerHTML=Dy),Qf=i(S),f(na.$$.fragment,S),Kf=i(S),f(oa.$$.fragment,S),e_=i(S),f(aa.$$.fragment,S),S.forEach(p),Lp=i(t),f(Vs.$$.fragment,t),Vp=i(t),f(Xs.$$.fragment,t),Xp=i(t),Le=c(t,"DIV",{class:!0});var vn=j(Le);f(Ys.$$.fragment,vn),t_=i(vn),Sc=c(vn,"P",{"data-svelte-h":!0}),d(Sc)!=="svelte-n4j72f"&&(Sc.textContent=Zy),n_=i(vn),Bc=c(vn,"P",{"data-svelte-h":!0}),d(Bc)!=="svelte-fcak6w"&&(Bc.innerHTML=Sy),vn.forEach(p),Yp=i(t),f(Ps.$$.fragment,t),Pp=i(t),Wt=c(t,"DIV",{class:!0});var si=j(Wt);f(zs.$$.fragment,si),o_=i(si),Wc=c(si,"P",{"data-svelte-h":!0}),d(Wc)!=="svelte-b6z3wm"&&(Wc.textContent=By),si.forEach(p),zp=i(t),f(Os.$$.fragment,t),Op=i(t),Lt=c(t,"DIV",{class:!0});var ri=j(Lt);f(Qs.$$.fragment,ri),a_=i(ri),Lc=c(ri,"P",{"data-svelte-h":!0}),d(Lc)!=="svelte-1dp8z99"&&(Lc.textContent=Wy),ri.forEach(p),Qp=i(t),f(Ks.$$.fragment,t),Kp=i(t),Vt=c(t,"DIV",{class:!0});var ii=j(Vt);f(er.$$.fragment,ii),s_=i(ii),Vc=c(ii,"P",{"data-svelte-h":!0}),d(Vc)!=="svelte-1s5undj"&&(Vc.innerHTML=Ly),ii.forEach(p),ed=i(t),f(tr.$$.fragment,t),td=i(t),Ve=c(t,"DIV",{class:!0});var yn=j(Ve);f(nr.$$.fragment,yn),r_=i(yn),Xc=c(yn,"P",{"data-svelte-h":!0}),d(Xc)!=="svelte-8pkqdq"&&(Xc.textContent=Vy),i_=i(yn),Yc=c(yn,"P",{"data-svelte-h":!0}),d(Yc)!=="svelte-e5l2l"&&(Yc.innerHTML=Xy),yn.forEach(p),nd=i(t),f(or.$$.fragment,t),od=i(t),Xt=c(t,"DIV",{class:!0});var li=j(Xt);f(ar.$$.fragment,li),l_=i(li),Pc=c(li,"P",{"data-svelte-h":!0}),d(Pc)!=="svelte-1iogu8t"&&(Pc.textContent=Yy),li.forEach(p),ad=i(t),f(sr.$$.fragment,t),sd=i(t),Yt=c(t,"DIV",{class:!0});var ci=j(Yt);f(rr.$$.fragment,ci),c_=i(ci),zc=c(ci,"P",{"data-svelte-h":!0}),d(zc)!=="svelte-7nivf4"&&(zc.textContent=Py),ci.forEach(p),rd=i(t),f(ir.$$.fragment,t),id=i(t),O=c(t,"DIV",{class:!0});var ye=j(O);f(lr.$$.fragment,ye),p_=i(ye),Oc=c(ye,"P",{"data-svelte-h":!0}),d(Oc)!=="svelte-1v78htg"&&(Oc.innerHTML=zy),d_=i(ye),Qc=c(ye,"P",{"data-svelte-h":!0}),d(Qc)!=="svelte-murgw9"&&(Qc.innerHTML=Oy),g_=i(ye),Kc=c(ye,"UL",{"data-svelte-h":!0}),d(Kc)!=="svelte-1mrng5l"&&(Kc.innerHTML=Qy),u_=i(ye),f(sa.$$.fragment,ye),ye.forEach(p),ld=i(t),f(cr.$$.fragment,t),cd=i(t),Xe=c(t,"DIV",{class:!0});var $n=j(Xe);f(pr.$$.fragment,$n),h_=i($n),ep=c($n,"P",{"data-svelte-h":!0}),d(ep)!=="svelte-1pacqzs"&&(ep.textContent=Ky),m_=i($n),tp=c($n,"P",{"data-svelte-h":!0}),d(tp)!=="svelte-y364y7"&&(tp.textContent=e$),$n.forEach(p),pd=i(t),f(dr.$$.fragment,t),dd=i(t),Pt=c(t,"DIV",{class:!0});var pi=j(Pt);f(gr.$$.fragment,pi),f_=i(pi),np=c(pi,"P",{"data-svelte-h":!0}),d(np)!=="svelte-f10xp"&&(np.textContent=t$),pi.forEach(p),gd=i(t),f(ur.$$.fragment,t),ud=i(t),zt=c(t,"DIV",{class:!0});var di=j(zt);f(hr.$$.fragment,di),__=i(di),op=c(di,"P",{"data-svelte-h":!0}),d(op)!=="svelte-s36het"&&(op.textContent=n$),di.forEach(p),hd=i(t),f(mr.$$.fragment,t),md=i(t),fr=c(t,"P",{"data-svelte-h":!0}),d(fr)!=="svelte-eea1xn"&&(fr.innerHTML=o$),fd=i(t),pe=c(t,"DIV",{class:!0});var fa=j(pe);f(_r.$$.fragment,fa),b_=i(fa),ap=c(fa,"P",{"data-svelte-h":!0}),d(ap)!=="svelte-1nyzeix"&&(ap.textContent=a$),v_=i(fa),Gt=c(fa,"DIV",{class:!0});var Up=j(Gt);f(br.$$.fragment,Up),y_=i(Up),sp=c(Up,"P",{"data-svelte-h":!0}),d(sp)!=="svelte-1d7s5nc"&&(sp.innerHTML=s$),$_=i(Up),f(ra.$$.fragment,Up),Up.forEach(p),x_=i(fa),Ft=c(fa,"DIV",{class:!0});var Hp=j(Ft);f(vr.$$.fragment,Hp),w_=i(Hp),rp=c(Hp,"P",{"data-svelte-h":!0}),d(rp)!=="svelte-1o44akx"&&(rp.innerHTML=r$),M_=i(Hp),ip=c(Hp,"P",{"data-svelte-h":!0}),d(ip)!=="svelte-huzhzj"&&(ip.innerHTML=i$),Hp.forEach(p),fa.forEach(p),_d=i(t),Ot=c(t,"DIV",{class:!0});var Ed=j(Ot);f(yr.$$.fragment,Ed),T_=i(Ed),lp=c(Ed,"P",{"data-svelte-h":!0}),d(lp)!=="svelte-1cij9yu"&&(lp.textContent=l$),Ed.forEach(p),bd=i(t),Q=c(t,"DIV",{class:!0});var Bt=j(Q);f($r.$$.fragment,Bt),j_=i(Bt),cp=c(Bt,"P",{"data-svelte-h":!0}),d(cp)!=="svelte-bx32lj"&&(cp.textContent=c$),k_=i(Bt),pp=c(Bt,"P",{"data-svelte-h":!0}),d(pp)!=="svelte-1a6nwfz"&&(pp.textContent=p$),C_=i(Bt),dp=c(Bt,"UL",{"data-svelte-h":!0}),d(dp)!=="svelte-1wreq5n"&&(dp.innerHTML=d$),I_=i(Bt),gp=c(Bt,"P",{"data-svelte-h":!0}),d(gp)!=="svelte-qsym0n"&&(gp.innerHTML=g$),Bt.forEach(p),vd=i(t),f(xr.$$.fragment,t),yd=i(t),D=c(t,"DIV",{class:!0});var ce=j(D);f(wr.$$.fragment,ce),J_=i(ce),up=c(ce,"P",{"data-svelte-h":!0}),d(up)!=="svelte-1wfz9hx"&&(up.textContent=u$),U_=i(ce),hp=c(ce,"P",{"data-svelte-h":!0}),d(hp)!=="svelte-3pj0bu"&&(hp.innerHTML=h$),H_=i(ce),f(ia.$$.fragment,ce),A_=i(ce),Be=c(ce,"DIV",{class:!0});var _a=j(Be);f(Mr.$$.fragment,_a),q_=i(_a),mp=c(_a,"P",{"data-svelte-h":!0}),d(mp)!=="svelte-e95u7k"&&(mp.textContent=m$),N_=i(_a),f(la.$$.fragment,_a),R_=i(_a),fp=c(_a,"P",{"data-svelte-h":!0}),d(fp)!=="svelte-hyunm9"&&(fp.innerHTML=f$),_a.forEach(p),E_=i(ce),Dt=c(ce,"DIV",{class:!0});var Ap=j(Dt);f(Tr.$$.fragment,Ap),G_=i(Ap),_p=c(Ap,"P",{"data-svelte-h":!0}),d(_p)!=="svelte-t1x1k0"&&(_p.textContent=_$),F_=i(Ap),bp=c(Ap,"P",{"data-svelte-h":!0}),d(bp)!=="svelte-1jdo3t2"&&(bp.textContent=b$),Ap.forEach(p),D_=i(ce),Zt=c(ce,"DIV",{class:!0});var qp=j(Zt);f(jr.$$.fragment,qp),Z_=i(qp),vp=c(qp,"P",{"data-svelte-h":!0}),d(vp)!=="svelte-m2dnyn"&&(vp.innerHTML=v$),S_=i(qp),yp=c(qp,"P",{"data-svelte-h":!0}),d(yp)!=="svelte-aasb0o"&&(yp.innerHTML=y$),qp.forEach(p),ce.forEach(p),$d=i(t),f(kr.$$.fragment,t),xd=i(t),Cr=c(t,"P",{"data-svelte-h":!0}),d(Cr)!=="svelte-68gbbv"&&(Cr.innerHTML=$$),wd=i(t),Ir=c(t,"P",{"data-svelte-h":!0}),d(Ir)!=="svelte-n9mln2"&&(Ir.innerHTML=x$),Md=i(t),de=c(t,"DIV",{class:!0});var ba=j(de);f(Jr.$$.fragment,ba),B_=i(ba),ca=c(ba,"DIV",{class:!0});var Gd=j(ca);f(Ur.$$.fragment,Gd),W_=i(Gd),$p=c(Gd,"P",{"data-svelte-h":!0}),d($p)!=="svelte-13yo7bo"&&($p.textContent=w$),Gd.forEach(p),L_=i(ba),We=c(ba,"DIV",{class:!0});var va=j(We);f(Hr.$$.fragment,va),V_=i(va),xp=c(va,"P",{"data-svelte-h":!0}),d(xp)!=="svelte-10irnww"&&(xp.textContent=M$),X_=i(va),wp=c(va,"P",{"data-svelte-h":!0}),d(wp)!=="svelte-lu3bvc"&&(wp.innerHTML=T$),Y_=i(va),Mp=c(va,"P",{"data-svelte-h":!0}),d(Mp)!=="svelte-1inaj4c"&&(Mp.innerHTML=j$),va.forEach(p),P_=i(ba),St=c(ba,"DIV",{class:!0});var Np=j(St);f(Ar.$$.fragment,Np),z_=i(Np),Tp=c(Np,"P",{"data-svelte-h":!0}),d(Tp)!=="svelte-15htb62"&&(Tp.textContent=k$),O_=i(Np),jp=c(Np,"P",{"data-svelte-h":!0}),d(jp)!=="svelte-1d6bkt7"&&(jp.innerHTML=C$),Np.forEach(p),ba.forEach(p),Td=i(t),f(qr.$$.fragment,t),jd=i(t),Nr=c(t,"P",{"data-svelte-h":!0}),d(Nr)!=="svelte-uto5dd"&&(Nr.innerHTML=I$),kd=i(t),f(Rr.$$.fragment,t),Cd=i(t),Ye=c(t,"DIV",{class:!0});var Rp=j(Ye);f(Er.$$.fragment,Rp),Q_=i(Rp),kp=c(Rp,"P",{"data-svelte-h":!0}),d(kp)!=="svelte-1qo0ul7"&&(kp.textContent=J$),K_=i(Rp),f(pa.$$.fragment,Rp),Rp.forEach(p),Id=i(t),f(Gr.$$.fragment,t),Jd=i(t),Pe=c(t,"DIV",{class:!0});var Ep=j(Pe);f(Fr.$$.fragment,Ep),eb=i(Ep),Cp=c(Ep,"P",{"data-svelte-h":!0}),d(Cp)!=="svelte-m0m658"&&(Cp.textContent=U$),tb=i(Ep),f(da.$$.fragment,Ep),Ep.forEach(p),Ud=i(t),f(Dr.$$.fragment,t),Hd=i(t),ge=c(t,"DIV",{class:!0});var ya=j(ge);f(Zr.$$.fragment,ya),nb=i(ya),Ip=c(ya,"P",{"data-svelte-h":!0}),d(Ip)!=="svelte-unk9dt"&&(Ip.textContent=H$),ob=i(ya),f(ga.$$.fragment,ya),ab=i(ya),f(ua.$$.fragment,ya),ya.forEach(p),Ad=i(t),f(Sr.$$.fragment,t),qd=i(t),ue=c(t,"DIV",{class:!0});var $a=j(ue);f(Br.$$.fragment,$a),sb=i($a),Jp=c($a,"P",{"data-svelte-h":!0}),d(Jp)!=="svelte-1tmzo1s"&&(Jp.textContent=A$),rb=i($a),f(ha.$$.fragment,$a),ib=i($a),f(ma.$$.fragment,$a),$a.forEach(p),Nd=i(t),Gp=c(t,"P",{}),j(Gp).forEach(p),this.h()},h(){k(n,"name","hf:doc:metadata"),k(n,"content",$x),k($e,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(bt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(vt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(xe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(we,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(kn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(oe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(X,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(En,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Gn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Te,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Dn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(je,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(yt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k($t,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(xt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ln,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(wt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Vn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Mt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Xn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(ke,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Tt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(jt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Qn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(eo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(to,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(ae,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(ao,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(kt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ct,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Je,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(He,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(bo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ae,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(qe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(xo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(It,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Jt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Mo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ut,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ht,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(At,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(qt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Nt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(De,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(W,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ze,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Rt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Et,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(ta,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Wt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Lt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Vt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ve,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Xt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Yt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Xe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Pt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(zt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Gt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ft,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ot,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Be,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Dt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Zt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(ca,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(We,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(St,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(de,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ye,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(t,u){o(document.head,n),$(t,g,u),$(t,s,u),$(t,a,u),_(h,t,u),$(t,e,u),$(t,x,u),$(t,Fp,u),$(t,xa,u),$(t,Dp,u),$(t,wa,u),$(t,Zp,u),_(Ma,t,u),$(t,Sp,u),_(Ta,t,u),$(t,Bp,u),$(t,M,u),_(ja,M,null),o(M,Fd),o(M,$e),_(ka,$e,null),o($e,Dd),o($e,gi),o($e,Zd),o($e,ui),o($e,Sd),_(xn,$e,null),o(M,Bd),o(M,bt),_(Ca,bt,null),o(bt,Wd),o(bt,hi),o(bt,Ld),o(bt,mi),o(M,Vd),o(M,vt),_(Ia,vt,null),o(vt,Xd),o(vt,fi),o(vt,Yd),o(vt,_i),o(M,Pd),o(M,xe),_(Ja,xe,null),o(xe,zd),o(xe,bi),o(xe,Od),_(wn,xe,null),o(xe,Qd),_(Mn,xe,null),o(M,Kd),o(M,we),_(Ua,we,null),o(we,eg),o(we,vi),o(we,tg),_(Tn,we,null),o(we,ng),_(jn,we,null),o(M,og),o(M,kn),_(Ha,kn,null),o(kn,ag),o(kn,yi),o(M,sg),o(M,Me),_(Aa,Me,null),o(Me,rg),o(Me,$i),o(Me,ig),o(Me,xi),o(Me,lg),_(Cn,Me,null),o(M,cg),o(M,oe),_(qa,oe,null),o(oe,pg),o(oe,wi),o(oe,dg),_(In,oe,null),o(oe,gg),_(Jn,oe,null),o(oe,ug),_(Un,oe,null),o(M,hg),o(M,B),_(Na,B,null),o(B,mg),o(B,Mi),o(B,fg),o(B,Ti),o(B,_g),o(B,ji),o(B,bg),_(Hn,B,null),o(B,vg),_(An,B,null),o(B,yg),_(qn,B,null),o(M,$g),o(M,X),_(Ra,X,null),o(X,xg),o(X,ki),o(X,wg),o(X,Ci),o(X,Mg),o(X,Ii),o(X,Tg),o(X,Ji),o(X,jg),_(Nn,X,null),o(M,kg),o(M,Y),_(Ea,Y,null),o(Y,Cg),o(Y,Ui),o(Y,Ig),o(Y,Hi),o(Y,Jg),o(Y,Ai),o(Y,Ug),o(Y,qi),o(Y,Hg),_(Rn,Y,null),o(M,Ag),o(M,En),_(Ga,En,null),o(En,qg),o(En,Ni),o(M,Ng),o(M,Gn),_(Fa,Gn,null),o(Gn,Rg),o(Gn,Ri),o(M,Eg),o(M,Te),_(Da,Te,null),o(Te,Gg),o(Te,Ei),o(Te,Fg),o(Te,Gi),o(Te,Dg),_(Fn,Te,null),o(M,Zg),o(M,Dn),_(Za,Dn,null),o(Dn,Sg),o(Dn,Fi),o(M,Bg),o(M,je),_(Sa,je,null),o(je,Wg),o(je,Di),o(je,Lg),_(Zn,je,null),o(je,Vg),_(Sn,je,null),o(M,Xg),o(M,yt),_(Ba,yt,null),o(yt,Yg),o(yt,Zi),o(yt,Pg),_(Bn,yt,null),o(M,zg),o(M,$t),_(Wa,$t,null),o($t,Og),o($t,Si),o($t,Qg),_(Wn,$t,null),o(M,Kg),o(M,xt),_(La,xt,null),o(xt,eu),o(xt,Bi),o(xt,tu),o(xt,Wi),o(M,nu),o(M,Ln),_(Va,Ln,null),o(Ln,ou),o(Ln,Li),o(M,au),o(M,wt),_(Xa,wt,null),o(wt,su),o(wt,Vi),o(wt,ru),o(wt,Xi),o(M,iu),o(M,Vn),_(Ya,Vn,null),o(Vn,lu),o(Vn,Yi),o(M,cu),o(M,Mt),_(Pa,Mt,null),o(Mt,pu),o(Mt,Pi),o(Mt,du),o(Mt,zi),o(M,gu),o(M,Xn),_(za,Xn,null),o(Xn,uu),o(Xn,Oi),o(M,hu),o(M,ke),_(Oa,ke,null),o(ke,mu),o(ke,Qi),o(ke,fu),o(ke,Ki),o(ke,_u),_(Yn,ke,null),o(M,bu),o(M,Tt),_(Qa,Tt,null),o(Tt,vu),o(Tt,el),o(Tt,yu),_(Pn,Tt,null),o(M,$u),o(M,jt),_(Ka,jt,null),o(jt,xu),o(jt,tl),o(jt,wu),_(zn,jt,null),o(M,Mu),o(M,Ce),_(es,Ce,null),o(Ce,Tu),o(Ce,nl),o(Ce,ju),o(Ce,ol),o(Ce,ku),_(On,Ce,null),o(M,Cu),o(M,Qn),_(ts,Qn,null),o(Qn,Iu),o(Qn,al),o(M,Ju),o(M,Ie),_(ns,Ie,null),o(Ie,Uu),o(Ie,sl),o(Ie,Hu),o(Ie,rl),o(Ie,Au),_(Kn,Ie,null),o(M,qu),o(M,eo),_(os,eo,null),o(eo,Nu),o(eo,il),o(M,Ru),o(M,to),_(as,to,null),o(to,Eu),o(to,ll),o(M,Gu),o(M,ae),_(ss,ae,null),o(ae,Fu),o(ae,cl),o(ae,Du),o(ae,pl),o(ae,Zu),_(no,ae,null),o(ae,Su),_(oo,ae,null),o(M,Bu),o(M,ao),_(rs,ao,null),o(ao,Wu),o(ao,dl),o(M,Lu),o(M,kt),_(is,kt,null),o(kt,Vu),o(kt,gl),o(kt,Xu),o(kt,ul),o(M,Yu),o(M,Ct),_(ls,Ct,null),o(Ct,Pu),o(Ct,hl),o(Ct,zu),o(Ct,ml),o(M,Ou),o(M,F),_(cs,F,null),o(F,Qu),o(F,fl),o(F,Ku),o(F,_l),o(F,eh),o(F,bl),o(F,th),o(F,vl),o(F,nh),o(F,yl),o(F,oh),_(so,F,null),o(F,ah),_(ro,F,null),o(M,sh),o(M,Je),_(ps,Je,null),o(Je,rh),o(Je,$l),o(Je,ih),_(io,Je,null),o(Je,lh),_(lo,Je,null),o(M,ch),o(M,Ue),_(ds,Ue,null),o(Ue,ph),o(Ue,xl),o(Ue,dh),o(Ue,wl),o(Ue,gh),_(co,Ue,null),o(M,uh),o(M,He),_(gs,He,null),o(He,hh),o(He,Ml),o(He,mh),_(po,He,null),o(He,fh),_(go,He,null),o(M,_h),o(M,A),_(us,A,null),o(A,bh),o(A,Tl),o(A,vh),o(A,jl),o(A,yh),o(A,kl),o(A,$h),o(A,Cl),o(A,xh),o(A,Il),o(A,wh),_(uo,A,null),o(A,Mh),o(A,Jl),o(A,Th),_(ho,A,null),o(A,jh),o(A,Ul),o(A,kh),_(mo,A,null),o(A,Ch),o(A,Hl),o(A,Ih),_(fo,A,null),o(M,Jh),o(M,se),_(hs,se,null),o(se,Uh),o(se,Al),o(se,Hh),o(se,ql),o(se,Ah),o(se,Nl),o(se,qh),_(_o,se,null),o(M,Nh),o(M,bo),_(ms,bo,null),o(bo,Rh),o(bo,Rl),o(M,Eh),o(M,Ae),_(fs,Ae,null),o(Ae,Gh),o(Ae,El),o(Ae,Fh),_(vo,Ae,null),o(Ae,Dh),_(yo,Ae,null),o(M,Zh),o(M,qe),_(_s,qe,null),o(qe,Sh),o(qe,Gl),o(qe,Bh),o(qe,Fl),o(qe,Wh),_($o,qe,null),o(M,Lh),o(M,xo),_(bs,xo,null),o(xo,Vh),o(xo,Dl),o(M,Xh),o(M,It),_(vs,It,null),o(It,Yh),o(It,Zl),o(It,Ph),o(It,Sl),o(M,zh),o(M,Jt),_(ys,Jt,null),o(Jt,Oh),o(Jt,Bl),o(Jt,Qh),_(wo,Jt,null),o(M,Kh),o(M,Mo),_($s,Mo,null),o(Mo,em),o(Mo,Wl),o(M,tm),o(M,Ut),_(xs,Ut,null),o(Ut,nm),o(Ut,Ll),o(Ut,om),_(To,Ut,null),o(M,am),o(M,Ne),_(ws,Ne,null),o(Ne,sm),o(Ne,Vl),o(Ne,rm),o(Ne,Xl),o(Ne,im),_(jo,Ne,null),o(M,lm),o(M,Re),_(Ms,Re,null),o(Re,cm),o(Re,Yl),o(Re,pm),o(Re,Pl),o(Re,dm),_(ko,Re,null),o(M,gm),o(M,Ee),_(Ts,Ee,null),o(Ee,um),o(Ee,zl),o(Ee,hm),o(Ee,Ol),o(Ee,mm),o(Ee,Ql),o(M,fm),o(M,P),_(js,P,null),o(P,_m),o(P,Kl),o(P,bm),o(P,ec),o(P,vm),_(Co,P,null),o(P,ym),_(Io,P,null),o(P,$m),_(Jo,P,null),o(M,xm),o(M,Ge),_(ks,Ge,null),o(Ge,wm),o(Ge,tc),o(Ge,Mm),_(Uo,Ge,null),o(Ge,Tm),_(Ho,Ge,null),o(M,jm),o(M,Ht),_(Cs,Ht,null),o(Ht,km),o(Ht,nc),o(Ht,Cm),_(Ao,Ht,null),o(M,Im),o(M,At),_(Is,At,null),o(At,Jm),o(At,oc),o(At,Um),_(qo,At,null),o(M,Hm),o(M,qt),_(Js,qt,null),o(qt,Am),o(qt,ac),o(qt,qm),_(No,qt,null),o(M,Nm),o(M,Nt),_(Us,Nt,null),o(Nt,Rm),o(Nt,sc),o(Nt,Em),_(Ro,Nt,null),o(M,Gm),o(M,Fe),_(Hs,Fe,null),o(Fe,Fm),o(Fe,rc),o(Fe,Dm),o(Fe,ic),o(Fe,Zm),o(Fe,lc),o(M,Sm),o(M,re),_(As,re,null),o(re,Bm),o(re,cc),o(re,Wm),o(re,pc),o(re,Lm),o(re,dc),o(re,Vm),_(Eo,re,null),o(M,Xm),o(M,De),_(qs,De,null),o(De,Ym),o(De,gc),o(De,Pm),o(De,uc),o(De,zm),_(Go,De,null),o(M,Om),o(M,W),_(Ns,W,null),o(W,Qm),o(W,hc),o(W,Km),o(W,mc),o(W,ef),o(W,fc),o(W,tf),o(W,_c),o(W,nf),o(W,bc),o(W,of),_(Fo,W,null),o(M,af),o(M,Ze),_(Rs,Ze,null),o(Ze,sf),o(Ze,vc),o(Ze,rf),o(Ze,yc),o(Ze,lf),_(Do,Ze,null),o(M,cf),o(M,z),_(Es,z,null),o(z,pf),o(z,$c),o(z,df),o(z,xc),o(z,gf),_(Zo,z,null),o(z,uf),_(So,z,null),o(z,hf),_(Bo,z,null),o(M,mf),o(M,Se),_(Gs,Se,null),o(Se,ff),o(Se,wc),o(Se,_f),o(Se,Mc),o(Se,bf),_(Wo,Se,null),o(M,vf),o(M,Rt),_(Fs,Rt,null),o(Rt,yf),o(Rt,Tc),o(Rt,$f),_(Lo,Rt,null),o(M,xf),o(M,ie),_(Ds,ie,null),o(ie,wf),o(ie,jc),o(ie,Mf),o(ie,kc),o(ie,Tf),o(ie,Cc),o(ie,jf),_(Vo,ie,null),o(M,kf),o(M,Et),_(Zs,Et,null),o(Et,Cf),o(Et,Ic),o(Et,If),_(Xo,Et,null),o(M,Jf),o(M,le),_(Ss,le,null),o(le,Uf),o(le,Jc),o(le,Hf),_(Yo,le,null),o(le,Af),_(Po,le,null),o(le,qf),_(zo,le,null),o(M,Nf),o(M,N),_(Bs,N,null),o(N,Rf),o(N,Uc),o(N,Ef),o(N,Hc),o(N,Gf),o(N,Ac),o(N,Ff),o(N,qc),o(N,Df),o(N,Nc),o(N,Zf),o(N,Rc),o(N,Sf),_(Oo,N,null),o(N,Bf),_(Qo,N,null),o(N,Wf),_(Ko,N,null),o(N,Lf),_(ea,N,null),o(M,Vf),o(M,ta),_(Ws,ta,null),o(ta,Xf),o(ta,Ec),$(t,Wp,u),$(t,G,u),_(Ls,G,null),o(G,Yf),o(G,Gc),o(G,Pf),o(G,Fc),o(G,zf),o(G,Dc),o(G,Of),o(G,Zc),o(G,Qf),_(na,G,null),o(G,Kf),_(oa,G,null),o(G,e_),_(aa,G,null),$(t,Lp,u),_(Vs,t,u),$(t,Vp,u),_(Xs,t,u),$(t,Xp,u),$(t,Le,u),_(Ys,Le,null),o(Le,t_),o(Le,Sc),o(Le,n_),o(Le,Bc),$(t,Yp,u),_(Ps,t,u),$(t,Pp,u),$(t,Wt,u),_(zs,Wt,null),o(Wt,o_),o(Wt,Wc),$(t,zp,u),_(Os,t,u),$(t,Op,u),$(t,Lt,u),_(Qs,Lt,null),o(Lt,a_),o(Lt,Lc),$(t,Qp,u),_(Ks,t,u),$(t,Kp,u),$(t,Vt,u),_(er,Vt,null),o(Vt,s_),o(Vt,Vc),$(t,ed,u),_(tr,t,u),$(t,td,u),$(t,Ve,u),_(nr,Ve,null),o(Ve,r_),o(Ve,Xc),o(Ve,i_),o(Ve,Yc),$(t,nd,u),_(or,t,u),$(t,od,u),$(t,Xt,u),_(ar,Xt,null),o(Xt,l_),o(Xt,Pc),$(t,ad,u),_(sr,t,u),$(t,sd,u),$(t,Yt,u),_(rr,Yt,null),o(Yt,c_),o(Yt,zc),$(t,rd,u),_(ir,t,u),$(t,id,u),$(t,O,u),_(lr,O,null),o(O,p_),o(O,Oc),o(O,d_),o(O,Qc),o(O,g_),o(O,Kc),o(O,u_),_(sa,O,null),$(t,ld,u),_(cr,t,u),$(t,cd,u),$(t,Xe,u),_(pr,Xe,null),o(Xe,h_),o(Xe,ep),o(Xe,m_),o(Xe,tp),$(t,pd,u),_(dr,t,u),$(t,dd,u),$(t,Pt,u),_(gr,Pt,null),o(Pt,f_),o(Pt,np),$(t,gd,u),_(ur,t,u),$(t,ud,u),$(t,zt,u),_(hr,zt,null),o(zt,__),o(zt,op),$(t,hd,u),_(mr,t,u),$(t,md,u),$(t,fr,u),$(t,fd,u),$(t,pe,u),_(_r,pe,null),o(pe,b_),o(pe,ap),o(pe,v_),o(pe,Gt),_(br,Gt,null),o(Gt,y_),o(Gt,sp),o(Gt,$_),_(ra,Gt,null),o(pe,x_),o(pe,Ft),_(vr,Ft,null),o(Ft,w_),o(Ft,rp),o(Ft,M_),o(Ft,ip),$(t,_d,u),$(t,Ot,u),_(yr,Ot,null),o(Ot,T_),o(Ot,lp),$(t,bd,u),$(t,Q,u),_($r,Q,null),o(Q,j_),o(Q,cp),o(Q,k_),o(Q,pp),o(Q,C_),o(Q,dp),o(Q,I_),o(Q,gp),$(t,vd,u),_(xr,t,u),$(t,yd,u),$(t,D,u),_(wr,D,null),o(D,J_),o(D,up),o(D,U_),o(D,hp),o(D,H_),_(ia,D,null),o(D,A_),o(D,Be),_(Mr,Be,null),o(Be,q_),o(Be,mp),o(Be,N_),_(la,Be,null),o(Be,R_),o(Be,fp),o(D,E_),o(D,Dt),_(Tr,Dt,null),o(Dt,G_),o(Dt,_p),o(Dt,F_),o(Dt,bp),o(D,D_),o(D,Zt),_(jr,Zt,null),o(Zt,Z_),o(Zt,vp),o(Zt,S_),o(Zt,yp),$(t,$d,u),_(kr,t,u),$(t,xd,u),$(t,Cr,u),$(t,wd,u),$(t,Ir,u),$(t,Md,u),$(t,de,u),_(Jr,de,null),o(de,B_),o(de,ca),_(Ur,ca,null),o(ca,W_),o(ca,$p),o(de,L_),o(de,We),_(Hr,We,null),o(We,V_),o(We,xp),o(We,X_),o(We,wp),o(We,Y_),o(We,Mp),o(de,P_),o(de,St),_(Ar,St,null),o(St,z_),o(St,Tp),o(St,O_),o(St,jp),$(t,Td,u),_(qr,t,u),$(t,jd,u),$(t,Nr,u),$(t,kd,u),_(Rr,t,u),$(t,Cd,u),$(t,Ye,u),_(Er,Ye,null),o(Ye,Q_),o(Ye,kp),o(Ye,K_),_(pa,Ye,null),$(t,Id,u),_(Gr,t,u),$(t,Jd,u),$(t,Pe,u),_(Fr,Pe,null),o(Pe,eb),o(Pe,Cp),o(Pe,tb),_(da,Pe,null),$(t,Ud,u),_(Dr,t,u),$(t,Hd,u),$(t,ge,u),_(Zr,ge,null),o(ge,nb),o(ge,Ip),o(ge,ob),_(ga,ge,null),o(ge,ab),_(ua,ge,null),$(t,Ad,u),_(Sr,t,u),$(t,qd,u),$(t,ue,u),_(Br,ue,null),o(ue,sb),o(ue,Jp),o(ue,rb),_(ha,ue,null),o(ue,ib),_(ma,ue,null),$(t,Nd,u),$(t,Gp,u),Rd=!0},p(t,[u]){const T={};u&2&&(T.$$scope={dirty:u,ctx:t}),xn.$set(T);const ze={};u&2&&(ze.$$scope={dirty:u,ctx:t}),wn.$set(ze);const Qt={};u&2&&(Qt.$$scope={dirty:u,ctx:t}),Mn.$set(Qt);const Kt={};u&2&&(Kt.$$scope={dirty:u,ctx:t}),Tn.$set(Kt);const Oe={};u&2&&(Oe.$$scope={dirty:u,ctx:t}),jn.$set(Oe);const Qe={};u&2&&(Qe.$$scope={dirty:u,ctx:t}),Cn.$set(Qe);const Wr={};u&2&&(Wr.$$scope={dirty:u,ctx:t}),In.$set(Wr);const Ke={};u&2&&(Ke.$$scope={dirty:u,ctx:t}),Jn.$set(Ke);const he={};u&2&&(he.$$scope={dirty:u,ctx:t}),Un.$set(he);const L={};u&2&&(L.$$scope={dirty:u,ctx:t}),Hn.$set(L);const K={};u&2&&(K.$$scope={dirty:u,ctx:t}),An.$set(K);const ee={};u&2&&(ee.$$scope={dirty:u,ctx:t}),qn.$set(ee);const Lr={};u&2&&(Lr.$$scope={dirty:u,ctx:t}),Nn.$set(Lr);const Vr={};u&2&&(Vr.$$scope={dirty:u,ctx:t}),Rn.$set(Vr);const et={};u&2&&(et.$$scope={dirty:u,ctx:t}),Fn.$set(et);const Xr={};u&2&&(Xr.$$scope={dirty:u,ctx:t}),Zn.$set(Xr);const tt={};u&2&&(tt.$$scope={dirty:u,ctx:t}),Sn.$set(tt);const en={};u&2&&(en.$$scope={dirty:u,ctx:t}),Bn.$set(en);const tn={};u&2&&(tn.$$scope={dirty:u,ctx:t}),Wn.$set(tn);const nn={};u&2&&(nn.$$scope={dirty:u,ctx:t}),Yn.$set(nn);const Yr={};u&2&&(Yr.$$scope={dirty:u,ctx:t}),Pn.$set(Yr);const on={};u&2&&(on.$$scope={dirty:u,ctx:t}),zn.$set(on);const Pr={};u&2&&(Pr.$$scope={dirty:u,ctx:t}),On.$set(Pr);const an={};u&2&&(an.$$scope={dirty:u,ctx:t}),Kn.$set(an);const zr={};u&2&&(zr.$$scope={dirty:u,ctx:t}),no.$set(zr);const nt={};u&2&&(nt.$$scope={dirty:u,ctx:t}),oo.$set(nt);const sn={};u&2&&(sn.$$scope={dirty:u,ctx:t}),so.$set(sn);const rn={};u&2&&(rn.$$scope={dirty:u,ctx:t}),ro.$set(rn);const ot={};u&2&&(ot.$$scope={dirty:u,ctx:t}),io.$set(ot);const Or={};u&2&&(Or.$$scope={dirty:u,ctx:t}),lo.$set(Or);const at={};u&2&&(at.$$scope={dirty:u,ctx:t}),co.$set(at);const Qr={};u&2&&(Qr.$$scope={dirty:u,ctx:t}),po.$set(Qr);const Kr={};u&2&&(Kr.$$scope={dirty:u,ctx:t}),go.$set(Kr);const me={};u&2&&(me.$$scope={dirty:u,ctx:t}),uo.$set(me);const ei={};u&2&&(ei.$$scope={dirty:u,ctx:t}),ho.$set(ei);const ln={};u&2&&(ln.$$scope={dirty:u,ctx:t}),mo.$set(ln);const cn={};u&2&&(cn.$$scope={dirty:u,ctx:t}),fo.$set(cn);const Z={};u&2&&(Z.$$scope={dirty:u,ctx:t}),_o.$set(Z);const st={};u&2&&(st.$$scope={dirty:u,ctx:t}),vo.$set(st);const rt={};u&2&&(rt.$$scope={dirty:u,ctx:t}),yo.$set(rt);const it={};u&2&&(it.$$scope={dirty:u,ctx:t}),$o.$set(it);const q={};u&2&&(q.$$scope={dirty:u,ctx:t}),wo.$set(q);const fe={};u&2&&(fe.$$scope={dirty:u,ctx:t}),To.$set(fe);const ti={};u&2&&(ti.$$scope={dirty:u,ctx:t}),jo.$set(ti);const lt={};u&2&&(lt.$$scope={dirty:u,ctx:t}),ko.$set(lt);const ct={};u&2&&(ct.$$scope={dirty:u,ctx:t}),Co.$set(ct);const ni={};u&2&&(ni.$$scope={dirty:u,ctx:t}),Io.$set(ni);const pn={};u&2&&(pn.$$scope={dirty:u,ctx:t}),Jo.$set(pn);const dn={};u&2&&(dn.$$scope={dirty:u,ctx:t}),Uo.$set(dn);const oi={};u&2&&(oi.$$scope={dirty:u,ctx:t}),Ho.$set(oi);const gn={};u&2&&(gn.$$scope={dirty:u,ctx:t}),Ao.$set(gn);const pt={};u&2&&(pt.$$scope={dirty:u,ctx:t}),qo.$set(pt);const dt={};u&2&&(dt.$$scope={dirty:u,ctx:t}),No.$set(dt);const gt={};u&2&&(gt.$$scope={dirty:u,ctx:t}),Ro.$set(gt);const te={};u&2&&(te.$$scope={dirty:u,ctx:t}),Eo.$set(te);const ut={};u&2&&(ut.$$scope={dirty:u,ctx:t}),Go.$set(ut);const un={};u&2&&(un.$$scope={dirty:u,ctx:t}),Fo.$set(un);const hn={};u&2&&(hn.$$scope={dirty:u,ctx:t}),Do.$set(hn);const mn={};u&2&&(mn.$$scope={dirty:u,ctx:t}),Zo.$set(mn);const fn={};u&2&&(fn.$$scope={dirty:u,ctx:t}),So.$set(fn);const ht={};u&2&&(ht.$$scope={dirty:u,ctx:t}),Bo.$set(ht);const _e={};u&2&&(_e.$$scope={dirty:u,ctx:t}),Wo.$set(_e);const mt={};u&2&&(mt.$$scope={dirty:u,ctx:t}),Lo.$set(mt);const V={};u&2&&(V.$$scope={dirty:u,ctx:t}),Vo.$set(V);const ft={};u&2&&(ft.$$scope={dirty:u,ctx:t}),Xo.$set(ft);const ne={};u&2&&(ne.$$scope={dirty:u,ctx:t}),Yo.$set(ne);const _t={};u&2&&(_t.$$scope={dirty:u,ctx:t}),Po.$set(_t);const _n={};u&2&&(_n.$$scope={dirty:u,ctx:t}),zo.$set(_n);const be={};u&2&&(be.$$scope={dirty:u,ctx:t}),Oo.$set(be);const bn={};u&2&&(bn.$$scope={dirty:u,ctx:t}),Qo.$set(bn);const ve={};u&2&&(ve.$$scope={dirty:u,ctx:t}),Ko.$set(ve);const R={};u&2&&(R.$$scope={dirty:u,ctx:t}),ea.$set(R);const ai={};u&2&&(ai.$$scope={dirty:u,ctx:t}),na.$set(ai);const S={};u&2&&(S.$$scope={dirty:u,ctx:t}),oa.$set(S);const vn={};u&2&&(vn.$$scope={dirty:u,ctx:t}),aa.$set(vn);const si={};u&2&&(si.$$scope={dirty:u,ctx:t}),sa.$set(si);const ri={};u&2&&(ri.$$scope={dirty:u,ctx:t}),ra.$set(ri);const ii={};u&2&&(ii.$$scope={dirty:u,ctx:t}),ia.$set(ii);const yn={};u&2&&(yn.$$scope={dirty:u,ctx:t}),la.$set(yn);const li={};u&2&&(li.$$scope={dirty:u,ctx:t}),pa.$set(li);const ci={};u&2&&(ci.$$scope={dirty:u,ctx:t}),da.$set(ci);const ye={};u&2&&(ye.$$scope={dirty:u,ctx:t}),ga.$set(ye);const $n={};u&2&&($n.$$scope={dirty:u,ctx:t}),ua.$set($n);const pi={};u&2&&(pi.$$scope={dirty:u,ctx:t}),ha.$set(pi);const di={};u&2&&(di.$$scope={dirty:u,ctx:t}),ma.$set(di)},i(t){Rd||(b(h.$$.fragment,t),b(Ma.$$.fragment,t),b(Ta.$$.fragment,t),b(ja.$$.fragment,t),b(ka.$$.fragment,t),b(xn.$$.fragment,t),b(Ca.$$.fragment,t),b(Ia.$$.fragment,t),b(Ja.$$.fragment,t),b(wn.$$.fragment,t),b(Mn.$$.fragment,t),b(Ua.$$.fragment,t),b(Tn.$$.fragment,t),b(jn.$$.fragment,t),b(Ha.$$.fragment,t),b(Aa.$$.fragment,t),b(Cn.$$.fragment,t),b(qa.$$.fragment,t),b(In.$$.fragment,t),b(Jn.$$.fragment,t),b(Un.$$.fragment,t),b(Na.$$.fragment,t),b(Hn.$$.fragment,t),b(An.$$.fragment,t),b(qn.$$.fragment,t),b(Ra.$$.fragment,t),b(Nn.$$.fragment,t),b(Ea.$$.fragment,t),b(Rn.$$.fragment,t),b(Ga.$$.fragment,t),b(Fa.$$.fragment,t),b(Da.$$.fragment,t),b(Fn.$$.fragment,t),b(Za.$$.fragment,t),b(Sa.$$.fragment,t),b(Zn.$$.fragment,t),b(Sn.$$.fragment,t),b(Ba.$$.fragment,t),b(Bn.$$.fragment,t),b(Wa.$$.fragment,t),b(Wn.$$.fragment,t),b(La.$$.fragment,t),b(Va.$$.fragment,t),b(Xa.$$.fragment,t),b(Ya.$$.fragment,t),b(Pa.$$.fragment,t),b(za.$$.fragment,t),b(Oa.$$.fragment,t),b(Yn.$$.fragment,t),b(Qa.$$.fragment,t),b(Pn.$$.fragment,t),b(Ka.$$.fragment,t),b(zn.$$.fragment,t),b(es.$$.fragment,t),b(On.$$.fragment,t),b(ts.$$.fragment,t),b(ns.$$.fragment,t),b(Kn.$$.fragment,t),b(os.$$.fragment,t),b(as.$$.fragment,t),b(ss.$$.fragment,t),b(no.$$.fragment,t),b(oo.$$.fragment,t),b(rs.$$.fragment,t),b(is.$$.fragment,t),b(ls.$$.fragment,t),b(cs.$$.fragment,t),b(so.$$.fragment,t),b(ro.$$.fragment,t),b(ps.$$.fragment,t),b(io.$$.fragment,t),b(lo.$$.fragment,t),b(ds.$$.fragment,t),b(co.$$.fragment,t),b(gs.$$.fragment,t),b(po.$$.fragment,t),b(go.$$.fragment,t),b(us.$$.fragment,t),b(uo.$$.fragment,t),b(ho.$$.fragment,t),b(mo.$$.fragment,t),b(fo.$$.fragment,t),b(hs.$$.fragment,t),b(_o.$$.fragment,t),b(ms.$$.fragment,t),b(fs.$$.fragment,t),b(vo.$$.fragment,t),b(yo.$$.fragment,t),b(_s.$$.fragment,t),b($o.$$.fragment,t),b(bs.$$.fragment,t),b(vs.$$.fragment,t),b(ys.$$.fragment,t),b(wo.$$.fragment,t),b($s.$$.fragment,t),b(xs.$$.fragment,t),b(To.$$.fragment,t),b(ws.$$.fragment,t),b(jo.$$.fragment,t),b(Ms.$$.fragment,t),b(ko.$$.fragment,t),b(Ts.$$.fragment,t),b(js.$$.fragment,t),b(Co.$$.fragment,t),b(Io.$$.fragment,t),b(Jo.$$.fragment,t),b(ks.$$.fragment,t),b(Uo.$$.fragment,t),b(Ho.$$.fragment,t),b(Cs.$$.fragment,t),b(Ao.$$.fragment,t),b(Is.$$.fragment,t),b(qo.$$.fragment,t),b(Js.$$.fragment,t),b(No.$$.fragment,t),b(Us.$$.fragment,t),b(Ro.$$.fragment,t),b(Hs.$$.fragment,t),b(As.$$.fragment,t),b(Eo.$$.fragment,t),b(qs.$$.fragment,t),b(Go.$$.fragment,t),b(Ns.$$.fragment,t),b(Fo.$$.fragment,t),b(Rs.$$.fragment,t),b(Do.$$.fragment,t),b(Es.$$.fragment,t),b(Zo.$$.fragment,t),b(So.$$.fragment,t),b(Bo.$$.fragment,t),b(Gs.$$.fragment,t),b(Wo.$$.fragment,t),b(Fs.$$.fragment,t),b(Lo.$$.fragment,t),b(Ds.$$.fragment,t),b(Vo.$$.fragment,t),b(Zs.$$.fragment,t),b(Xo.$$.fragment,t),b(Ss.$$.fragment,t),b(Yo.$$.fragment,t),b(Po.$$.fragment,t),b(zo.$$.fragment,t),b(Bs.$$.fragment,t),b(Oo.$$.fragment,t),b(Qo.$$.fragment,t),b(Ko.$$.fragment,t),b(ea.$$.fragment,t),b(Ws.$$.fragment,t),b(Ls.$$.fragment,t),b(na.$$.fragment,t),b(oa.$$.fragment,t),b(aa.$$.fragment,t),b(Vs.$$.fragment,t),b(Xs.$$.fragment,t),b(Ys.$$.fragment,t),b(Ps.$$.fragment,t),b(zs.$$.fragment,t),b(Os.$$.fragment,t),b(Qs.$$.fragment,t),b(Ks.$$.fragment,t),b(er.$$.fragment,t),b(tr.$$.fragment,t),b(nr.$$.fragment,t),b(or.$$.fragment,t),b(ar.$$.fragment,t),b(sr.$$.fragment,t),b(rr.$$.fragment,t),b(ir.$$.fragment,t),b(lr.$$.fragment,t),b(sa.$$.fragment,t),b(cr.$$.fragment,t),b(pr.$$.fragment,t),b(dr.$$.fragment,t),b(gr.$$.fragment,t),b(ur.$$.fragment,t),b(hr.$$.fragment,t),b(mr.$$.fragment,t),b(_r.$$.fragment,t),b(br.$$.fragment,t),b(ra.$$.fragment,t),b(vr.$$.fragment,t),b(yr.$$.fragment,t),b($r.$$.fragment,t),b(xr.$$.fragment,t),b(wr.$$.fragment,t),b(ia.$$.fragment,t),b(Mr.$$.fragment,t),b(la.$$.fragment,t),b(Tr.$$.fragment,t),b(jr.$$.fragment,t),b(kr.$$.fragment,t),b(Jr.$$.fragment,t),b(Ur.$$.fragment,t),b(Hr.$$.fragment,t),b(Ar.$$.fragment,t),b(qr.$$.fragment,t),b(Rr.$$.fragment,t),b(Er.$$.fragment,t),b(pa.$$.fragment,t),b(Gr.$$.fragment,t),b(Fr.$$.fragment,t),b(da.$$.fragment,t),b(Dr.$$.fragment,t),b(Zr.$$.fragment,t),b(ga.$$.fragment,t),b(ua.$$.fragment,t),b(Sr.$$.fragment,t),b(Br.$$.fragment,t),b(ha.$$.fragment,t),b(ma.$$.fragment,t),Rd=!0)},o(t){v(h.$$.fragment,t),v(Ma.$$.fragment,t),v(Ta.$$.fragment,t),v(ja.$$.fragment,t),v(ka.$$.fragment,t),v(xn.$$.fragment,t),v(Ca.$$.fragment,t),v(Ia.$$.fragment,t),v(Ja.$$.fragment,t),v(wn.$$.fragment,t),v(Mn.$$.fragment,t),v(Ua.$$.fragment,t),v(Tn.$$.fragment,t),v(jn.$$.fragment,t),v(Ha.$$.fragment,t),v(Aa.$$.fragment,t),v(Cn.$$.fragment,t),v(qa.$$.fragment,t),v(In.$$.fragment,t),v(Jn.$$.fragment,t),v(Un.$$.fragment,t),v(Na.$$.fragment,t),v(Hn.$$.fragment,t),v(An.$$.fragment,t),v(qn.$$.fragment,t),v(Ra.$$.fragment,t),v(Nn.$$.fragment,t),v(Ea.$$.fragment,t),v(Rn.$$.fragment,t),v(Ga.$$.fragment,t),v(Fa.$$.fragment,t),v(Da.$$.fragment,t),v(Fn.$$.fragment,t),v(Za.$$.fragment,t),v(Sa.$$.fragment,t),v(Zn.$$.fragment,t),v(Sn.$$.fragment,t),v(Ba.$$.fragment,t),v(Bn.$$.fragment,t),v(Wa.$$.fragment,t),v(Wn.$$.fragment,t),v(La.$$.fragment,t),v(Va.$$.fragment,t),v(Xa.$$.fragment,t),v(Ya.$$.fragment,t),v(Pa.$$.fragment,t),v(za.$$.fragment,t),v(Oa.$$.fragment,t),v(Yn.$$.fragment,t),v(Qa.$$.fragment,t),v(Pn.$$.fragment,t),v(Ka.$$.fragment,t),v(zn.$$.fragment,t),v(es.$$.fragment,t),v(On.$$.fragment,t),v(ts.$$.fragment,t),v(ns.$$.fragment,t),v(Kn.$$.fragment,t),v(os.$$.fragment,t),v(as.$$.fragment,t),v(ss.$$.fragment,t),v(no.$$.fragment,t),v(oo.$$.fragment,t),v(rs.$$.fragment,t),v(is.$$.fragment,t),v(ls.$$.fragment,t),v(cs.$$.fragment,t),v(so.$$.fragment,t),v(ro.$$.fragment,t),v(ps.$$.fragment,t),v(io.$$.fragment,t),v(lo.$$.fragment,t),v(ds.$$.fragment,t),v(co.$$.fragment,t),v(gs.$$.fragment,t),v(po.$$.fragment,t),v(go.$$.fragment,t),v(us.$$.fragment,t),v(uo.$$.fragment,t),v(ho.$$.fragment,t),v(mo.$$.fragment,t),v(fo.$$.fragment,t),v(hs.$$.fragment,t),v(_o.$$.fragment,t),v(ms.$$.fragment,t),v(fs.$$.fragment,t),v(vo.$$.fragment,t),v(yo.$$.fragment,t),v(_s.$$.fragment,t),v($o.$$.fragment,t),v(bs.$$.fragment,t),v(vs.$$.fragment,t),v(ys.$$.fragment,t),v(wo.$$.fragment,t),v($s.$$.fragment,t),v(xs.$$.fragment,t),v(To.$$.fragment,t),v(ws.$$.fragment,t),v(jo.$$.fragment,t),v(Ms.$$.fragment,t),v(ko.$$.fragment,t),v(Ts.$$.fragment,t),v(js.$$.fragment,t),v(Co.$$.fragment,t),v(Io.$$.fragment,t),v(Jo.$$.fragment,t),v(ks.$$.fragment,t),v(Uo.$$.fragment,t),v(Ho.$$.fragment,t),v(Cs.$$.fragment,t),v(Ao.$$.fragment,t),v(Is.$$.fragment,t),v(qo.$$.fragment,t),v(Js.$$.fragment,t),v(No.$$.fragment,t),v(Us.$$.fragment,t),v(Ro.$$.fragment,t),v(Hs.$$.fragment,t),v(As.$$.fragment,t),v(Eo.$$.fragment,t),v(qs.$$.fragment,t),v(Go.$$.fragment,t),v(Ns.$$.fragment,t),v(Fo.$$.fragment,t),v(Rs.$$.fragment,t),v(Do.$$.fragment,t),v(Es.$$.fragment,t),v(Zo.$$.fragment,t),v(So.$$.fragment,t),v(Bo.$$.fragment,t),v(Gs.$$.fragment,t),v(Wo.$$.fragment,t),v(Fs.$$.fragment,t),v(Lo.$$.fragment,t),v(Ds.$$.fragment,t),v(Vo.$$.fragment,t),v(Zs.$$.fragment,t),v(Xo.$$.fragment,t),v(Ss.$$.fragment,t),v(Yo.$$.fragment,t),v(Po.$$.fragment,t),v(zo.$$.fragment,t),v(Bs.$$.fragment,t),v(Oo.$$.fragment,t),v(Qo.$$.fragment,t),v(Ko.$$.fragment,t),v(ea.$$.fragment,t),v(Ws.$$.fragment,t),v(Ls.$$.fragment,t),v(na.$$.fragment,t),v(oa.$$.fragment,t),v(aa.$$.fragment,t),v(Vs.$$.fragment,t),v(Xs.$$.fragment,t),v(Ys.$$.fragment,t),v(Ps.$$.fragment,t),v(zs.$$.fragment,t),v(Os.$$.fragment,t),v(Qs.$$.fragment,t),v(Ks.$$.fragment,t),v(er.$$.fragment,t),v(tr.$$.fragment,t),v(nr.$$.fragment,t),v(or.$$.fragment,t),v(ar.$$.fragment,t),v(sr.$$.fragment,t),v(rr.$$.fragment,t),v(ir.$$.fragment,t),v(lr.$$.fragment,t),v(sa.$$.fragment,t),v(cr.$$.fragment,t),v(pr.$$.fragment,t),v(dr.$$.fragment,t),v(gr.$$.fragment,t),v(ur.$$.fragment,t),v(hr.$$.fragment,t),v(mr.$$.fragment,t),v(_r.$$.fragment,t),v(br.$$.fragment,t),v(ra.$$.fragment,t),v(vr.$$.fragment,t),v(yr.$$.fragment,t),v($r.$$.fragment,t),v(xr.$$.fragment,t),v(wr.$$.fragment,t),v(ia.$$.fragment,t),v(Mr.$$.fragment,t),v(la.$$.fragment,t),v(Tr.$$.fragment,t),v(jr.$$.fragment,t),v(kr.$$.fragment,t),v(Jr.$$.fragment,t),v(Ur.$$.fragment,t),v(Hr.$$.fragment,t),v(Ar.$$.fragment,t),v(qr.$$.fragment,t),v(Rr.$$.fragment,t),v(Er.$$.fragment,t),v(pa.$$.fragment,t),v(Gr.$$.fragment,t),v(Fr.$$.fragment,t),v(da.$$.fragment,t),v(Dr.$$.fragment,t),v(Zr.$$.fragment,t),v(ga.$$.fragment,t),v(ua.$$.fragment,t),v(Sr.$$.fragment,t),v(Br.$$.fragment,t),v(ha.$$.fragment,t),v(ma.$$.fragment,t),Rd=!1},d(t){t&&(p(g),p(s),p(a),p(e),p(x),p(Fp),p(xa),p(Dp),p(wa),p(Zp),p(Sp),p(Bp),p(M),p(Wp),p(G),p(Lp),p(Vp),p(Xp),p(Le),p(Yp),p(Pp),p(Wt),p(zp),p(Op),p(Lt),p(Qp),p(Kp),p(Vt),p(ed),p(td),p(Ve),p(nd),p(od),p(Xt),p(ad),p(sd),p(Yt),p(rd),p(id),p(O),p(ld),p(cd),p(Xe),p(pd),p(dd),p(Pt),p(gd),p(ud),p(zt),p(hd),p(md),p(fr),p(fd),p(pe),p(_d),p(Ot),p(bd),p(Q),p(vd),p(yd),p(D),p($d),p(xd),p(Cr),p(wd),p(Ir),p(Md),p(de),p(Td),p(jd),p(Nr),p(kd),p(Cd),p(Ye),p(Id),p(Jd),p(Pe),p(Ud),p(Hd),p(ge),p(Ad),p(qd),p(ue),p(Nd),p(Gp)),p(n),y(h,t),y(Ma,t),y(Ta,t),y(ja),y(ka),y(xn),y(Ca),y(Ia),y(Ja),y(wn),y(Mn),y(Ua),y(Tn),y(jn),y(Ha),y(Aa),y(Cn),y(qa),y(In),y(Jn),y(Un),y(Na),y(Hn),y(An),y(qn),y(Ra),y(Nn),y(Ea),y(Rn),y(Ga),y(Fa),y(Da),y(Fn),y(Za),y(Sa),y(Zn),y(Sn),y(Ba),y(Bn),y(Wa),y(Wn),y(La),y(Va),y(Xa),y(Ya),y(Pa),y(za),y(Oa),y(Yn),y(Qa),y(Pn),y(Ka),y(zn),y(es),y(On),y(ts),y(ns),y(Kn),y(os),y(as),y(ss),y(no),y(oo),y(rs),y(is),y(ls),y(cs),y(so),y(ro),y(ps),y(io),y(lo),y(ds),y(co),y(gs),y(po),y(go),y(us),y(uo),y(ho),y(mo),y(fo),y(hs),y(_o),y(ms),y(fs),y(vo),y(yo),y(_s),y($o),y(bs),y(vs),y(ys),y(wo),y($s),y(xs),y(To),y(ws),y(jo),y(Ms),y(ko),y(Ts),y(js),y(Co),y(Io),y(Jo),y(ks),y(Uo),y(Ho),y(Cs),y(Ao),y(Is),y(qo),y(Js),y(No),y(Us),y(Ro),y(Hs),y(As),y(Eo),y(qs),y(Go),y(Ns),y(Fo),y(Rs),y(Do),y(Es),y(Zo),y(So),y(Bo),y(Gs),y(Wo),y(Fs),y(Lo),y(Ds),y(Vo),y(Zs),y(Xo),y(Ss),y(Yo),y(Po),y(zo),y(Bs),y(Oo),y(Qo),y(Ko),y(ea),y(Ws),y(Ls),y(na),y(oa),y(aa),y(Vs,t),y(Xs,t),y(Ys),y(Ps,t),y(zs),y(Os,t),y(Qs),y(Ks,t),y(er),y(tr,t),y(nr),y(or,t),y(ar),y(sr,t),y(rr),y(ir,t),y(lr),y(sa),y(cr,t),y(pr),y(dr,t),y(gr),y(ur,t),y(hr),y(mr,t),y(_r),y(br),y(ra),y(vr),y(yr),y($r),y(xr,t),y(wr),y(ia),y(Mr),y(la),y(Tr),y(jr),y(kr,t),y(Jr),y(Ur),y(Hr),y(Ar),y(qr,t),y(Rr,t),y(Er),y(pa),y(Gr,t),y(Fr),y(da),y(Dr,t),y(Zr),y(ga),y(ua),y(Sr,t),y(Br),y(ha),y(ma)}}}const $x='{"title":"HfApi Client","local":"hfapi-client","sections":[{"title":"HfApi","local":"huggingface_hub.HfApi","sections":[],"depth":2},{"title":"API Dataclasses","local":"api-dataclasses","sections":[{"title":"CommitInfo","local":"huggingface_hub.CommitInfo","sections":[],"depth":3},{"title":"DatasetInfo","local":"huggingface_hub.hf_api.DatasetInfo","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":"ModelInfo","local":"huggingface_hub.hf_api.ModelInfo","sections":[],"depth":3},{"title":"RepoFile","local":"huggingface_hub.hf_api.RepoFile","sections":[],"depth":3},{"title":"RepoUrl","local":"huggingface_hub.RepoUrl","sections":[],"depth":3},{"title":"SpaceInfo","local":"huggingface_hub.hf_api.SpaceInfo","sections":[],"depth":3},{"title":"User","local":"huggingface_hub.User","sections":[],"depth":3},{"title":"UserLikes","local":"huggingface_hub.UserLikes","sections":[],"depth":3}],"depth":2},{"title":"CommitOperation","local":"huggingface_hub.CommitOperationAdd","sections":[],"depth":2},{"title":"CommitScheduler","local":"huggingface_hub.CommitScheduler","sections":[],"depth":2},{"title":"Token helper","local":"huggingface_hub.HfFolder","sections":[],"depth":2},{"title":"Search helpers","local":"search-helpers","sections":[{"title":"DatasetFilter","local":"huggingface_hub.DatasetFilter","sections":[],"depth":3},{"title":"ModelFilter","local":"huggingface_hub.ModelFilter","sections":[],"depth":3},{"title":"DatasetSearchArguments","local":"huggingface_hub.DatasetSearchArguments","sections":[],"depth":3},{"title":"ModelSearchArguments","local":"huggingface_hub.ModelSearchArguments","sections":[],"depth":3}],"depth":2}],"depth":1}';function xx(w){return N$(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Jx extends R${constructor(n){super(),E$(this,n,xx,yx,q$,{})}}export{Jx as component};
