import{S as Vt,i as Wt,s as Xt,e as r,k as p,w as C,t as c,M as Ut,c as s,d as t,m as u,a as l,x as N,h,b as n,N as bt,G as a,g as i,y as D,L as Kt,q as R,o as O,B as z,v as Qt}from"../../chunks/vendor-hf-doc-builder.js";import{I as vt}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as yt}from"../../chunks/CodeBlock-hf-doc-builder.js";import{D as Yt}from"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function Zt(wt){let y,ce,w,$,K,A,je,Q,Me,he,S,pe,k,Je,Y,Ce,Ne,ue,x,E,Z,B,De,ee,Re,ge,H,Oe,L,ze,Le,me,g,Ve,te,We,Xe,ae,Ue,Ke,oe,Qe,Ye,F,Ze,et,fe,I,de,V,tt,be,m,xt,ve,T,at,G,ot,nt,ye,_,P,ne,j,rt,re,st,we,b,lt,se,it,ct,le,ht,pt,xe,W,ut,_e,M,$e,f,_t,ke,X,gt,Ee,J,He,d,$t,Te,q,mt,ie,ft,dt,Pe;return A=new vt({}),S=new Yt({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/vi/chapter9/section5.ipynb"},{label:"Aws Studio",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/master/course/vi/chapter9/section5.ipynb"}]}}),B=new vt({}),I=new yt({props:{code:`import gradio as gr

title = "GPT-J-6B"
description = "Gradio Demo for GPT-J 6B, a transformer model trained using Ben Wang's Mesh Transformer JAX. 'GPT-J' refers to the class of model, while '6B' 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."
article = "<p style='text-align: center'><a href='https://github.com/kingoflolz/mesh-transformer-jax' target='_blank'>GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model</a></p>"
examples = [
    ["The tower is 324 metres (1,063 ft) tall,"],
    ["The Moon's orbit around Earth has"],
    ["The smooth Borealis basin in the Northern Hemisphere covers 40%"],
]
gr.Interface.load(
    "huggingface/EleutherAI/gpt-j-6B",
    inputs=gr.Textbox(lines=5, label="Input Text"),
    title=title,
    description=description,
    article=article,
    examples=examples,
    enable_queue=True,
).launch()`,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>
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>
examples = [
    [<span class="hljs-string">&quot;The tower is 324 metres (1,063 ft) tall,&quot;</span>],
    [<span class="hljs-string">&quot;The Moon&#x27;s orbit around Earth has&quot;</span>],
    [<span class="hljs-string">&quot;The smooth Borealis basin in the Northern Hemisphere covers 40%&quot;</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()`}}),j=new vt({}),M=new yt({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()'}}),J=new yt({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(){y=r("meta"),ce=p(),w=r("h1"),$=r("a"),K=r("span"),C(A.$$.fragment),je=p(),Q=r("span"),Me=c("T\xEDch h\u1EE3p v\u1EDBi Hugging Face Hub"),he=p(),C(S.$$.fragment),pe=p(),k=r("p"),Je=c("\u0110\u1EC3 l\xE0m cho cu\u1ED9c s\u1ED1ng c\u1EE7a b\u1EA1n tr\u1EDF n\xEAn d\u1EC5 d\xE0ng h\u01A1n, Gradio t\xEDch h\u1EE3p tr\u1EF1c ti\u1EBFp v\u1EDBi Hugging Face Hub v\xE0 Hugging Face Spaces. B\u1EA1n c\xF3 th\u1EC3 t\u1EA3i c\xE1c b\u1EA3n demo t\u1EEB Hub v\xE0 Spaces ch\u1EC9 v\u1EDBi "),Y=r("em"),Ce=c("m\u1ED9t d\xF2ng m\xE3"),Ne=c("."),ue=p(),x=r("h3"),E=r("a"),Z=r("span"),C(B.$$.fragment),De=p(),ee=r("span"),Re=c("T\u1EA3i m\xF4 h\xECnh t\u1EEB Hugging Face Hub"),ge=p(),H=r("p"),Oe=c("\u0110\u1EC3 b\u1EAFt \u0111\u1EA7u, h\xE3y ch\u1ECDn m\u1ED9t trong s\u1ED1 h\xE0ng ngh\xECn m\xF4 h\xECnh Hugging Face \u0111\u01B0\u1EE3c cung c\u1EA5p th\xF4ng qua Hub, nh\u01B0 \u0111\u01B0\u1EE3c m\xF4 t\u1EA3 trong "),L=r("a"),ze=c("Ch\u01B0\u01A1ng 4"),Le=c("."),me=p(),g=r("p"),Ve=c("S\u1EED d\u1EE5ng ph\u01B0\u01A1ng th\u1EE9c "),te=r("code"),We=c("Interface.load()"),Xe=c(" \u0111\u1EB7c bi\u1EC7t, b\u1EA1n truy\u1EC1n "),ae=r("code"),Ue=c('"model/"'),Ke=c(" (ho\u1EB7c, t\u01B0\u01A1ng \u0111\u01B0\u01A1ng, "),oe=r("code"),Qe=c('"huggingface/"'),Ye=c(") theo sau l\xE0 t\xEAn m\xF4 h\xECnh. V\xED d\u1EE5: \u0111\xE2y l\xE0 m\xE3 \u0111\u1EC3 t\u1EA1o b\u1EA3n demo cho "),F=r("a"),Ze=c("GPT-J"),et=c(", m\u1ED9t m\xF4 h\xECnh ng\xF4n ng\u1EEF l\u1EDBn, h\xE3y th\xEAm m\u1ED9t s\u1ED1 \u0111\u1EA7u v\xE0o m\u1EABu:"),fe=p(),C(I.$$.fragment),de=p(),V=r("p"),tt=c("\u0110o\u1EA1n m\xE3 tr\xEAn s\u1EBD t\u1EA1o ra giao di\u1EC7n b\xEAn d\u01B0\u1EDBi:"),be=p(),m=r("iframe"),ve=p(),T=r("p"),at=c("T\u1EA3i m\xF4 h\xECnh theo c\xE1ch n\xE0y s\u1EED d\u1EE5ng "),G=r("a"),ot=c("API lu\u1EADn suy"),nt=c(" c\u1EE7a Hugging Face, thay v\xEC t\u1EA3i m\xF4 h\xECnh trong b\u1ED9 nh\u1EDB. \u0110i\u1EC1u n\xE0y l\xFD t\u01B0\u1EDFng cho c\xE1c m\xF4 h\xECnh l\u1EDBn nh\u01B0 GPT-J ho\u1EB7c T0pp, nh\u1EEFng m\xF4 h\xECnh y\xEAu c\u1EA7u nhi\u1EC1u RAM."),ye=p(),_=r("h3"),P=r("a"),ne=r("span"),C(j.$$.fragment),rt=p(),re=r("span"),st=c("T\u1EA3i t\u1EEB Hugging Face Spaces"),we=p(),b=r("p"),lt=c("\u0110\u1EC3 t\u1EA3i b\u1EA5t k\u1EF3 Space n\xE0o t\u1EEB Hugging Face Hub v\xE0 t\u1EA1o l\u1EA1i n\xF3 c\u1EE5c b\u1ED9, b\u1EA1n c\xF3 th\u1EC3 truy\u1EC1n  "),se=r("code"),it=c("spaces/"),ct=c(" v\xE0o "),le=r("code"),ht=c("Interface"),pt=c(", theo sau l\xE0 t\xEAn c\u1EE7a Space."),xe=p(),W=r("p"),ut=c("B\u1EA1n c\xF3 nh\u1EDB b\u1EA3n demo t\u1EEB ph\u1EA7n 1 x\xF3a n\u1EC1n c\u1EE7a h\xECnh \u1EA3nh kh\xF4ng? H\xE3y t\u1EA3i n\xF3 t\u1EEB Hugging Face Spaces:"),_e=p(),C(M.$$.fragment),$e=p(),f=r("iframe"),ke=p(),X=r("p"),gt=c("M\u1ED9t trong nh\u1EEFng \u0111i\u1EC1u th\xFA v\u1ECB khi t\u1EA3i c\xE1c b\u1EA3n demo t\u1EEB Hub ho\u1EB7c Spaces l\xE0 b\u1EA1n t\xF9y ch\u1EC9nh ch\xFAng b\u1EB1ng c\xE1ch ghi \u0111\xE8 b\u1EA5t k\u1EF3 th\xF4ng s\u1ED1 n\xE0o. \u1EDE \u0111\xE2y, ch\xFAng ta th\xEAm ti\xEAu \u0111\u1EC1 v\xE0 l\xE0m cho ti\xEAu \u0111\u1EC1 \u0111\xF3 ho\u1EA1t \u0111\u1ED9ng v\u1EDBi webcam:"),Ee=p(),C(J.$$.fragment),He=p(),d=r("iframe"),Te=p(),q=r("p"),mt=c("B\xE2y gi\u1EDD ch\xFAng ta \u0111\xE3 kh\xE1m ph\xE1 m\u1ED9t s\u1ED1 c\xE1ch \u0111\u1EC3 t\xEDch h\u1EE3p Gradio v\u1EDBi Hugging Face Hub, h\xE3y c\xF9ng xem x\xE9t m\u1ED9t s\u1ED1 t\xEDnh n\u0103ng n\xE2ng cao c\u1EE7a l\u1EDBp "),ie=r("code"),ft=c("Interface"),dt=c(". \u0110\xF3 l\xE0 ch\u1EE7 \u0111\u1EC1 c\u1EE7a ph\u1EA7n ti\u1EBFp theo!"),this.h()},l(e){const o=Ut('[data-svelte="svelte-1phssyn"]',document.head);y=s(o,"META",{name:!0,content:!0}),o.forEach(t),ce=u(e),w=s(e,"H1",{class:!0});var qe=l(w);$=s(qe,"A",{id:!0,class:!0,href:!0});var kt=l($);K=s(kt,"SPAN",{});var Et=l(K);N(A.$$.fragment,Et),Et.forEach(t),kt.forEach(t),je=u(qe),Q=s(qe,"SPAN",{});var Ht=l(Q);Me=h(Ht,"T\xEDch h\u1EE3p v\u1EDBi Hugging Face Hub"),Ht.forEach(t),qe.forEach(t),he=u(e),N(S.$$.fragment,e),pe=u(e),k=s(e,"P",{});var Ae=l(k);Je=h(Ae,"\u0110\u1EC3 l\xE0m cho cu\u1ED9c s\u1ED1ng c\u1EE7a b\u1EA1n tr\u1EDF n\xEAn d\u1EC5 d\xE0ng h\u01A1n, Gradio t\xEDch h\u1EE3p tr\u1EF1c ti\u1EBFp v\u1EDBi Hugging Face Hub v\xE0 Hugging Face Spaces. B\u1EA1n c\xF3 th\u1EC3 t\u1EA3i c\xE1c b\u1EA3n demo t\u1EEB Hub v\xE0 Spaces ch\u1EC9 v\u1EDBi "),Y=s(Ae,"EM",{});var Tt=l(Y);Ce=h(Tt,"m\u1ED9t d\xF2ng m\xE3"),Tt.forEach(t),Ne=h(Ae,"."),Ae.forEach(t),ue=u(e),x=s(e,"H3",{class:!0});var Se=l(x);E=s(Se,"A",{id:!0,class:!0,href:!0});var Pt=l(E);Z=s(Pt,"SPAN",{});var qt=l(Z);N(B.$$.fragment,qt),qt.forEach(t),Pt.forEach(t),De=u(Se),ee=s(Se,"SPAN",{});var At=l(ee);Re=h(At,"T\u1EA3i m\xF4 h\xECnh t\u1EEB Hugging Face Hub"),At.forEach(t),Se.forEach(t),ge=u(e),H=s(e,"P",{});var Be=l(H);Oe=h(Be,"\u0110\u1EC3 b\u1EAFt \u0111\u1EA7u, h\xE3y ch\u1ECDn m\u1ED9t trong s\u1ED1 h\xE0ng ngh\xECn m\xF4 h\xECnh Hugging Face \u0111\u01B0\u1EE3c cung c\u1EA5p th\xF4ng qua Hub, nh\u01B0 \u0111\u01B0\u1EE3c m\xF4 t\u1EA3 trong "),L=s(Be,"A",{href:!0});var St=l(L);ze=h(St,"Ch\u01B0\u01A1ng 4"),St.forEach(t),Le=h(Be,"."),Be.forEach(t),me=u(e),g=s(e,"P",{});var v=l(g);Ve=h(v,"S\u1EED d\u1EE5ng ph\u01B0\u01A1ng th\u1EE9c "),te=s(v,"CODE",{});var Bt=l(te);We=h(Bt,"Interface.load()"),Bt.forEach(t),Xe=h(v," \u0111\u1EB7c bi\u1EC7t, b\u1EA1n truy\u1EC1n "),ae=s(v,"CODE",{});var Ft=l(ae);Ue=h(Ft,'"model/"'),Ft.forEach(t),Ke=h(v," (ho\u1EB7c, t\u01B0\u01A1ng \u0111\u01B0\u01A1ng, "),oe=s(v,"CODE",{});var It=l(oe);Qe=h(It,'"huggingface/"'),It.forEach(t),Ye=h(v,") theo sau l\xE0 t\xEAn m\xF4 h\xECnh. V\xED d\u1EE5: \u0111\xE2y l\xE0 m\xE3 \u0111\u1EC3 t\u1EA1o b\u1EA3n demo cho "),F=s(v,"A",{href:!0,rel:!0});var Gt=l(F);Ze=h(Gt,"GPT-J"),Gt.forEach(t),et=h(v,", m\u1ED9t m\xF4 h\xECnh ng\xF4n ng\u1EEF l\u1EDBn, h\xE3y th\xEAm m\u1ED9t s\u1ED1 \u0111\u1EA7u v\xE0o m\u1EABu:"),v.forEach(t),fe=u(e),N(I.$$.fragment,e),de=u(e),V=s(e,"P",{});var jt=l(V);tt=h(jt,"\u0110o\u1EA1n m\xE3 tr\xEAn s\u1EBD t\u1EA1o ra giao di\u1EC7n b\xEAn d\u01B0\u1EDBi:"),jt.forEach(t),be=u(e),m=s(e,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),l(m).forEach(t),ve=u(e),T=s(e,"P",{});var Fe=l(T);at=h(Fe,"T\u1EA3i m\xF4 h\xECnh theo c\xE1ch n\xE0y s\u1EED d\u1EE5ng "),G=s(Fe,"A",{href:!0,rel:!0});var Mt=l(G);ot=h(Mt,"API lu\u1EADn suy"),Mt.forEach(t),nt=h(Fe," c\u1EE7a Hugging Face, thay v\xEC t\u1EA3i m\xF4 h\xECnh trong b\u1ED9 nh\u1EDB. \u0110i\u1EC1u n\xE0y l\xFD t\u01B0\u1EDFng cho c\xE1c m\xF4 h\xECnh l\u1EDBn nh\u01B0 GPT-J ho\u1EB7c T0pp, nh\u1EEFng m\xF4 h\xECnh y\xEAu c\u1EA7u nhi\u1EC1u RAM."),Fe.forEach(t),ye=u(e),_=s(e,"H3",{class:!0});var Ie=l(_);P=s(Ie,"A",{id:!0,class:!0,href:!0});var Jt=l(P);ne=s(Jt,"SPAN",{});var Ct=l(ne);N(j.$$.fragment,Ct),Ct.forEach(t),Jt.forEach(t),rt=u(Ie),re=s(Ie,"SPAN",{});var Nt=l(re);st=h(Nt,"T\u1EA3i t\u1EEB Hugging Face Spaces"),Nt.forEach(t),Ie.forEach(t),we=u(e),b=s(e,"P",{});var U=l(b);lt=h(U,"\u0110\u1EC3 t\u1EA3i b\u1EA5t k\u1EF3 Space n\xE0o t\u1EEB Hugging Face Hub v\xE0 t\u1EA1o l\u1EA1i n\xF3 c\u1EE5c b\u1ED9, b\u1EA1n c\xF3 th\u1EC3 truy\u1EC1n  "),se=s(U,"CODE",{});var Dt=l(se);it=h(Dt,"spaces/"),Dt.forEach(t),ct=h(U," v\xE0o "),le=s(U,"CODE",{});var Rt=l(le);ht=h(Rt,"Interface"),Rt.forEach(t),pt=h(U,", theo sau l\xE0 t\xEAn c\u1EE7a Space."),U.forEach(t),xe=u(e),W=s(e,"P",{});var Ot=l(W);ut=h(Ot,"B\u1EA1n c\xF3 nh\u1EDB b\u1EA3n demo t\u1EEB ph\u1EA7n 1 x\xF3a n\u1EC1n c\u1EE7a h\xECnh \u1EA3nh kh\xF4ng? H\xE3y t\u1EA3i n\xF3 t\u1EEB Hugging Face Spaces:"),Ot.forEach(t),_e=u(e),N(M.$$.fragment,e),$e=u(e),f=s(e,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),l(f).forEach(t),ke=u(e),X=s(e,"P",{});var zt=l(X);gt=h(zt,"M\u1ED9t trong nh\u1EEFng \u0111i\u1EC1u th\xFA v\u1ECB khi t\u1EA3i c\xE1c b\u1EA3n demo t\u1EEB Hub ho\u1EB7c Spaces l\xE0 b\u1EA1n t\xF9y ch\u1EC9nh ch\xFAng b\u1EB1ng c\xE1ch ghi \u0111\xE8 b\u1EA5t k\u1EF3 th\xF4ng s\u1ED1 n\xE0o. \u1EDE \u0111\xE2y, ch\xFAng ta th\xEAm ti\xEAu \u0111\u1EC1 v\xE0 l\xE0m cho ti\xEAu \u0111\u1EC1 \u0111\xF3 ho\u1EA1t \u0111\u1ED9ng v\u1EDBi webcam:"),zt.forEach(t),Ee=u(e),N(J.$$.fragment,e),He=u(e),d=s(e,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),l(d).forEach(t),Te=u(e),q=s(e,"P",{});var Ge=l(q);mt=h(Ge,"B\xE2y gi\u1EDD ch\xFAng ta \u0111\xE3 kh\xE1m ph\xE1 m\u1ED9t s\u1ED1 c\xE1ch \u0111\u1EC3 t\xEDch h\u1EE3p Gradio v\u1EDBi Hugging Face Hub, h\xE3y c\xF9ng xem x\xE9t m\u1ED9t s\u1ED1 t\xEDnh n\u0103ng n\xE2ng cao c\u1EE7a l\u1EDBp "),ie=s(Ge,"CODE",{});var Lt=l(ie);ft=h(Lt,"Interface"),Lt.forEach(t),dt=h(Ge,". \u0110\xF3 l\xE0 ch\u1EE7 \u0111\u1EC1 c\u1EE7a ph\u1EA7n ti\u1EBFp theo!"),Ge.forEach(t),this.h()},h(){n(y,"name","hf:doc:metadata"),n(y,"content",JSON.stringify(ea)),n($,"id","tch-hp-vi-hugging-face-hub"),n($,"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"),n($,"href","#tch-hp-vi-hugging-face-hub"),n(w,"class","relative group"),n(E,"id","ti-m-hnh-t-hugging-face-hub"),n(E,"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"),n(E,"href","#ti-m-hnh-t-hugging-face-hub"),n(x,"class","relative group"),n(L,"href","/course/chapter4/2"),n(F,"href","https://huggingface.co/EleutherAI/gpt-j-6B"),n(F,"rel","nofollow"),bt(m.src,xt="https://hf.space/gradioiframe/course-demos/gpt-j-6B/+")||n(m,"src",xt),n(m,"frameborder","0"),n(m,"height","750"),n(m,"title","Gradio app"),n(m,"class","container p-0 flex-grow space-iframe"),n(m,"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"),n(m,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads"),n(G,"href","https://huggingface.co/inference-api"),n(G,"rel","nofollow"),n(P,"id","ti-t-hugging-face-spaces"),n(P,"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"),n(P,"href","#ti-t-hugging-face-spaces"),n(_,"class","relative group"),bt(f.src,_t="https://hf.space/gradioiframe/course-demos/remove-bg-original/+")||n(f,"src",_t),n(f,"frameborder","0"),n(f,"height","650"),n(f,"title","Gradio app"),n(f,"class","container p-0 flex-grow space-iframe"),n(f,"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"),n(f,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads"),bt(d.src,$t="https://hf.space/gradioiframe/course-demos/Remove-bg/+")||n(d,"src",$t),n(d,"frameborder","0"),n(d,"height","550"),n(d,"title","Gradio app"),n(d,"class","container p-0 flex-grow space-iframe"),n(d,"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"),n(d,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads")},m(e,o){a(document.head,y),i(e,ce,o),i(e,w,o),a(w,$),a($,K),D(A,K,null),a(w,je),a(w,Q),a(Q,Me),i(e,he,o),D(S,e,o),i(e,pe,o),i(e,k,o),a(k,Je),a(k,Y),a(Y,Ce),a(k,Ne),i(e,ue,o),i(e,x,o),a(x,E),a(E,Z),D(B,Z,null),a(x,De),a(x,ee),a(ee,Re),i(e,ge,o),i(e,H,o),a(H,Oe),a(H,L),a(L,ze),a(H,Le),i(e,me,o),i(e,g,o),a(g,Ve),a(g,te),a(te,We),a(g,Xe),a(g,ae),a(ae,Ue),a(g,Ke),a(g,oe),a(oe,Qe),a(g,Ye),a(g,F),a(F,Ze),a(g,et),i(e,fe,o),D(I,e,o),i(e,de,o),i(e,V,o),a(V,tt),i(e,be,o),i(e,m,o),i(e,ve,o),i(e,T,o),a(T,at),a(T,G),a(G,ot),a(T,nt),i(e,ye,o),i(e,_,o),a(_,P),a(P,ne),D(j,ne,null),a(_,rt),a(_,re),a(re,st),i(e,we,o),i(e,b,o),a(b,lt),a(b,se),a(se,it),a(b,ct),a(b,le),a(le,ht),a(b,pt),i(e,xe,o),i(e,W,o),a(W,ut),i(e,_e,o),D(M,e,o),i(e,$e,o),i(e,f,o),i(e,ke,o),i(e,X,o),a(X,gt),i(e,Ee,o),D(J,e,o),i(e,He,o),i(e,d,o),i(e,Te,o),i(e,q,o),a(q,mt),a(q,ie),a(ie,ft),a(q,dt),Pe=!0},p:Kt,i(e){Pe||(R(A.$$.fragment,e),R(S.$$.fragment,e),R(B.$$.fragment,e),R(I.$$.fragment,e),R(j.$$.fragment,e),R(M.$$.fragment,e),R(J.$$.fragment,e),Pe=!0)},o(e){O(A.$$.fragment,e),O(S.$$.fragment,e),O(B.$$.fragment,e),O(I.$$.fragment,e),O(j.$$.fragment,e),O(M.$$.fragment,e),O(J.$$.fragment,e),Pe=!1},d(e){t(y),e&&t(ce),e&&t(w),z(A),e&&t(he),z(S,e),e&&t(pe),e&&t(k),e&&t(ue),e&&t(x),z(B),e&&t(ge),e&&t(H),e&&t(me),e&&t(g),e&&t(fe),z(I,e),e&&t(de),e&&t(V),e&&t(be),e&&t(m),e&&t(ve),e&&t(T),e&&t(ye),e&&t(_),z(j),e&&t(we),e&&t(b),e&&t(xe),e&&t(W),e&&t(_e),z(M,e),e&&t($e),e&&t(f),e&&t(ke),e&&t(X),e&&t(Ee),z(J,e),e&&t(He),e&&t(d),e&&t(Te),e&&t(q)}}}const ea={local:"tch-hp-vi-hugging-face-hub",sections:[{local:"ti-m-hnh-t-hugging-face-hub",title:"T\u1EA3i m\xF4 h\xECnh t\u1EEB Hugging Face Hub"},{local:"ti-t-hugging-face-spaces",title:"T\u1EA3i t\u1EEB Hugging Face Spaces"}],title:"T\xEDch h\u1EE3p v\u1EDBi Hugging Face Hub"};function ta(wt){return Qt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class sa extends Vt{constructor(y){super();Wt(this,y,ta,Zt,Xt,{})}}export{sa as default,ea as metadata};
