import{s as Y,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 F,u as E,x as v,k as O,y as X,a as o,v as D,d as R,t as A,w as I}from"../chunks/index.4bca734e.js";import{H as G,E as Z}from"../chunks/getInferenceSnippets.b564dd8b.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 run inference.`,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>',k,g,T,p,z=`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,B=`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.`,M,m,P,w,L;return d=new G({props:{title:"🤗 Hub client library",local:"-hub-client-library",headingTag:"h1"}}),g=new G({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,k=n(),q(g.$$.fragment),T=n(),p=s("p"),p.innerHTML=z,C=n(),f=s("p"),f.innerHTML=B,M=n(),q(m.$$.fragment),P=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",{}),F(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-1k1z10"&&(h.innerHTML=U),H=i(e),l=u(e,"DIV",{class:!0,"data-svelte-h":!0}),v(l)!=="svelte-14k23kw"&&(l.innerHTML=j),k=i(e),E(g.$$.fragment,e),T=i(e),p=u(e,"P",{"data-svelte-h":!0}),v(p)!=="svelte-dcwgl2"&&(p.innerHTML=z),C=i(e),f=u(e,"P",{"data-svelte-h":!0}),v(f)!=="svelte-1qgc8mu"&&(f.innerHTML=B),M=i(e),E(m.$$.fragment,e),P=i(e),w=u(e,"P",{}),F(w).forEach(a),this.h()},h(){O(r,"name","hf:doc:metadata"),O(r,"content",te),O(l,"class","mt-10")},m(e,t){X(document.head,r),o(e,y,t),o(e,b,t),o(e,_,t),D(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,k,t),D(g,e,t),o(e,T,t),o(e,p,t),o(e,C,t),o(e,f,t),o(e,M,t),D(m,e,t),o(e,P,t),o(e,w,t),L=!0},p:K,i(e){L||(R(d.$$.fragment,e),R(g.$$.fragment,e),R(m.$$.fragment,e),L=!0)},o(e){A(d.$$.fragment,e),A(g.$$.fragment,e),A(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(k),a(T),a(p),a(C),a(f),a(M),a(P),a(w)),a(r),I(d,e),I(g,e),I(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,Y,{})}}export{re as component};
