import{s as V,n as J,o as Q}from"../chunks/scheduler.0cf4ef2e.js";import{S as W,i as X,e as s,s as n,c as O,h as Z,a as u,d as a,b as i,f as Y,g as D,j as v,k as N,l as ee,m as o,n as R,t as S,o as z,p as I}from"../chunks/index.abc433bf.js";import{C as te}from"../chunks/CopyLLMTxtMenu.efc6b005.js";import{H as K,E as ae}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.86d448e2.js";function oe(U){let r,x,w,_,d,$,c,H,h,j=`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.`,T,g,A=`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.`,k,l,B='<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>',C,p,M,m,F=`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.`,L,f,G=`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,b,q,y,E;return d=new te({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),c=new K({props:{title:"🤗 Hub client library",local:"-hub-client-library",headingTag:"h1"}}),p=new K({props:{title:"Contribute",local:"contribute",headingTag:"h2"}}),b=new ae({props:{source:"https://github.com/huggingface/huggingface_hub/blob/main/docs/source/en/index.md"}}),{c(){r=s("meta"),x=n(),w=s("p"),_=n(),O(d.$$.fragment),$=n(),O(c.$$.fragment),H=n(),h=s("p"),h.innerHTML=j,T=n(),g=s("p"),g.innerHTML=A,k=n(),l=s("div"),l.innerHTML=B,C=n(),O(p.$$.fragment),M=n(),m=s("p"),m.innerHTML=F,L=n(),f=s("p"),f.innerHTML=G,P=n(),O(b.$$.fragment),q=n(),y=s("p"),this.h()},l(e){const t=Z("svelte-u9bgzb",document.head);r=u(t,"META",{name:!0,content:!0}),t.forEach(a),x=i(e),w=u(e,"P",{}),Y(w).forEach(a),_=i(e),D(d.$$.fragment,e),$=i(e),D(c.$$.fragment,e),H=i(e),h=u(e,"P",{"data-svelte-h":!0}),v(h)!=="svelte-1329yya"&&(h.innerHTML=j),T=i(e),g=u(e,"P",{"data-svelte-h":!0}),v(g)!=="svelte-1k1z10"&&(g.innerHTML=A),k=i(e),l=u(e,"DIV",{class:!0,"data-svelte-h":!0}),v(l)!=="svelte-14k23kw"&&(l.innerHTML=B),C=i(e),D(p.$$.fragment,e),M=i(e),m=u(e,"P",{"data-svelte-h":!0}),v(m)!=="svelte-dcwgl2"&&(m.innerHTML=F),L=i(e),f=u(e,"P",{"data-svelte-h":!0}),v(f)!=="svelte-1qgc8mu"&&(f.innerHTML=G),P=i(e),D(b.$$.fragment,e),q=i(e),y=u(e,"P",{}),Y(y).forEach(a),this.h()},h(){N(r,"name","hf:doc:metadata"),N(r,"content",ne),N(l,"class","mt-10")},m(e,t){ee(document.head,r),o(e,x,t),o(e,w,t),o(e,_,t),R(d,e,t),o(e,$,t),R(c,e,t),o(e,H,t),o(e,h,t),o(e,T,t),o(e,g,t),o(e,k,t),o(e,l,t),o(e,C,t),R(p,e,t),o(e,M,t),o(e,m,t),o(e,L,t),o(e,f,t),o(e,P,t),R(b,e,t),o(e,q,t),o(e,y,t),E=!0},p:J,i(e){E||(S(d.$$.fragment,e),S(c.$$.fragment,e),S(p.$$.fragment,e),S(b.$$.fragment,e),E=!0)},o(e){z(d.$$.fragment,e),z(c.$$.fragment,e),z(p.$$.fragment,e),z(b.$$.fragment,e),E=!1},d(e){e&&(a(x),a(w),a(_),a($),a(H),a(h),a(T),a(g),a(k),a(l),a(C),a(M),a(m),a(L),a(f),a(P),a(q),a(y)),a(r),I(d,e),I(c,e),I(p,e),I(b,e)}}}const ne='{"title":"🤗 Hub client library","local":"-hub-client-library","sections":[{"title":"Contribute","local":"contribute","sections":[],"depth":2}],"depth":1}';function ie(U){return Q(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class de extends W{constructor(r){super(),X(this,r,ie,oe,V,{})}}export{de as component};
