import{S as ms,i as ps,s as ds,e as l,k as m,w as O,t as s,M as fs,c as o,d as t,m as p,a as i,x as V,h as r,b as u,N as xt,G as a,g as c,y as U,L as hs,q as W,o as X,B as K,v as gs}from"../../chunks/vendor-hf-doc-builder.js";import{I as qt}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as $t}from"../../chunks/CodeBlock-hf-doc-builder.js";import{D as vs}from"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function bs(yt){let P,Se,k,I,re,G,sa,Q,ra,le,la,Te,z,Ce,d,oa,oe,ia,na,ie,ua,ca,ne,ma,pa,ue,da,fa,ce,ha,ga,me,va,ba,Ge,H,M,pe,F,Ea,Y,wa,de,_a,ze,w,xa,fe,qa,$a,he,ya,Pa,Z,ka,Ha,Fe,h,ja,ge,Ia,Ma,ve,Aa,Sa,be,Ta,Ca,B,Ga,za,Be,J,Je,ee,Fa,Le,v,Pt,De,q,Ba,L,Ja,La,Ee,Da,Na,Ne,j,A,we,D,Ra,ae,Oa,_e,Va,Re,f,Ua,xe,Wa,Xa,qe,Ka,Qa,$e,Ya,Za,ye,et,at,Pe,tt,st,Oe,S,rt,ke,lt,ot,Ve,N,Ue,b,kt,We,$,it,He,nt,ut,je,ct,mt,Xe,R,Ke,E,Ht,Qe,_,pt,Ie,dt,ft,Me,ht,gt,Ae,vt,bt,Ye;return G=new qt({}),z=new vs({props:{classNames:"absolute z-10 right-0 top-0",options:[{label:"Google Colab",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/master/course/chapter9/section5.ipynb"},{label:"Aws Studio",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/master/course/chapter9/section5.ipynb"}]}}),F=new qt({}),J=new $t({props:{code:"",highlighted:`<span class="hljs-keyword">import</span> gradio <span class="hljs-keyword">as</span> gr

title = <span class="hljs-string">&quot;GPT-J-6B&quot;</span>
description = <span class="hljs-string">&quot;Gradio Demo for GPT-J 6B, a transformer model trained using Ben Wang&#x27;s Mesh Transformer JAX. &#x27;GPT-J&#x27; refers to the class of model, while &#x27;6B&#x27; represents the number of trainable parameters. To use it, simply add your text, or click one of the examples to load them. Read more at the links below.&quot;</span>
<span class="hljs-comment"># D\xE9mo Gradio pour GPT-J 6B, un mod\xE8le de transformer entra\xEEn\xE9 avec le Mesh Transformer JAX de Ben Wang. GPT-J fait r\xE9f\xE9rence \xE0 la classe du mod\xE8le, tandis que &#x27;6B&#x27; repr\xE9sente le nombre de param\xE8tres entra\xEEnables. Pour l&#x27;utiliser, il suffit d&#x27;ajouter votre texte, ou de cliquer sur l&#x27;un des exemples pour le charger. Pour en savoir plus, consultez les liens ci-dessous.</span>
article = <span class="hljs-string">&quot;&lt;p style=&#x27;text-align: center&#x27;&gt;&lt;a href=&#x27;https://github.com/kingoflolz/mesh-transformer-jax&#x27; target=&#x27;_blank&#x27;&gt;GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model&lt;/a&gt;&lt;/p&gt;&quot;</span>
<span class="hljs-comment"># GPT-J-6B : Un mod\xE8le linguistique autor\xE9gressif \xE0 6 milliards de param\xE8tres</span>
examples = [
    [<span class="hljs-string">&quot;The tower is 324 metres (1,063 ft) tall,&quot;</span>],
    <span class="hljs-comment"># La tour mesure 324 m\xE8tres (1 063 pieds) de haut,</span>
    [<span class="hljs-string">&quot;The Moon&#x27;s orbit around Earth has&quot;</span>],
    <span class="hljs-comment"># L&#x27;orbite de la Lune autour de la Terre a</span>
    [<span class="hljs-string">&quot;The smooth Borealis basin in the Northern Hemisphere covers 40%&quot;</span>],
    <span class="hljs-comment"># Le bassin de Borealis dans l&#x27;h\xE9misph\xE8re nord couvre 40 %.</span>
]
gr.Interface.load(
    <span class="hljs-string">&quot;huggingface/EleutherAI/gpt-j-6B&quot;</span>,
    inputs=gr.Textbox(lines=<span class="hljs-number">5</span>, label=<span class="hljs-string">&quot;Input Text&quot;</span>),
    title=title,
    description=description,
    article=article,
    examples=examples,
    enable_queue=<span class="hljs-literal">True</span>,
).launch()`}}),D=new qt({}),N=new $t({props:{code:'gr.Interface.load("spaces/abidlabs/remove-bg").launch()',highlighted:'gr.Interface.load(<span class="hljs-string">&quot;spaces/abidlabs/remove-bg&quot;</span>).launch()'}}),R=new $t({props:{code:`gr.Interface.load(
    "spaces/abidlabs/remove-bg", inputs="webcam", title="Remove your webcam background!"
).launch()`,highlighted:`gr.Interface.load(
    <span class="hljs-string">&quot;spaces/abidlabs/remove-bg&quot;</span>, inputs=<span class="hljs-string">&quot;webcam&quot;</span>, title=<span class="hljs-string">&quot;Remove your webcam background!&quot;</span>
).launch()`}}),{c(){P=l("meta"),Se=m(),k=l("h1"),I=l("a"),re=l("span"),O(G.$$.fragment),sa=m(),Q=l("span"),ra=s("Int\xE9grations avec le "),le=l("i"),la=s("Hub d'Hugging Face"),Te=m(),O(z.$$.fragment),Ce=m(),d=l("p"),oa=s("Pour vous rendre la vie encore plus facile, "),oe=l("em"),ia=s("Gradio"),na=s(" s\u2019int\xE8gre directement avec "),ie=l("em"),ua=s("Hub"),ca=s(" et "),ne=l("em"),ma=s("Spaces"),pa=s(`.
Vous pouvez charger des d\xE9mos depuis le `),ue=l("em"),da=s("Hub"),fa=s(" et les "),ce=l("em"),ha=s("Spaces"),ga=s(" avec seulement "),me=l("em"),va=s("une ligne de code"),ba=s("."),Ge=m(),H=l("h3"),M=l("a"),pe=l("span"),O(F.$$.fragment),Ea=m(),Y=l("span"),wa=s("Chargement de mod\xE8les depuis le "),de=l("i"),_a=s("Hub d'Hugging Face"),ze=m(),w=l("p"),xa=s("Pour commencer, choisissez un des milliers de mod\xE8les qu\u2019"),fe=l("em"),qa=s("Hugging Face"),$a=s(" offre \xE0 travers le "),he=l("em"),ya=s("Hub"),Pa=s(", comme d\xE9crit dans le "),Z=l("a"),ka=s("chapitre 4"),Ha=s("."),Fe=m(),h=l("p"),ja=s("En utilisant la m\xE9thode sp\xE9ciale "),ge=l("code"),Ia=s("Interface.load()"),Ma=s(", vous passez "),ve=l("code"),Aa=s('"model/"'),Sa=s(" (ou, de mani\xE8re \xE9quivalente, "),be=l("code"),Ta=s('"huggingface/"'),Ca=s(`) suivi du nom du mod\xE8le.
Par exemple, voici le code pour construire une d\xE9mo pour le `),B=l("a"),Ga=s("GPT-J"),za=s(", un grand mod\xE8le de langue, ajouter quelques exemples d\u2019entr\xE9es :"),Be=m(),O(J.$$.fragment),Je=m(),ee=l("p"),Fa=s("Le code ci-dessus produira l\u2019interface ci-dessous :"),Le=m(),v=l("iframe"),De=m(),q=l("p"),Ba=s("Le chargement d\u2019un mod\xE8le de cette mani\xE8re utilise l\u2019"),L=l("a"),Ja=s("API d\u2019Inference"),La=s(" de "),Ee=l("em"),Da=s("Hugging Face"),Na=s(" au lieu de charger le mod\xE8le en m\xE9moire. C\u2019est id\xE9al pour les mod\xE8les \xE9normes comme GPT-J ou T0pp qui n\xE9cessitent beaucoup de RAM."),Ne=m(),j=l("h3"),A=l("a"),we=l("span"),O(D.$$.fragment),Ra=m(),ae=l("span"),Oa=s("Chargement depuis "),_e=l("i"),Va=s("Hugging Face Spaces"),Re=m(),f=l("p"),Ua=s("Pour charger n\u2019importe quel "),xe=l("em"),Wa=s("Space"),Xa=s(" depuis le "),qe=l("em"),Ka=s("Hub"),Qa=s(" et le recr\xE9er localement, vous pouvez passer "),$e=l("code"),Ya=s("spaces/"),Za=s(" \xE0 l\u2019"),ye=l("code"),et=s("Interface"),at=s(", suivi du nom du "),Pe=l("em"),tt=s("Space"),st=s("."),Oe=m(),S=l("p"),rt=s("Vous vous souvenez de la d\xE9mo de la section 1 qui supprime le fond d\u2019une image ? Chargeons-la \xE0 partir de "),ke=l("em"),lt=s("Hugging Face Spaces"),ot=s(" :"),Ve=m(),O(N.$$.fragment),Ue=m(),b=l("iframe"),We=m(),$=l("p"),it=s("L\u2019un des avantages du chargement de d\xE9mos \xE0 partir du "),He=l("em"),nt=s("Hub"),ut=s(" ou de "),je=l("em"),ct=s("Spaces"),mt=s(" est que vous pouvez les personnaliser en rempla\xE7ant n\u2019importe lequel des param\xE8tres. Ici, nous ajoutons un titre et faisons en sorte qu\u2019elle fonctionne avec une webcam \xE0 la place :"),Xe=m(),O(R.$$.fragment),Ke=m(),E=l("iframe"),Qe=m(),_=l("p"),pt=s("Maintenant que nous avons explor\xE9 quelques fa\xE7ons d\u2019int\xE9grer "),Ie=l("em"),dt=s("Gradio"),ft=s(" avec le "),Me=l("em"),ht=s("Hub"),gt=s(", jetons un coup d\u2019oeil \xE0 certaines fonctionnalit\xE9s avanc\xE9es de la classe "),Ae=l("code"),vt=s("Interface"),bt=s(". C\u2019est le sujet de la prochaine section !"),this.h()},l(e){const n=fs('[data-svelte="svelte-1phssyn"]',document.head);P=o(n,"META",{name:!0,content:!0}),n.forEach(t),Se=p(e),k=o(e,"H1",{class:!0});var Ze=i(k);I=o(Ze,"A",{id:!0,class:!0,href:!0});var jt=i(I);re=o(jt,"SPAN",{});var It=i(re);V(G.$$.fragment,It),It.forEach(t),jt.forEach(t),sa=p(Ze),Q=o(Ze,"SPAN",{});var Et=i(Q);ra=r(Et,"Int\xE9grations avec le "),le=o(Et,"I",{});var Mt=i(le);la=r(Mt,"Hub d'Hugging Face"),Mt.forEach(t),Et.forEach(t),Ze.forEach(t),Te=p(e),V(z.$$.fragment,e),Ce=p(e),d=o(e,"P",{});var g=i(d);oa=r(g,"Pour vous rendre la vie encore plus facile, "),oe=o(g,"EM",{});var At=i(oe);ia=r(At,"Gradio"),At.forEach(t),na=r(g," s\u2019int\xE8gre directement avec "),ie=o(g,"EM",{});var St=i(ie);ua=r(St,"Hub"),St.forEach(t),ca=r(g," et "),ne=o(g,"EM",{});var Tt=i(ne);ma=r(Tt,"Spaces"),Tt.forEach(t),pa=r(g,`.
Vous pouvez charger des d\xE9mos depuis le `),ue=o(g,"EM",{});var Ct=i(ue);da=r(Ct,"Hub"),Ct.forEach(t),fa=r(g," et les "),ce=o(g,"EM",{});var Gt=i(ce);ha=r(Gt,"Spaces"),Gt.forEach(t),ga=r(g," avec seulement "),me=o(g,"EM",{});var zt=i(me);va=r(zt,"une ligne de code"),zt.forEach(t),ba=r(g,"."),g.forEach(t),Ge=p(e),H=o(e,"H3",{class:!0});var ea=i(H);M=o(ea,"A",{id:!0,class:!0,href:!0});var Ft=i(M);pe=o(Ft,"SPAN",{});var Bt=i(pe);V(F.$$.fragment,Bt),Bt.forEach(t),Ft.forEach(t),Ea=p(ea),Y=o(ea,"SPAN",{});var wt=i(Y);wa=r(wt,"Chargement de mod\xE8les depuis le "),de=o(wt,"I",{});var Jt=i(de);_a=r(Jt,"Hub d'Hugging Face"),Jt.forEach(t),wt.forEach(t),ea.forEach(t),ze=p(e),w=o(e,"P",{});var T=i(w);xa=r(T,"Pour commencer, choisissez un des milliers de mod\xE8les qu\u2019"),fe=o(T,"EM",{});var Lt=i(fe);qa=r(Lt,"Hugging Face"),Lt.forEach(t),$a=r(T," offre \xE0 travers le "),he=o(T,"EM",{});var Dt=i(he);ya=r(Dt,"Hub"),Dt.forEach(t),Pa=r(T,", comme d\xE9crit dans le "),Z=o(T,"A",{href:!0});var Nt=i(Z);ka=r(Nt,"chapitre 4"),Nt.forEach(t),Ha=r(T,"."),T.forEach(t),Fe=p(e),h=o(e,"P",{});var y=i(h);ja=r(y,"En utilisant la m\xE9thode sp\xE9ciale "),ge=o(y,"CODE",{});var Rt=i(ge);Ia=r(Rt,"Interface.load()"),Rt.forEach(t),Ma=r(y,", vous passez "),ve=o(y,"CODE",{});var Ot=i(ve);Aa=r(Ot,'"model/"'),Ot.forEach(t),Sa=r(y," (ou, de mani\xE8re \xE9quivalente, "),be=o(y,"CODE",{});var Vt=i(be);Ta=r(Vt,'"huggingface/"'),Vt.forEach(t),Ca=r(y,`) suivi du nom du mod\xE8le.
Par exemple, voici le code pour construire une d\xE9mo pour le `),B=o(y,"A",{href:!0,rel:!0});var Ut=i(B);Ga=r(Ut,"GPT-J"),Ut.forEach(t),za=r(y,", un grand mod\xE8le de langue, ajouter quelques exemples d\u2019entr\xE9es :"),y.forEach(t),Be=p(e),V(J.$$.fragment,e),Je=p(e),ee=o(e,"P",{});var Wt=i(ee);Fa=r(Wt,"Le code ci-dessus produira l\u2019interface ci-dessous :"),Wt.forEach(t),Le=p(e),v=o(e,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),i(v).forEach(t),De=p(e),q=o(e,"P",{});var te=i(q);Ba=r(te,"Le chargement d\u2019un mod\xE8le de cette mani\xE8re utilise l\u2019"),L=o(te,"A",{href:!0,rel:!0});var Xt=i(L);Ja=r(Xt,"API d\u2019Inference"),Xt.forEach(t),La=r(te," de "),Ee=o(te,"EM",{});var Kt=i(Ee);Da=r(Kt,"Hugging Face"),Kt.forEach(t),Na=r(te," au lieu de charger le mod\xE8le en m\xE9moire. C\u2019est id\xE9al pour les mod\xE8les \xE9normes comme GPT-J ou T0pp qui n\xE9cessitent beaucoup de RAM."),te.forEach(t),Ne=p(e),j=o(e,"H3",{class:!0});var aa=i(j);A=o(aa,"A",{id:!0,class:!0,href:!0});var Qt=i(A);we=o(Qt,"SPAN",{});var Yt=i(we);V(D.$$.fragment,Yt),Yt.forEach(t),Qt.forEach(t),Ra=p(aa),ae=o(aa,"SPAN",{});var _t=i(ae);Oa=r(_t,"Chargement depuis "),_e=o(_t,"I",{});var Zt=i(_e);Va=r(Zt,"Hugging Face Spaces"),Zt.forEach(t),_t.forEach(t),aa.forEach(t),Re=p(e),f=o(e,"P",{});var x=i(f);Ua=r(x,"Pour charger n\u2019importe quel "),xe=o(x,"EM",{});var es=i(xe);Wa=r(es,"Space"),es.forEach(t),Xa=r(x," depuis le "),qe=o(x,"EM",{});var as=i(qe);Ka=r(as,"Hub"),as.forEach(t),Qa=r(x," et le recr\xE9er localement, vous pouvez passer "),$e=o(x,"CODE",{});var ts=i($e);Ya=r(ts,"spaces/"),ts.forEach(t),Za=r(x," \xE0 l\u2019"),ye=o(x,"CODE",{});var ss=i(ye);et=r(ss,"Interface"),ss.forEach(t),at=r(x,", suivi du nom du "),Pe=o(x,"EM",{});var rs=i(Pe);tt=r(rs,"Space"),rs.forEach(t),st=r(x,"."),x.forEach(t),Oe=p(e),S=o(e,"P",{});var ta=i(S);rt=r(ta,"Vous vous souvenez de la d\xE9mo de la section 1 qui supprime le fond d\u2019une image ? Chargeons-la \xE0 partir de "),ke=o(ta,"EM",{});var ls=i(ke);lt=r(ls,"Hugging Face Spaces"),ls.forEach(t),ot=r(ta," :"),ta.forEach(t),Ve=p(e),V(N.$$.fragment,e),Ue=p(e),b=o(e,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),i(b).forEach(t),We=p(e),$=o(e,"P",{});var se=i($);it=r(se,"L\u2019un des avantages du chargement de d\xE9mos \xE0 partir du "),He=o(se,"EM",{});var os=i(He);nt=r(os,"Hub"),os.forEach(t),ut=r(se," ou de "),je=o(se,"EM",{});var is=i(je);ct=r(is,"Spaces"),is.forEach(t),mt=r(se," est que vous pouvez les personnaliser en rempla\xE7ant n\u2019importe lequel des param\xE8tres. Ici, nous ajoutons un titre et faisons en sorte qu\u2019elle fonctionne avec une webcam \xE0 la place :"),se.forEach(t),Xe=p(e),V(R.$$.fragment,e),Ke=p(e),E=o(e,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),i(E).forEach(t),Qe=p(e),_=o(e,"P",{});var C=i(_);pt=r(C,"Maintenant que nous avons explor\xE9 quelques fa\xE7ons d\u2019int\xE9grer "),Ie=o(C,"EM",{});var ns=i(Ie);dt=r(ns,"Gradio"),ns.forEach(t),ft=r(C," avec le "),Me=o(C,"EM",{});var us=i(Me);ht=r(us,"Hub"),us.forEach(t),gt=r(C,", jetons un coup d\u2019oeil \xE0 certaines fonctionnalit\xE9s avanc\xE9es de la classe "),Ae=o(C,"CODE",{});var cs=i(Ae);vt=r(cs,"Interface"),cs.forEach(t),bt=r(C,". C\u2019est le sujet de la prochaine section !"),C.forEach(t),this.h()},h(){u(P,"name","hf:doc:metadata"),u(P,"content",JSON.stringify(Es)),u(I,"id","intgrations-avec-le-ihub-dhugging-facei"),u(I,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),u(I,"href","#intgrations-avec-le-ihub-dhugging-facei"),u(k,"class","relative group"),u(M,"id","chargement-de-modles-depuis-le-ihub-dhugging-facei"),u(M,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),u(M,"href","#chargement-de-modles-depuis-le-ihub-dhugging-facei"),u(H,"class","relative group"),u(Z,"href","/course/fr/chapter4/2"),u(B,"href","https://huggingface.co/EleutherAI/gpt-j-6B"),u(B,"rel","nofollow"),xt(v.src,Pt="https://hf.space/gradioiframe/akhaliq/gpt-j-6B/+")||u(v,"src",Pt),u(v,"frameborder","0"),u(v,"height","750"),u(v,"title","Gradio app"),u(v,"class","container p-0 flex-grow space-iframe"),u(v,"allow","accelerometer; ambient-light-sensor; autoplay; battery; camera; document-domain; encrypted-media; fullscreen; geolocation; gyroscope; layout-animations; legacy-image-formats; magnetometer; microphone; midi; oversized-images; payment; picture-in-picture; publickey-credentials-get; sync-xhr; usb; vr ; wake-lock; xr-spatial-tracking"),u(v,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads"),u(L,"href","https://huggingface.co/inference-api"),u(L,"rel","nofollow"),u(A,"id","chargement-depuis-ihugging-face-spacesi"),u(A,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),u(A,"href","#chargement-depuis-ihugging-face-spacesi"),u(j,"class","relative group"),xt(b.src,kt="https://hf.space/gradioiframe/abidlabs/remove-bg/+")||u(b,"src",kt),u(b,"frameborder","0"),u(b,"height","650"),u(b,"title","Gradio app"),u(b,"class","container p-0 flex-grow space-iframe"),u(b,"allow","accelerometer; ambient-light-sensor; autoplay; battery; camera; document-domain; encrypted-media; fullscreen; geolocation; gyroscope; layout-animations; legacy-image-formats; magnetometer; microphone; midi; oversized-images; payment; picture-in-picture; publickey-credentials-get; sync-xhr; usb; vr ; wake-lock; xr-spatial-tracking"),u(b,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads"),xt(E.src,Ht="https://hf.space/gradioiframe/course-demos/Remove-bg/+")||u(E,"src",Ht),u(E,"frameborder","0"),u(E,"height","550"),u(E,"title","Gradio app"),u(E,"class","container p-0 flex-grow space-iframe"),u(E,"allow","accelerometer; ambient-light-sensor; autoplay; battery; camera; document-domain; encrypted-media; fullscreen; geolocation; gyroscope; layout-animations; legacy-image-formats; magnetometer; microphone; midi; oversized-images; payment; picture-in-picture; publickey-credentials-get; sync-xhr; usb; vr ; wake-lock; xr-spatial-tracking"),u(E,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads")},m(e,n){a(document.head,P),c(e,Se,n),c(e,k,n),a(k,I),a(I,re),U(G,re,null),a(k,sa),a(k,Q),a(Q,ra),a(Q,le),a(le,la),c(e,Te,n),U(z,e,n),c(e,Ce,n),c(e,d,n),a(d,oa),a(d,oe),a(oe,ia),a(d,na),a(d,ie),a(ie,ua),a(d,ca),a(d,ne),a(ne,ma),a(d,pa),a(d,ue),a(ue,da),a(d,fa),a(d,ce),a(ce,ha),a(d,ga),a(d,me),a(me,va),a(d,ba),c(e,Ge,n),c(e,H,n),a(H,M),a(M,pe),U(F,pe,null),a(H,Ea),a(H,Y),a(Y,wa),a(Y,de),a(de,_a),c(e,ze,n),c(e,w,n),a(w,xa),a(w,fe),a(fe,qa),a(w,$a),a(w,he),a(he,ya),a(w,Pa),a(w,Z),a(Z,ka),a(w,Ha),c(e,Fe,n),c(e,h,n),a(h,ja),a(h,ge),a(ge,Ia),a(h,Ma),a(h,ve),a(ve,Aa),a(h,Sa),a(h,be),a(be,Ta),a(h,Ca),a(h,B),a(B,Ga),a(h,za),c(e,Be,n),U(J,e,n),c(e,Je,n),c(e,ee,n),a(ee,Fa),c(e,Le,n),c(e,v,n),c(e,De,n),c(e,q,n),a(q,Ba),a(q,L),a(L,Ja),a(q,La),a(q,Ee),a(Ee,Da),a(q,Na),c(e,Ne,n),c(e,j,n),a(j,A),a(A,we),U(D,we,null),a(j,Ra),a(j,ae),a(ae,Oa),a(ae,_e),a(_e,Va),c(e,Re,n),c(e,f,n),a(f,Ua),a(f,xe),a(xe,Wa),a(f,Xa),a(f,qe),a(qe,Ka),a(f,Qa),a(f,$e),a($e,Ya),a(f,Za),a(f,ye),a(ye,et),a(f,at),a(f,Pe),a(Pe,tt),a(f,st),c(e,Oe,n),c(e,S,n),a(S,rt),a(S,ke),a(ke,lt),a(S,ot),c(e,Ve,n),U(N,e,n),c(e,Ue,n),c(e,b,n),c(e,We,n),c(e,$,n),a($,it),a($,He),a(He,nt),a($,ut),a($,je),a(je,ct),a($,mt),c(e,Xe,n),U(R,e,n),c(e,Ke,n),c(e,E,n),c(e,Qe,n),c(e,_,n),a(_,pt),a(_,Ie),a(Ie,dt),a(_,ft),a(_,Me),a(Me,ht),a(_,gt),a(_,Ae),a(Ae,vt),a(_,bt),Ye=!0},p:hs,i(e){Ye||(W(G.$$.fragment,e),W(z.$$.fragment,e),W(F.$$.fragment,e),W(J.$$.fragment,e),W(D.$$.fragment,e),W(N.$$.fragment,e),W(R.$$.fragment,e),Ye=!0)},o(e){X(G.$$.fragment,e),X(z.$$.fragment,e),X(F.$$.fragment,e),X(J.$$.fragment,e),X(D.$$.fragment,e),X(N.$$.fragment,e),X(R.$$.fragment,e),Ye=!1},d(e){t(P),e&&t(Se),e&&t(k),K(G),e&&t(Te),K(z,e),e&&t(Ce),e&&t(d),e&&t(Ge),e&&t(H),K(F),e&&t(ze),e&&t(w),e&&t(Fe),e&&t(h),e&&t(Be),K(J,e),e&&t(Je),e&&t(ee),e&&t(Le),e&&t(v),e&&t(De),e&&t(q),e&&t(Ne),e&&t(j),K(D),e&&t(Re),e&&t(f),e&&t(Oe),e&&t(S),e&&t(Ve),K(N,e),e&&t(Ue),e&&t(b),e&&t(We),e&&t($),e&&t(Xe),K(R,e),e&&t(Ke),e&&t(E),e&&t(Qe),e&&t(_)}}}const Es={local:"intgrations-avec-le-ihub-dhugging-facei",sections:[{local:"chargement-de-modles-depuis-le-ihub-dhugging-facei",title:"Chargement de mod\xE8les depuis le <i>Hub d'Hugging Face</i>"},{local:"chargement-depuis-ihugging-face-spacesi",title:"Chargement depuis <i>Hugging Face Spaces</i>"}],title:"Int\xE9grations avec le <i>Hub d'Hugging Face</i>"};function ws(yt){return gs(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ys extends ms{constructor(P){super();ps(this,P,ws,bs,ds,{})}}export{ys as default,Es as metadata};
