import{s as z,n as K,o as V}from"../chunks/scheduler.6062bdaf.js";import{S as J,i as Q,g as s,s as n,r as q,A as W,h as u,f as a,c as i,j as G,u as E,x as v,k as I,y as X,a as o,v as O,d as A,t as D,w as R}from"../chunks/index.4bca734e.js";import{H as Y,E as Z}from"../chunks/EditOnGithub.74ab2baa.js";function ee(N){let r,y,b,_,d,x,c,S=`The <code>huggingface_hub</code> library allows you to interact with the <a href="https://hf.co" rel="nofollow">Hugging Face
Hub</a>, a machine learning platform for creators and collaborators.
Discover pre-trained models and datasets for your projects or play with the hundreds of
machine learning apps hosted on the Hub. You can also create and share your own models
and datasets with the community. The <code>huggingface_hub</code> library provides a simple way to
do all these things with Python.`,$,h,U=`Read the <a href="quick-start">quick start guide</a> to get up and running with the
<code>huggingface_hub</code> library. You will learn how to download files from the Hub, create a
repository, and upload files to the Hub. Keep reading to learn more about how to manage
your repositories on the 🤗 Hub, how to interact in discussions or even how to access
the Inference API.`,H,l,j='<div class="w-full flex flex-col space-y-4 md:space-y-0 md:grid md:grid-cols-2 md:gap-y-4 md:gap-x-5"><a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./guides/overview"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">How-to guides</div> <p class="text-gray-700">Practical guides to help you achieve a specific goal. Take a look at these guides to learn how to use huggingface_hub to solve real-world problems.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./package_reference/overview"><div class="w-full text-center bg-gradient-to-br from-purple-400 to-purple-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Reference</div> <p class="text-gray-700">Exhaustive and technical description of huggingface_hub classes and methods.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./concepts/git_vs_http"><div class="w-full text-center bg-gradient-to-br from-pink-400 to-pink-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Conceptual guides</div> <p class="text-gray-700">High-level explanations for building a better understanding of huggingface_hub philosophy.</p></a></div>',T,g,k,p,B=`All contributions to the <code>huggingface_hub</code> are welcomed and equally valued! 🤗 Besides
adding or fixing existing issues in the code, you can also help improve the
documentation by making sure it is accurate and up-to-date, help answer questions on
issues, and request new features you think will improve the library. Take a look at the
<a href="https://github.com/huggingface/huggingface_hub/blob/main/CONTRIBUTING.md" rel="nofollow">contribution
guide</a> to
learn more about how to submit a new issue or feature request, how to submit a pull
request, and how to test your contributions to make sure everything works as expected.`,C,f,F=`Contributors should also be respectful of our <a href="https://github.com/huggingface/huggingface_hub/blob/main/CODE_OF_CONDUCT.md" rel="nofollow">code of
conduct</a> to
create an inclusive and welcoming collaborative space for everyone.`,P,m,M,w,L;return d=new Y({props:{title:"🤗 Hub client library",local:"-hub-client-library",headingTag:"h1"}}),g=new Y({props:{title:"Contribute",local:"contribute",headingTag:"h2"}}),m=new Z({props:{source:"https://github.com/huggingface/huggingface_hub/blob/main/docs/source/en/index.md"}}),{c(){r=s("meta"),y=n(),b=s("p"),_=n(),q(d.$$.fragment),x=n(),c=s("p"),c.innerHTML=S,$=n(),h=s("p"),h.innerHTML=U,H=n(),l=s("div"),l.innerHTML=j,T=n(),q(g.$$.fragment),k=n(),p=s("p"),p.innerHTML=B,C=n(),f=s("p"),f.innerHTML=F,P=n(),q(m.$$.fragment),M=n(),w=s("p"),this.h()},l(e){const t=W("svelte-u9bgzb",document.head);r=u(t,"META",{name:!0,content:!0}),t.forEach(a),y=i(e),b=u(e,"P",{}),G(b).forEach(a),_=i(e),E(d.$$.fragment,e),x=i(e),c=u(e,"P",{"data-svelte-h":!0}),v(c)!=="svelte-1329yya"&&(c.innerHTML=S),$=i(e),h=u(e,"P",{"data-svelte-h":!0}),v(h)!=="svelte-b9hvl6"&&(h.innerHTML=U),H=i(e),l=u(e,"DIV",{class:!0,"data-svelte-h":!0}),v(l)!=="svelte-14k23kw"&&(l.innerHTML=j),T=i(e),E(g.$$.fragment,e),k=i(e),p=u(e,"P",{"data-svelte-h":!0}),v(p)!=="svelte-dcwgl2"&&(p.innerHTML=B),C=i(e),f=u(e,"P",{"data-svelte-h":!0}),v(f)!=="svelte-1qgc8mu"&&(f.innerHTML=F),P=i(e),E(m.$$.fragment,e),M=i(e),w=u(e,"P",{}),G(w).forEach(a),this.h()},h(){I(r,"name","hf:doc:metadata"),I(r,"content",te),I(l,"class","mt-10")},m(e,t){X(document.head,r),o(e,y,t),o(e,b,t),o(e,_,t),O(d,e,t),o(e,x,t),o(e,c,t),o(e,$,t),o(e,h,t),o(e,H,t),o(e,l,t),o(e,T,t),O(g,e,t),o(e,k,t),o(e,p,t),o(e,C,t),o(e,f,t),o(e,P,t),O(m,e,t),o(e,M,t),o(e,w,t),L=!0},p:K,i(e){L||(A(d.$$.fragment,e),A(g.$$.fragment,e),A(m.$$.fragment,e),L=!0)},o(e){D(d.$$.fragment,e),D(g.$$.fragment,e),D(m.$$.fragment,e),L=!1},d(e){e&&(a(y),a(b),a(_),a(x),a(c),a($),a(h),a(H),a(l),a(T),a(k),a(p),a(C),a(f),a(P),a(M),a(w)),a(r),R(d,e),R(g,e),R(m,e)}}}const te='{"title":"🤗 Hub client library","local":"-hub-client-library","sections":[{"title":"Contribute","local":"contribute","sections":[],"depth":2}],"depth":1}';function ae(N){return V(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class re extends J{constructor(r){super(),Q(this,r,ae,ee,z,{})}}export{re as component};
