import{S as pe,i as fe,s as de,e as o,k as m,w as An,t as h,M as ve,c as a,d as n,m as g,a as i,x as Mn,h as r,b as l,N as Rn,G as e,g as s,y as Cn,q as In,o as Ln,B as On,v as ye}from"../../chunks/vendor-hf-doc-builder.js";import{T as be}from"../../chunks/Tip-hf-doc-builder.js";import{I as ue}from"../../chunks/IconCopyLink-hf-doc-builder.js";function _e(gt){let p,d,v,y;return{c(){p=h("\u{1F440} H\xE3y ng\xF3 th\u1EED "),d=o("a"),v=h("Hugging Face Spaces"),y=h(" \u0111\u1EC3 xem nhi\u1EC1u v\xED d\u1EE5 g\u1EA7n \u0111\xE2y v\u1EC1 c\xE1c b\u1EA3n demo h\u1ECDc m\xE1y do c\u1ED9ng \u0111\u1ED3ng h\u1ECDc m\xE1y x\xE2y d\u1EF1ng!"),this.h()},l(u){p=r(u,"\u{1F440} H\xE3y ng\xF3 th\u1EED "),d=a(u,"A",{href:!0,target:!0});var f=i(d);v=r(f,"Hugging Face Spaces"),f.forEach(n),y=r(u," \u0111\u1EC3 xem nhi\u1EC1u v\xED d\u1EE5 g\u1EA7n \u0111\xE2y v\u1EC1 c\xE1c b\u1EA3n demo h\u1ECDc m\xE1y do c\u1ED9ng \u0111\u1ED3ng h\u1ECDc m\xE1y x\xE2y d\u1EF1ng!"),this.h()},h(){l(d,"href","https://huggingface.co/spaces"),l(d,"target","_blank")},m(u,f){s(u,p,f),s(u,d,f),e(d,v),s(u,y,f)},d(u){u&&n(p),u&&n(d),u&&n(y)}}}function we(gt){let p,d,v,y,u,f,Lt,Q,Ot,ut,G,Ht,W,Ft,Ut,pt,H,Bt,ft,x,F,Y,qt,zt,Dt,U,Z,Vt,Xt,Jt,N,tt,Kt,jt,nt,Qt,Wt,Yt,B,et,Zt,tn,dt,q,nn,vt,z,en,yt,D,R,on,ot,an,hn,bt,b,Hn,_t,V,k,rn,at,cn,ln,X,sn,mn,wt,_,Fn,xt,J,C,gn,it,un,pn,Et,w,Un,kt,E,fn,ht,dn,vn,rt,yn,bn,$t,S,Gt,$,T,ct,I,_n,lt,wn,Nt,P,xn,st,En,kn,St,A,$n,L,Gn,Nn,Tt;return f=new ue({}),S=new be({props:{$$slots:{default:[_e]},$$scope:{ctx:gt}}}),I=new ue({}),{c(){p=o("meta"),d=m(),v=o("h1"),y=o("a"),u=o("span"),An(f.$$.fragment),Lt=m(),Q=o("span"),Ot=h("Gi\u1EDBi thi\u1EC7u"),ut=m(),G=o("p"),Ht=h("Trong ch\u01B0\u01A1ng n\xE0y, ch\xFAng ta s\u1EBD t\xECm hi\u1EC3u v\u1EC1 c\xE1ch t\u1EA1o "),W=o("strong"),Ft=h("demo t\u01B0\u01A1ng t\xE1c"),Ut=h(" cho c\xE1c m\xF4 h\xECnh h\u1ECDc m\xE1y c\u1EE7a b\u1EA1n."),pt=m(),H=o("p"),Bt=h("T\u1EA1i sao ta n\xEAn x\xE2y d\u1EF1ng b\u1EA3n demo ho\u1EB7c GUI cho m\xF4 h\xECnh h\u1ECDc m\xE1y c\u1EE7a b\u1EA1n? B\u1EA3n demo cho ph\xE9p:"),ft=m(),x=o("ul"),F=o("li"),Y=o("strong"),qt=h("C\xE1c nh\xE0 ph\xE1t tri\u1EC3n h\u1ECDc m\xE1y"),zt=h(" d\u1EC5 d\xE0ng tr\xECnh b\xE0y c\xF4ng vi\u1EC7c c\u1EE7a h\u1ECD cho nhi\u1EC1u \u0111\u1ED1i t\u01B0\u1EE3ng bao g\u1ED3m c\u1EA3 c\xE1c nh\xF3m kh\xF4ng chuy\xEAn v\u1EC1 k\u1EF9 thu\u1EADt ho\u1EB7c kh\xE1ch h\xE0ng"),Dt=m(),U=o("li"),Z=o("strong"),Vt=h("C\xE1c nh\xE0 nghi\xEAn c\u1EE9u"),Xt=h(" d\u1EC5 d\xE0ng t\xE1i t\u1EA1o c\xE1c m\xF4 h\xECnh v\xE0 h\xE0nh vi h\u1ECDc m\xE1y h\u01A1n"),Jt=m(),N=o("li"),tt=o("strong"),Kt=h("Ng\u01B0\u1EDDi ki\u1EC3m tra ch\u1EA5t l\u01B0\u1EE3ng"),jt=h(" ho\u1EB7c "),nt=o("strong"),Qt=h("ng\u01B0\u1EDDi d\xF9ng cu\u1ED1i"),Wt=h(" d\u1EC5 d\xE0ng x\xE1c \u0111\u1ECBnh v\xE0 g\u1EE1 l\u1ED7i c\xE1c \u0111i\u1EC3m h\u1ECFng h\xF3c c\u1EE7a m\xF4 h\xECnh"),Yt=m(),B=o("li"),et=o("strong"),Zt=h("Ng\u01B0\u1EDDi d\xF9ng \u0111a d\u1EA1ng"),tn=h(" kh\xE1m ph\xE1 c\xE1c sai l\u1EC7ch c\u1EE7a \u200B\u200Bthu\u1EADt to\xE1n trong c\xE1c m\xF4 h\xECnh"),dt=m(),q=o("p"),nn=h("Ch\xFAng ta s\u1EBD s\u1EED d\u1EE5ng th\u01B0 vi\u1EC7n Gradio \u0111\u1EC3 x\xE2y d\u1EF1ng c\xE1c b\u1EA3n demo cho c\xE1c m\xF4 h\xECnh c\u1EE7a m\xECnh. Gradio cho ph\xE9p b\u1EA1n x\xE2y d\u1EF1ng, t\xF9y ch\u1EC9nh v\xE0 chia s\u1EBB c\xE1c b\u1EA3n demo tr\xEAn web cho b\u1EA5t k\u1EF3 m\xF4 h\xECnh h\u1ECDc m\xE1y n\xE0o, ho\xE0n to\xE0n b\u1EB1ng Python."),vt=m(),z=o("p"),en=h("D\u01B0\u1EDBi \u0111\xE2y l\xE0 m\u1ED9t s\u1ED1 v\xED d\u1EE5 v\u1EC1 demo h\u1ECDc m\xE1y \u0111\u01B0\u1EE3c x\xE2y d\u1EF1ng v\u1EDBi Gradio:"),yt=m(),D=o("ul"),R=o("li"),on=h("M\u1ED9t m\xF4 h\xECnh "),ot=o("strong"),an=h("nh\u1EADn d\u1EA1ng ph\xE1c th\u1EA3o"),hn=h(" nh\u1EADn b\u1EA3n ph\xE1c th\u1EA3o v\xE0 xu\u1EA5t ra c\xE1c nh\xE3n c\u1EE7a nh\u1EEFng g\xEC n\xF3 cho l\xE0 \u0111ang \u0111\u01B0\u1EE3c v\u1EBD:"),bt=m(),b=o("iframe"),_t=m(),V=o("ul"),k=o("li"),rn=h("M\xF4 h\xECnh "),at=o("strong"),cn=h("h\u1ECFi \u0111\xE1p"),ln=h(" khai th\xE1c l\u1EA5y trong m\u1ED9t \u0111o\u1EA1n ng\u1EEF c\u1EA3nh v\xE0 m\u1ED9t c\xE2u h\u1ECFi v\xE0 \u0111\u01B0a ra m\u1ED9t c\xE2u tr\u1EA3 l\u1EDDi v\xE0 \u0111i\u1EC3m x\xE1c su\u1EA5t (ch\xFAng ta \u0111\xE3 th\u1EA3o lu\u1EADn v\u1EC1 lo\u1EA1i m\xF4 h\xECnh n\xE0y "),X=o("a"),sn=h("trong Ch\u01B0\u01A1ng 7"),mn=h("):"),wt=m(),_=o("iframe"),xt=m(),J=o("ul"),C=o("li"),gn=h("M\u1ED9t m\xF4 h\xECnh "),it=o("strong"),un=h("x\xF3a n\u1EC1n"),pn=h(" nh\u1EADn v\xE0o m\u1ED9t h\xECnh \u1EA3nh v\xE0 xu\u1EA5t ra h\xECnh \u1EA3nh v\u1EDBi n\u1EC1n \u0111\xE3 b\u1ECB x\xF3a:"),Et=m(),w=o("iframe"),kt=m(),E=o("p"),fn=h("Ch\u01B0\u01A1ng n\xE0y \u0111\u01B0\u1EE3c chia th\xE0nh c\xE1c ph\u1EA7n bao g\u1ED3m c\u1EA3 "),ht=o("em"),dn=h("kh\xE1i ni\u1EC7m"),vn=h(" v\xE0 "),rt=o("em"),yn=h("\u1EE9ng d\u1EE5ng"),bn=h(". Sau khi b\u1EA1n t\xECm hi\u1EC3u kh\xE1i ni\u1EC7m trong m\u1ED7i ph\u1EA7n, b\u1EA1n s\u1EBD \xE1p d\u1EE5ng n\xF3 \u0111\u1EC3 x\xE2y d\u1EF1ng m\u1ED9t lo\u1EA1i b\u1EA3n demo c\u1EE5 th\u1EC3, t\u1EEB ph\xE2n lo\u1EA1i h\xECnh \u1EA3nh \u0111\u1EBFn nh\u1EADn d\u1EA1ng gi\u1ECDng n\xF3i. V\xE0o th\u1EDDi \u0111i\u1EC3m b\u1EA1n ho\xE0n th\xE0nh ch\u01B0\u01A1ng n\xE0y, b\u1EA1n s\u1EBD c\xF3 th\u1EC3 x\xE2y d\u1EF1ng c\xE1c b\u1EA3n demo n\xE0y (v\xE0 nhi\u1EC1u h\u01A1n n\u1EEFa!) Ch\u1EC9 trong m\u1ED9t v\xE0i d\xF2ng m\xE3 Python."),$t=m(),An(S.$$.fragment),Gt=m(),$=o("h2"),T=o("a"),ct=o("span"),An(I.$$.fragment),_n=m(),lt=o("span"),wn=h("B\u1EEFa ti\u1EC7c Gradio"),Nt=m(),P=o("p"),xn=h("N\u1EBFu b\u1EA1n mu\u1ED1n v\u1EADn d\u1EE5ng t\u1ED1t ki\u1EBFn th\u1EE9c t\u1EEB ch\u01B0\u01A1ng n\xE0y, h\xE3y tham gia b\u1EEFa ti\u1EC7c Gradio! \u0110\xE2y l\xE0 s\u1EF1 ki\u1EC7n c\u1ED9ng \u0111\u1ED3ng do Hugging Face t\u1ED5 ch\u1EE9c v\xE0o ng\xE0y "),st=o("strong"),En=h("16-31 th\xE1ng 5"),kn=h(". Trong s\u1EF1 ki\u1EC7n n\xE0y, b\u1EA1n s\u1EBD x\xE2y d\u1EF1ng c\xE1c b\u1EA3n demo h\u1ECDc m\xE1y th\xFA v\u1ECB v\u1EDBi Gradio v\xE0 \u0111ang ch\u1EA1y \u0111\u1EC3 gi\xE0nh chi\u1EBFn th\u1EAFng v\xE0 gi\u1EA3i th\u01B0\u1EDFng Hugging Face swag!"),St=m(),A=o("p"),$n=h("Xem "),L=o("a"),Gn=h("m\xF4 t\u1EA3 s\u1EF1 ki\u1EC7n"),Nn=h(" \u0111\u1EC3 bi\u1EBFt chi ti\u1EBFt v\u1EC1 c\xE1ch tham gia - ch\xFAng t\xF4i r\u1EA5t n\xF3ng l\xF2ng \u0111\u01B0\u1EE3c bi\u1EBFt c\xE1c b\u1EA3n demo b\u1EA1n s\u1EBD x\xE2y d\u1EF1ng \u{1F917}!"),this.h()},l(t){const c=ve('[data-svelte="svelte-1phssyn"]',document.head);p=a(c,"META",{name:!0,content:!0}),c.forEach(n),d=g(t),v=a(t,"H1",{class:!0});var O=i(v);y=a(O,"A",{id:!0,class:!0,href:!0});var Bn=i(y);u=a(Bn,"SPAN",{});var qn=i(u);Mn(f.$$.fragment,qn),qn.forEach(n),Bn.forEach(n),Lt=g(O),Q=a(O,"SPAN",{});var zn=i(Q);Ot=r(zn,"Gi\u1EDBi thi\u1EC7u"),zn.forEach(n),O.forEach(n),ut=g(t),G=a(t,"P",{});var Pt=i(G);Ht=r(Pt,"Trong ch\u01B0\u01A1ng n\xE0y, ch\xFAng ta s\u1EBD t\xECm hi\u1EC3u v\u1EC1 c\xE1ch t\u1EA1o "),W=a(Pt,"STRONG",{});var Dn=i(W);Ft=r(Dn,"demo t\u01B0\u01A1ng t\xE1c"),Dn.forEach(n),Ut=r(Pt," cho c\xE1c m\xF4 h\xECnh h\u1ECDc m\xE1y c\u1EE7a b\u1EA1n."),Pt.forEach(n),pt=g(t),H=a(t,"P",{});var Vn=i(H);Bt=r(Vn,"T\u1EA1i sao ta n\xEAn x\xE2y d\u1EF1ng b\u1EA3n demo ho\u1EB7c GUI cho m\xF4 h\xECnh h\u1ECDc m\xE1y c\u1EE7a b\u1EA1n? B\u1EA3n demo cho ph\xE9p:"),Vn.forEach(n),ft=g(t),x=a(t,"UL",{});var M=i(x);F=a(M,"LI",{});var Sn=i(F);Y=a(Sn,"STRONG",{});var Xn=i(Y);qt=r(Xn,"C\xE1c nh\xE0 ph\xE1t tri\u1EC3n h\u1ECDc m\xE1y"),Xn.forEach(n),zt=r(Sn," d\u1EC5 d\xE0ng tr\xECnh b\xE0y c\xF4ng vi\u1EC7c c\u1EE7a h\u1ECD cho nhi\u1EC1u \u0111\u1ED1i t\u01B0\u1EE3ng bao g\u1ED3m c\u1EA3 c\xE1c nh\xF3m kh\xF4ng chuy\xEAn v\u1EC1 k\u1EF9 thu\u1EADt ho\u1EB7c kh\xE1ch h\xE0ng"),Sn.forEach(n),Dt=g(M),U=a(M,"LI",{});var Tn=i(U);Z=a(Tn,"STRONG",{});var Jn=i(Z);Vt=r(Jn,"C\xE1c nh\xE0 nghi\xEAn c\u1EE9u"),Jn.forEach(n),Xt=r(Tn," d\u1EC5 d\xE0ng t\xE1i t\u1EA1o c\xE1c m\xF4 h\xECnh v\xE0 h\xE0nh vi h\u1ECDc m\xE1y h\u01A1n"),Tn.forEach(n),Jt=g(M),N=a(M,"LI",{});var mt=i(N);tt=a(mt,"STRONG",{});var Kn=i(tt);Kt=r(Kn,"Ng\u01B0\u1EDDi ki\u1EC3m tra ch\u1EA5t l\u01B0\u1EE3ng"),Kn.forEach(n),jt=r(mt," ho\u1EB7c "),nt=a(mt,"STRONG",{});var jn=i(nt);Qt=r(jn,"ng\u01B0\u1EDDi d\xF9ng cu\u1ED1i"),jn.forEach(n),Wt=r(mt," d\u1EC5 d\xE0ng x\xE1c \u0111\u1ECBnh v\xE0 g\u1EE1 l\u1ED7i c\xE1c \u0111i\u1EC3m h\u1ECFng h\xF3c c\u1EE7a m\xF4 h\xECnh"),mt.forEach(n),Yt=g(M),B=a(M,"LI",{});var Pn=i(B);et=a(Pn,"STRONG",{});var Qn=i(et);Zt=r(Qn,"Ng\u01B0\u1EDDi d\xF9ng \u0111a d\u1EA1ng"),Qn.forEach(n),tn=r(Pn," kh\xE1m ph\xE1 c\xE1c sai l\u1EC7ch c\u1EE7a \u200B\u200Bthu\u1EADt to\xE1n trong c\xE1c m\xF4 h\xECnh"),Pn.forEach(n),M.forEach(n),dt=g(t),q=a(t,"P",{});var Wn=i(q);nn=r(Wn,"Ch\xFAng ta s\u1EBD s\u1EED d\u1EE5ng th\u01B0 vi\u1EC7n Gradio \u0111\u1EC3 x\xE2y d\u1EF1ng c\xE1c b\u1EA3n demo cho c\xE1c m\xF4 h\xECnh c\u1EE7a m\xECnh. Gradio cho ph\xE9p b\u1EA1n x\xE2y d\u1EF1ng, t\xF9y ch\u1EC9nh v\xE0 chia s\u1EBB c\xE1c b\u1EA3n demo tr\xEAn web cho b\u1EA5t k\u1EF3 m\xF4 h\xECnh h\u1ECDc m\xE1y n\xE0o, ho\xE0n to\xE0n b\u1EB1ng Python."),Wn.forEach(n),vt=g(t),z=a(t,"P",{});var Yn=i(z);en=r(Yn,"D\u01B0\u1EDBi \u0111\xE2y l\xE0 m\u1ED9t s\u1ED1 v\xED d\u1EE5 v\u1EC1 demo h\u1ECDc m\xE1y \u0111\u01B0\u1EE3c x\xE2y d\u1EF1ng v\u1EDBi Gradio:"),Yn.forEach(n),yt=g(t),D=a(t,"UL",{});var Zn=i(D);R=a(Zn,"LI",{});var At=i(R);on=r(At,"M\u1ED9t m\xF4 h\xECnh "),ot=a(At,"STRONG",{});var te=i(ot);an=r(te,"nh\u1EADn d\u1EA1ng ph\xE1c th\u1EA3o"),te.forEach(n),hn=r(At," nh\u1EADn b\u1EA3n ph\xE1c th\u1EA3o v\xE0 xu\u1EA5t ra c\xE1c nh\xE3n c\u1EE7a nh\u1EEFng g\xEC n\xF3 cho l\xE0 \u0111ang \u0111\u01B0\u1EE3c v\u1EBD:"),At.forEach(n),Zn.forEach(n),bt=g(t),b=a(t,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),i(b).forEach(n),_t=g(t),V=a(t,"UL",{});var ne=i(V);k=a(ne,"LI",{});var K=i(k);rn=r(K,"M\xF4 h\xECnh "),at=a(K,"STRONG",{});var ee=i(at);cn=r(ee,"h\u1ECFi \u0111\xE1p"),ee.forEach(n),ln=r(K," khai th\xE1c l\u1EA5y trong m\u1ED9t \u0111o\u1EA1n ng\u1EEF c\u1EA3nh v\xE0 m\u1ED9t c\xE2u h\u1ECFi v\xE0 \u0111\u01B0a ra m\u1ED9t c\xE2u tr\u1EA3 l\u1EDDi v\xE0 \u0111i\u1EC3m x\xE1c su\u1EA5t (ch\xFAng ta \u0111\xE3 th\u1EA3o lu\u1EADn v\u1EC1 lo\u1EA1i m\xF4 h\xECnh n\xE0y "),X=a(K,"A",{href:!0});var oe=i(X);sn=r(oe,"trong Ch\u01B0\u01A1ng 7"),oe.forEach(n),mn=r(K,"):"),K.forEach(n),ne.forEach(n),wt=g(t),_=a(t,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),i(_).forEach(n),xt=g(t),J=a(t,"UL",{});var ae=i(J);C=a(ae,"LI",{});var Mt=i(C);gn=r(Mt,"M\u1ED9t m\xF4 h\xECnh "),it=a(Mt,"STRONG",{});var ie=i(it);un=r(ie,"x\xF3a n\u1EC1n"),ie.forEach(n),pn=r(Mt," nh\u1EADn v\xE0o m\u1ED9t h\xECnh \u1EA3nh v\xE0 xu\u1EA5t ra h\xECnh \u1EA3nh v\u1EDBi n\u1EC1n \u0111\xE3 b\u1ECB x\xF3a:"),Mt.forEach(n),ae.forEach(n),Et=g(t),w=a(t,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),i(w).forEach(n),kt=g(t),E=a(t,"P",{});var j=i(E);fn=r(j,"Ch\u01B0\u01A1ng n\xE0y \u0111\u01B0\u1EE3c chia th\xE0nh c\xE1c ph\u1EA7n bao g\u1ED3m c\u1EA3 "),ht=a(j,"EM",{});var he=i(ht);dn=r(he,"kh\xE1i ni\u1EC7m"),he.forEach(n),vn=r(j," v\xE0 "),rt=a(j,"EM",{});var re=i(rt);yn=r(re,"\u1EE9ng d\u1EE5ng"),re.forEach(n),bn=r(j,". Sau khi b\u1EA1n t\xECm hi\u1EC3u kh\xE1i ni\u1EC7m trong m\u1ED7i ph\u1EA7n, b\u1EA1n s\u1EBD \xE1p d\u1EE5ng n\xF3 \u0111\u1EC3 x\xE2y d\u1EF1ng m\u1ED9t lo\u1EA1i b\u1EA3n demo c\u1EE5 th\u1EC3, t\u1EEB ph\xE2n lo\u1EA1i h\xECnh \u1EA3nh \u0111\u1EBFn nh\u1EADn d\u1EA1ng gi\u1ECDng n\xF3i. V\xE0o th\u1EDDi \u0111i\u1EC3m b\u1EA1n ho\xE0n th\xE0nh ch\u01B0\u01A1ng n\xE0y, b\u1EA1n s\u1EBD c\xF3 th\u1EC3 x\xE2y d\u1EF1ng c\xE1c b\u1EA3n demo n\xE0y (v\xE0 nhi\u1EC1u h\u01A1n n\u1EEFa!) Ch\u1EC9 trong m\u1ED9t v\xE0i d\xF2ng m\xE3 Python."),j.forEach(n),$t=g(t),Mn(S.$$.fragment,t),Gt=g(t),$=a(t,"H2",{class:!0});var Rt=i($);T=a(Rt,"A",{id:!0,class:!0,href:!0});var ce=i(T);ct=a(ce,"SPAN",{});var le=i(ct);Mn(I.$$.fragment,le),le.forEach(n),ce.forEach(n),_n=g(Rt),lt=a(Rt,"SPAN",{});var se=i(lt);wn=r(se,"B\u1EEFa ti\u1EC7c Gradio"),se.forEach(n),Rt.forEach(n),Nt=g(t),P=a(t,"P",{});var Ct=i(P);xn=r(Ct,"N\u1EBFu b\u1EA1n mu\u1ED1n v\u1EADn d\u1EE5ng t\u1ED1t ki\u1EBFn th\u1EE9c t\u1EEB ch\u01B0\u01A1ng n\xE0y, h\xE3y tham gia b\u1EEFa ti\u1EC7c Gradio! \u0110\xE2y l\xE0 s\u1EF1 ki\u1EC7n c\u1ED9ng \u0111\u1ED3ng do Hugging Face t\u1ED5 ch\u1EE9c v\xE0o ng\xE0y "),st=a(Ct,"STRONG",{});var me=i(st);En=r(me,"16-31 th\xE1ng 5"),me.forEach(n),kn=r(Ct,". Trong s\u1EF1 ki\u1EC7n n\xE0y, b\u1EA1n s\u1EBD x\xE2y d\u1EF1ng c\xE1c b\u1EA3n demo h\u1ECDc m\xE1y th\xFA v\u1ECB v\u1EDBi Gradio v\xE0 \u0111ang ch\u1EA1y \u0111\u1EC3 gi\xE0nh chi\u1EBFn th\u1EAFng v\xE0 gi\u1EA3i th\u01B0\u1EDFng Hugging Face swag!"),Ct.forEach(n),St=g(t),A=a(t,"P",{});var It=i(A);$n=r(It,"Xem "),L=a(It,"A",{href:!0,rel:!0});var ge=i(L);Gn=r(ge,"m\xF4 t\u1EA3 s\u1EF1 ki\u1EC7n"),ge.forEach(n),Nn=r(It," \u0111\u1EC3 bi\u1EBFt chi ti\u1EBFt v\u1EC1 c\xE1ch tham gia - ch\xFAng t\xF4i r\u1EA5t n\xF3ng l\xF2ng \u0111\u01B0\u1EE3c bi\u1EBFt c\xE1c b\u1EA3n demo b\u1EA1n s\u1EBD x\xE2y d\u1EF1ng \u{1F917}!"),It.forEach(n),this.h()},h(){l(p,"name","hf:doc:metadata"),l(p,"content",JSON.stringify(xe)),l(y,"id","gii-thiu"),l(y,"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"),l(y,"href","#gii-thiu"),l(v,"class","relative group"),Rn(b.src,Hn="https://hf.space/gradioiframe/course-demos/draw2/+")||l(b,"src",Hn),l(b,"frameborder","0"),l(b,"height","450"),l(b,"title","Gradio app"),l(b,"class","container p-0 flex-grow space-iframe"),l(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"),l(b,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads"),l(X,"href","/course/chapter7/7"),Rn(_.src,Fn="https://hf.space/gradioiframe/course-demos/question-answering-simple/+")||l(_,"src",Fn),l(_,"frameborder","0"),l(_,"height","640"),l(_,"title","Gradio app"),l(_,"class","container p-0 flex-grow space-iframe"),l(_,"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"),l(_,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads"),Rn(w.src,Un="https://hf.space/gradioiframe/course-demos/remove-bg-original/+")||l(w,"src",Un),l(w,"frameborder","0"),l(w,"height","640"),l(w,"title","Gradio app"),l(w,"class","container p-0 flex-grow space-iframe"),l(w,"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"),l(w,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads"),l(T,"id","ba-tic-gradio"),l(T,"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"),l(T,"href","#ba-tic-gradio"),l($,"class","relative group"),l(L,"href","https://github.com/AK391/community-events/blob/main/gradio-blocks/README.md"),l(L,"rel","nofollow")},m(t,c){e(document.head,p),s(t,d,c),s(t,v,c),e(v,y),e(y,u),Cn(f,u,null),e(v,Lt),e(v,Q),e(Q,Ot),s(t,ut,c),s(t,G,c),e(G,Ht),e(G,W),e(W,Ft),e(G,Ut),s(t,pt,c),s(t,H,c),e(H,Bt),s(t,ft,c),s(t,x,c),e(x,F),e(F,Y),e(Y,qt),e(F,zt),e(x,Dt),e(x,U),e(U,Z),e(Z,Vt),e(U,Xt),e(x,Jt),e(x,N),e(N,tt),e(tt,Kt),e(N,jt),e(N,nt),e(nt,Qt),e(N,Wt),e(x,Yt),e(x,B),e(B,et),e(et,Zt),e(B,tn),s(t,dt,c),s(t,q,c),e(q,nn),s(t,vt,c),s(t,z,c),e(z,en),s(t,yt,c),s(t,D,c),e(D,R),e(R,on),e(R,ot),e(ot,an),e(R,hn),s(t,bt,c),s(t,b,c),s(t,_t,c),s(t,V,c),e(V,k),e(k,rn),e(k,at),e(at,cn),e(k,ln),e(k,X),e(X,sn),e(k,mn),s(t,wt,c),s(t,_,c),s(t,xt,c),s(t,J,c),e(J,C),e(C,gn),e(C,it),e(it,un),e(C,pn),s(t,Et,c),s(t,w,c),s(t,kt,c),s(t,E,c),e(E,fn),e(E,ht),e(ht,dn),e(E,vn),e(E,rt),e(rt,yn),e(E,bn),s(t,$t,c),Cn(S,t,c),s(t,Gt,c),s(t,$,c),e($,T),e(T,ct),Cn(I,ct,null),e($,_n),e($,lt),e(lt,wn),s(t,Nt,c),s(t,P,c),e(P,xn),e(P,st),e(st,En),e(P,kn),s(t,St,c),s(t,A,c),e(A,$n),e(A,L),e(L,Gn),e(A,Nn),Tt=!0},p(t,[c]){const O={};c&2&&(O.$$scope={dirty:c,ctx:t}),S.$set(O)},i(t){Tt||(In(f.$$.fragment,t),In(S.$$.fragment,t),In(I.$$.fragment,t),Tt=!0)},o(t){Ln(f.$$.fragment,t),Ln(S.$$.fragment,t),Ln(I.$$.fragment,t),Tt=!1},d(t){n(p),t&&n(d),t&&n(v),On(f),t&&n(ut),t&&n(G),t&&n(pt),t&&n(H),t&&n(ft),t&&n(x),t&&n(dt),t&&n(q),t&&n(vt),t&&n(z),t&&n(yt),t&&n(D),t&&n(bt),t&&n(b),t&&n(_t),t&&n(V),t&&n(wt),t&&n(_),t&&n(xt),t&&n(J),t&&n(Et),t&&n(w),t&&n(kt),t&&n(E),t&&n($t),On(S,t),t&&n(Gt),t&&n($),On(I),t&&n(Nt),t&&n(P),t&&n(St),t&&n(A)}}}const xe={local:"gii-thiu",sections:[{local:"ba-tic-gradio",title:"B\u1EEFa ti\u1EC7c Gradio"}],title:"Gi\u1EDBi thi\u1EC7u"};function Ee(gt){return ye(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ne extends pe{constructor(p){super();fe(this,p,Ee,we,de,{})}}export{Ne as default,xe as metadata};
