import{S as Ne,i as Be,s as Ce,e as h,k as s,w as p,t as d,M as Te,c as r,d as n,m as l,a as c,x as u,h as $,b as o,G as e,g as i,y as g,L as qe,q as m,o as f,B as v,v as Ie}from"../../chunks/vendor-hf-doc-builder.js";import{I as b}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{Q as k}from"../../chunks/Question-hf-doc-builder.js";function Fe(jn){let y,Lt,x,T,ft,U,kn,vt,yn,Dt,gt,xn,Mt,w,q,dt,R,wn,$t,_n,Ot,V,Jt,_,I,bt,X,En,kt,An,Kt,j,Qt,E,F,yt,z,Sn,xt,Hn,Ut,W,Rt,A,L,wt,Y,Pn,_t,Gn,Vt,Z,Xt,S,D,Et,tt,Nn,At,Bn,jt,nt,zt,H,M,St,et,Cn,Ht,Tn,Wt,ht,Yt,P,O,Pt,rt,qn,Gt,In,Zt,ct,tn,G,J,Nt,at,Fn,Bt,Ln,nn,ot,en,N,K,Ct,it,Dn,st,Mn,Tt,On,Jn,hn,lt,rn,B,Q,qt,pt,Kn,C,Qn,It,Un,Rn,Ft,Vn,Xn,cn,ut,an;return U=new b({}),R=new b({}),V=new k({props:{choices:[{text:"T\u1EA1o b\u1EA3n demo cho m\xF4 h\xECnh h\u1ECDc m\xE1y c\u1EE7a b\u1EA1n",explain:"V\u1EDBi m\u1ED9t v\xE0i d\xF2ng m\xE3 python, b\u1EA1n c\xF3 th\u1EC3 t\u1EA1o b\u1EA3n demo cho m\xF4 h\xECnh ML c\u1EE7a m\xECnh b\u1EB1ng c\xE1ch s\u1EED d\u1EE5ng th\u01B0 vi\u1EC7n c\xE1c th\xE0nh ph\u1EA7n \u0111\u01B0\u1EE3c t\u1EA1o s\u1EB5n c\u1EE7a ch\xFAng t\xF4i.",correct:!0},{text:"Chia s\u1EBB m\xF4 h\xECnh h\u1ECDc m\xE1y c\u1EE7a b\u1EA1n v\u1EDBi nh\u1EEFng ng\u01B0\u1EDDi kh\xE1c",explain:"S\u1EED d\u1EE5ng tham s\u1ED1 <code>share=True</code> trong ph\u01B0\u01A1ng th\u1EE9c kh\u1EDFi ch\u1EA1y, b\u1EA1n c\xF3 th\u1EC3 t\u1EA1o li\xEAn k\u1EBFt chia s\u1EBB \u0111\u1EC3 g\u1EEDi cho b\u1EA5t k\u1EF3 ai.",correct:!0},{text:"G\u1EE1 l\u1ED7i m\xF4 h\xECnh c\u1EE7a b\u1EA1n",explain:"M\u1ED9t l\u1EE3i th\u1EBF c\u1EE7a b\u1EA3n demo gradio l\xE0 c\xF3 th\u1EC3 ki\u1EC3m tra m\xF4 h\xECnh c\u1EE7a b\u1EA1n v\u1EDBi d\u1EEF li\u1EC7u th\u1EF1c m\xE0 b\u1EA1n c\xF3 th\u1EC3 thay \u0111\u1ED5i v\xE0 quan s\xE1t s\u1EF1 thay \u0111\u1ED5i d\u1EF1 \u0111o\xE1n c\u1EE7a m\xF4 h\xECnh trong th\u1EDDi gian th\u1EF1c, gi\xFAp b\u1EA1n g\u1EE1 l\u1ED7i m\xF4 h\xECnh c\u1EE7a m\xECnh.",correct:!0},{text:"Hu\u1EA5n luy\u1EC7n m\xF4 h\xECnh c\u1EE7a b\u1EA1n",explain:"Gradio \u0111\u01B0\u1EE3c thi\u1EBFt k\u1EC3 \u0111\u1EC3 s\u1EED d\u1EE5ng cho vi\u1EC7c lu\u1EADn suy m\xF4 h\xECnh, SAU KHI m\xF4 h\xECnh c\u1EE7a b\u1EA1n \u0111\xE3 \u0111\u01B0\u1EE3c hu\u1EA5n luy\u1EC7n."}]}}),X=new b({}),j=new k({props:{choices:[{text:"\u0110\xFAng",explain:"Gradio ho\u1EA1t \u0111\u1ED9ng v\u1EDBi c\xE1c m\xF4 h\xECnh PyTorch, nh\u01B0ng c\u0169ng ho\u1EA1t \u0111\u1ED9ng v\u1EDBi b\u1EA5t k\u1EF3 lo\u1EA1i m\xF4 h\xECnh h\u1ECDc m\xE1y n\xE0o!"},{text:"Sai",explain:"Gradio l\xE0 m\xF4 h\xECnh b\u1EA5t kh\u1EA3 tri, c\xF3 ngh\u0129a l\xE0 b\u1EA1n c\xF3 th\u1EC3 t\u1EA1o b\u1EA3n demo cho b\u1EA5t k\u1EF3 lo\u1EA1i m\xF4 h\xECnh h\u1ECDc m\xE1y n\xE0o.",correct:!0}]}}),z=new b({}),W=new k({props:{choices:[{text:"IDE python chu\u1EA9n",explain:"Gradio ho\u1EA1t \u0111\u1ED9ng hi\u1EC7u qu\u1EA3 v\u1EDBi IDE y\xEAu th\xEDch c\u1EE7a b\u1EA1n.",correct:!0},{text:"Google Colab notebooks",explain:"B\u1EA1n c\xF3 th\u1EC3 t\u1EA1o v\xE0 kh\u1EDFi ch\u1EA1y b\u1EA3n tr\xECnh di\u1EC5n trong notebook Google colab c\u1EE7a m\xECnh.",correct:!0},{text:"Jupyter notebooks",explain:"L\u1EF1a ch\u1ECDn t\u1ED1t - B\u1EA1n c\xF3 th\u1EC3 t\u1EA1o v\xE0 kh\u1EDFi ch\u1EA1y b\u1EA3n demo trong Jupyter notebook c\u1EE7a m\xECnh.",correct:!0}]}}),Y=new b({}),Z=new k({props:{choices:[{text:"\u0110\xFAng",explain:"Gradio ho\u1EA1t \u0111\u1ED9ng v\u1EDBi kh\xE1 nhi\u1EC1u ki\u1EC3u d\u1EEF li\u1EC7u, kh\xF4ng ch\u1EC9 NLP."},{text:"Sai",explain:"Gradio cung c\u1EA5p cho c\xE1c nh\xE0 ph\xE1t tri\u1EC3n th\u01B0 vi\u1EC7n c\xE1c th\xE0nh ph\u1EA7n \u0111\u01B0\u1EE3c t\u1EA1o s\u1EB5n cho h\u1EA7u h\u1EBFt c\xE1c lo\u1EA1i d\u1EEF li\u1EC7u.",correct:!0}]}}),tt=new b({}),nt=new k({props:{choices:[{text:"Nhi\u1EC1u \u0111\u1EA7u v\xE0o v\xE0 \u0111\u1EA7u ra",explain:"C\xF3 th\u1EC3 c\xF3 nhi\u1EC1u \u0111\u1EA7u v\xE0o v\xE0 \u0111\u1EA7u ra v\u1EDBi gradio. T\u1EA5t c\u1EA3 nh\u1EEFng g\xEC b\u1EA1n c\u1EA7n l\xE0m l\xE0 chuy\u1EC3n danh s\xE1ch \u0111\u1EA7u v\xE0o v\xE0 \u0111\u1EA7u ra cho c\xE1c tham s\u1ED1 t\u01B0\u01A1ng \u1EE9ng c\u1EE7a ch\xFAng",correct:!0},{text:"Tr\u1EA1ng th\xE1i duy tr\xEC d\u1EEF li\u1EC7u",explain:"Gradio c\xF3 kh\u1EA3 n\u0103ng th\xEAm tr\u1EA1ng th\xE1i v\xE0o giao di\u1EC7n c\u1EE7a b\u1EA1n.",correct:!0},{text:"X\xE1c th\u1EF1c t\xEAn ng\u01B0\u1EDDi d\xF9ng v\xE0 m\u1EADt kh\u1EA9u",explain:"Chuy\u1EC3n danh s\xE1ch t\xEAn ng\u01B0\u1EDDi d\xF9ng/m\u1EADt kh\u1EA9u v\xE0o ph\u01B0\u01A1ng th\u1EE9c kh\u1EDFi ch\u1EA1y \u0111\u1EC3 th\xEAm x\xE1c th\u1EF1c.",correct:!0},{text:"Ph\xE2n t\xEDch t\u1EF1 \u0111\u1ED9ng cho nh\u1EEFng ai s\u1EED d\u1EE5ng b\u1EA3n demo gradio c\u1EE7a b\u1EA1n",explain:"H\xE3y th\u1EED l\u1EA1i - Gradio kh\xF4ng cung c\u1EA5p ph\xE2n t\xEDch cho c\xE1c nh\xE0 ph\xE1t tri\u1EC3n v\u1EC1 nh\u1EEFng ng\u01B0\u1EDDi s\u1EED d\u1EE5ng b\u1EA3n demo c\u1EE7a h\u1ECD."},{text:"T\u1EA3i m\xF4 h\xECnh t\u1EEB Model Hub c\u1EE7a Hugging Face ho\u1EB7c Hugging Face Spaces",explain:"Ch\u1EAFc ch\u1EAFn r\u1ED3i - t\u1EA3i b\u1EA5t k\u1EF3 m\xF4 h\xECnh Hugging Face n\xE0o qua ph\u01B0\u01A1ng th\u1EE9c <code>gr.Interface.load()</code>",correct:!0}]}}),et=new b({}),ht=new k({props:{choices:[{text:"gr.Interface.load('huggingface/{user}/{model_name}')",explain:"\u0110\xE2y l\xE0 ph\u01B0\u01A1ng ph\xE1p h\u1EE3p l\u1EC7 \u0111\u1EC3 t\u1EA3i m\xF4 h\xECnh Hugging Face t\u1EEB Hub",correct:!0},{text:"gr.Interface.load('model/{user}/{model_name}')",explain:"\u0110\xE2y l\xE0 ph\u01B0\u01A1ng ph\xE1p h\u1EE3p l\u1EC7 \u0111\u1EC3 t\u1EA3i m\xF4 h\xECnh Hugging Face t\u1EEB Hub",correct:!0},{text:"gr.Interface.load('demos/{user}/{model_name}')",explain:"H\xE3y th\u1EED l\u1EA1i - b\u1EA1n kh\xF4ng th\u1EC3 t\u1EA3i m\xF4 h\xECnh b\u1EB1ng c\xE1ch s\u1EED d\u1EE5ng ti\u1EC1n t\u1ED1 'demos'."},{text:"gr.Interface.load('spaces/{user}/{model_name}')",explain:"\u0110\xE2y l\xE0 ph\u01B0\u01A1ng ph\xE1p h\u1EE3p l\u1EC7 \u0111\u1EC3 t\u1EA3i m\xF4 h\xECnh Hugging Face t\u1EEB Spaces",correct:!0}]}}),rt=new b({}),ct=new k({props:{choices:[{text:"Truy\u1EC1n m\u1ED9t tham s\u1ED1 b\u1ED5 sung v\xE0o h\xE0m d\u1EF1 \u0111o\xE1n c\u1EE7a b\u1EA1n, th\u1EC3 hi\u1EC7n tr\u1EA1ng th\xE1i c\u1EE7a giao di\u1EC7n.",explain:"C\u1EA7n c\xF3 th\xEAm m\u1ED9t tham s\u1ED1 l\u01B0u tr\u1EEF l\u1ECBch s\u1EED ho\u1EB7c tr\u1EA1ng th\xE1i giao di\u1EC7n c\u1EE7a b\u1EA1n.",correct:!0},{text:"\u1EDE cu\u1ED1i h\xE0m d\u1EF1 \u0111o\xE1n, h\xE3y tr\u1EA3 v\u1EC1 gi\xE1 tr\u1ECB \u0111\xE3 c\u1EADp nh\u1EADt c\u1EE7a tr\u1EA1ng th\xE1i d\u01B0\u1EDBi d\u1EA1ng gi\xE1 tr\u1ECB tr\u1EA3 v\u1EC1 b\u1ED5 sung.",explain:"Gi\xE1 tr\u1ECB l\u1ECBch s\u1EED ho\u1EB7c tr\u1EA1ng th\xE1i n\xE0y c\u1EA7n \u0111\u01B0\u1EE3c h\xE0m c\u1EE7a b\u1EA1n tr\u1EA3 v\u1EC1.",correct:!0},{text:"Th\xEAm th\xE0nh ph\u1EA7n \u0111\u1EA7u v\xE0o tr\u1EA1ng th\xE1i v\xE0 th\xE0nh ph\u1EA7n \u0111\u1EA7u ra tr\u1EA1ng th\xE1i khi t\u1EA1o Interface c\u1EE7a b\u1EA1n",explain:"Gradio cung c\u1EA5p th\xE0nh ph\u1EA7n \u0111\u1EA7u v\xE0o v\xE0 \u0111\u1EA7u ra tr\u1EA1ng th\xE1i \u0111\u1EC3 duy tr\xEC d\u1EEF li\u1EC7u.",correct:!0}]}}),at=new b({}),ot=new k({props:{choices:[{text:"Textbox.",explain:"\u0110\xFAng, b\u1EA1n c\xF3 th\u1EC3 t\u1EA1o h\u1ED9p v\u0103n b\u1EA3n v\u1EDBi th\xE0nh ph\u1EA7n H\u1ED9p v\u0103n b\u1EA3n.",correct:!0},{text:"Graph.",explain:"Hi\u1EC7n kh\xF4ng c\xF3 th\xE0nh ph\u1EA7n n\xE0y."},{text:"Image.",explain:"\u0110\xFAng, b\u1EA1n c\xF3 th\u1EC3 t\u1EA1o ti\u1EC7n \xEDch t\u1EA3i l\xEAn h\xECnh \u1EA3nh b\u1EB1ng th\xE0nh ph\u1EA7n Image.",correct:!0},{text:"Audio.",explain:"\u0110\xFAng, b\u1EA1n c\xF3 th\u1EC3 t\u1EA1o ti\u1EC7n \xEDch t\u1EA3i l\xEAn \xE2m thanh b\u1EB1ng th\xE0nh ph\u1EA7n Audio.",correct:!0}]}}),it=new b({}),lt=new k({props:{choices:[{text:"K\u1EBFt h\u1EE3p nhi\u1EC1u b\u1EA3n demo v\xE0o m\u1ED9t \u1EE9ng d\u1EE5ng web",explain:"B\u1EA1n c\xF3 th\u1EC3 s\u1EED d\u1EE5ng `with gradio.Tabs():` \u0111\u1EC3 th\xEAm c\xE1c tab cho nhi\u1EC1u b\u1EA3n demo",correct:!0},{text:"G\xE1n c\xE1c tr\xECnh k\xEDch ho\u1EA1t s\u1EF1 ki\u1EC7n, ch\u1EB3ng h\u1EA1n nh\u01B0 \u0111\u01B0\u1EE3c nh\u1EA5p/thay \u0111\u1ED5i/ v.v. cho c\xE1c th\xE0nh ph\u1EA7n `Blocks`",explain:"Khi b\u1EA1n g\xE1n m\u1ED9t s\u1EF1 ki\u1EC7n, b\u1EA1n truy\u1EC1n v\xE0o ba tham s\u1ED1: fn: h\xE0m c\u1EA7n \u0111\u01B0\u1EE3c g\u1ECDi, inputs: (danh s\xE1ch) c\u1EE7a (c\xE1c) th\xE0nh ph\u1EA7n \u0111\u1EA7u v\xE0o v\xE0 outputs: (danh s\xE1ch) c\xE1c th\xE0nh ph\u1EA7n \u0111\u1EA7u ra n\xEAn g\u1ECDi l\xE0.",correct:!0},{text:"T\u1EF1 \u0111\u1ED9ng x\xE1c \u0111\u1ECBnh th\xE0nh ph\u1EA7n `Blocks` n\xE0o n\xEAn t\u01B0\u01A1ng t\xE1c so v\u1EDBi t\u0129nh",explain:"D\u1EF1a tr\xEAn c\xE1c tr\xECnh k\xEDch ho\u1EA1t s\u1EF1 ki\u1EC7n m\xE0 b\u1EA1n x\xE1c \u0111\u1ECBnh,`Blocks` t\u1EF1 \u0111\u1ED9ng t\xECm ra li\u1EC7u m\u1ED9t th\xE0nh ph\u1EA7n c\xF3 n\xEAn ch\u1EA5p nh\u1EADn \u0111\u1EA7u v\xE0o c\u1EE7a ng\u01B0\u1EDDi d\xF9ng hay kh\xF4ng.",correct:!0},{text:"T\u1EA1o b\u1EA3n demo \u0111a b\u01B0\u1EDBc; ngh\u0129a l\xE0 cho ph\xE9p b\u1EA1n s\u1EED d\u1EE5ng l\u1EA1i \u0111\u1EA7u ra c\u1EE7a m\u1ED9t th\xE0nh ph\u1EA7n l\xE0m \u0111\u1EA7u v\xE0o cho th\xE0nh ph\u1EA7n ti\u1EBFp theo",explain:"B\u1EA1n c\xF3 th\u1EC3 s\u1EED d\u1EE5ng m\u1ED9t th\xE0nh ph\u1EA7n cho \u0111\u1EA7u v\xE0o c\u1EE7a m\u1ED9t tr\xECnh k\xEDch ho\u1EA1t s\u1EF1 ki\u1EC7n nh\u01B0ng l\xE0 \u0111\u1EA7u ra c\u1EE7a m\u1ED9t th\xE0nh ph\u1EA7n kh\xE1c.",correct:!0}]}}),pt=new b({}),ut=new k({props:{choices:[{text:"\u0110\xFAng",explain:"C\u0169ng gi\u1ED1ng nh\u01B0 `Interface`, t\u1EA5t c\u1EA3 c\xE1c kh\u1EA3 n\u0103ng chia s\u1EBB v\xE0 l\u01B0u tr\u1EEF c\xE1c b\u1EA3n demo c\u1EE7a `Blocks` \u0111\u1EC1u gi\u1ED1ng nhau!",correct:!0},{text:"Sai",explain:"C\u0169ng gi\u1ED1ng nh\u01B0 `Interface`,t\u1EA5t c\u1EA3 c\xE1c kh\u1EA3 n\u0103ng chia s\u1EBB v\xE0 l\u01B0u tr\u1EEF c\xE1c b\u1EA3n demo c\u1EE7a `Blocks` \u0111\u1EC1u gi\u1ED1ng nhau!",correct:!1}]}}),{c(){y=h("meta"),Lt=s(),x=h("h1"),T=h("a"),ft=h("span"),p(U.$$.fragment),kn=s(),vt=h("span"),yn=d("\u0110\u1ED1 vui cu\u1ED1i ch\u01B0\u01A1ng"),Dt=s(),gt=h("p"),xn=d("H\xE3y ki\u1EC3m tra nh\u1EEFng g\xEC b\u1EA1n \u0111\xE3 h\u1ECDc \u0111\u01B0\u1EE3c trong ch\u01B0\u01A1ng n\xE0y!"),Mt=s(),w=h("h3"),q=h("a"),dt=h("span"),p(R.$$.fragment),wn=s(),$t=h("span"),_n=d("1. B\u1EA1n c\xF3 th\u1EC3 s\u1EED d\u1EE5ng Gradio \u0111\u1EC3 l\xE0m g\xEC?"),Ot=s(),p(V.$$.fragment),Jt=s(),_=h("h3"),I=h("a"),bt=h("span"),p(X.$$.fragment),En=s(),kt=h("span"),An=d("2. Gradio CH\u1EC8 ho\u1EA1t \u0111\u1ED9ng v\u1EDBi c\xE1c m\xF4 h\xECnh PyTorch"),Kt=s(),p(j.$$.fragment),Qt=s(),E=h("h3"),F=h("a"),yt=h("span"),p(z.$$.fragment),Sn=s(),xt=h("span"),Hn=d("3. B\u1EA1n c\xF3 th\u1EC3 kh\u1EDFi ch\u1EA1y b\u1EA3n demo Gradio t\u1EEB \u0111\xE2u?"),Ut=s(),p(W.$$.fragment),Rt=s(),A=h("h3"),L=h("a"),wt=h("span"),p(Y.$$.fragment),Pn=s(),_t=h("span"),Gn=d("4. Gradio \u0111\u01B0\u1EE3c thi\u1EBFt k\u1EBF ch\u1EE7 y\u1EBFu cho c\xE1c m\xF4 h\xECnh NLP"),Vt=s(),p(Z.$$.fragment),Xt=s(),S=h("h3"),D=h("a"),Et=h("span"),p(tt.$$.fragment),Nn=s(),At=h("span"),Bn=d("5. T\xEDnh n\u0103ng n\xE0o sau \u0111\xE2y \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3 b\u1EDFi Gradio?"),jt=s(),p(nt.$$.fragment),zt=s(),H=h("h3"),M=h("a"),St=h("span"),p(et.$$.fragment),Cn=s(),Ht=h("span"),Tn=d("6. C\xE1ch n\xE0o sau \u0111\xE2y l\xE0 c\xE1ch h\u1EE3p l\u1EC7 \u0111\u1EC3 t\u1EA3i m\xF4 h\xECnhHugging Face t\u1EEB Hub ho\u1EB7c Spaces?"),Wt=s(),p(ht.$$.fragment),Yt=s(),P=h("h3"),O=h("a"),Pt=h("span"),p(rt.$$.fragment),qn=s(),Gt=h("span"),In=d("7. Ch\u1ECDn t\u1EA5t c\u1EA3 c\xE1c b\u01B0\u1EDBc c\u1EA7n thi\u1EBFt \u0111\u1EC3 th\xEAm tr\u1EA1ng th\xE1i v\xE0o giao di\u1EC7n Gradio c\u1EE7a b\u1EA1n"),Zt=s(),p(ct.$$.fragment),tn=s(),G=h("h3"),J=h("a"),Nt=h("span"),p(at.$$.fragment),Fn=s(),Bt=h("span"),Ln=d("8. Nh\u1EEFng th\xE0nh ph\u1EA7n n\xE0o sau \u0111\xE2y c\xF3 trong th\u01B0 vi\u1EC7n Gradio?"),nn=s(),p(ot.$$.fragment),en=s(),N=h("h3"),K=h("a"),Ct=h("span"),p(it.$$.fragment),Dn=s(),st=h("span"),Mn=d("9. Gradio "),Tt=h("code"),On=d("Blocks"),Jn=d(" cho ph\xE9p b\u1EA1n l\xE0m g\xEC?"),hn=s(),p(lt.$$.fragment),rn=s(),B=h("h3"),Q=h("a"),qt=h("span"),p(pt.$$.fragment),Kn=s(),C=h("span"),Qn=d("10. B\u1EA1n c\xF3 th\u1EC3 chia s\u1EBB li\xEAn k\u1EBFt c\xF4ng khai t\u1EDBi "),It=h("code"),Un=d("Blocks"),Rn=d(" demo v\xE0 t\u1ED5 ch\u1EE9c l\u01B0u tr\u1EEF "),Ft=h("code"),Vn=d("Blocks"),Xn=d(" demo tr\xEAn Hugging Face Spaces."),cn=s(),p(ut.$$.fragment),this.h()},l(t){const a=Te('[data-svelte="svelte-1phssyn"]',document.head);y=r(a,"META",{name:!0,content:!0}),a.forEach(n),Lt=l(t),x=r(t,"H1",{class:!0});var on=c(x);T=r(on,"A",{id:!0,class:!0,href:!0});var zn=c(T);ft=r(zn,"SPAN",{});var Wn=c(ft);u(U.$$.fragment,Wn),Wn.forEach(n),zn.forEach(n),kn=l(on),vt=r(on,"SPAN",{});var Yn=c(vt);yn=$(Yn,"\u0110\u1ED1 vui cu\u1ED1i ch\u01B0\u01A1ng"),Yn.forEach(n),on.forEach(n),Dt=l(t),gt=r(t,"P",{});var Zn=c(gt);xn=$(Zn,"H\xE3y ki\u1EC3m tra nh\u1EEFng g\xEC b\u1EA1n \u0111\xE3 h\u1ECDc \u0111\u01B0\u1EE3c trong ch\u01B0\u01A1ng n\xE0y!"),Zn.forEach(n),Mt=l(t),w=r(t,"H3",{class:!0});var sn=c(w);q=r(sn,"A",{id:!0,class:!0,href:!0});var te=c(q);dt=r(te,"SPAN",{});var ne=c(dt);u(R.$$.fragment,ne),ne.forEach(n),te.forEach(n),wn=l(sn),$t=r(sn,"SPAN",{});var ee=c($t);_n=$(ee,"1. B\u1EA1n c\xF3 th\u1EC3 s\u1EED d\u1EE5ng Gradio \u0111\u1EC3 l\xE0m g\xEC?"),ee.forEach(n),sn.forEach(n),Ot=l(t),u(V.$$.fragment,t),Jt=l(t),_=r(t,"H3",{class:!0});var ln=c(_);I=r(ln,"A",{id:!0,class:!0,href:!0});var he=c(I);bt=r(he,"SPAN",{});var re=c(bt);u(X.$$.fragment,re),re.forEach(n),he.forEach(n),En=l(ln),kt=r(ln,"SPAN",{});var ce=c(kt);An=$(ce,"2. Gradio CH\u1EC8 ho\u1EA1t \u0111\u1ED9ng v\u1EDBi c\xE1c m\xF4 h\xECnh PyTorch"),ce.forEach(n),ln.forEach(n),Kt=l(t),u(j.$$.fragment,t),Qt=l(t),E=r(t,"H3",{class:!0});var pn=c(E);F=r(pn,"A",{id:!0,class:!0,href:!0});var ae=c(F);yt=r(ae,"SPAN",{});var oe=c(yt);u(z.$$.fragment,oe),oe.forEach(n),ae.forEach(n),Sn=l(pn),xt=r(pn,"SPAN",{});var ie=c(xt);Hn=$(ie,"3. B\u1EA1n c\xF3 th\u1EC3 kh\u1EDFi ch\u1EA1y b\u1EA3n demo Gradio t\u1EEB \u0111\xE2u?"),ie.forEach(n),pn.forEach(n),Ut=l(t),u(W.$$.fragment,t),Rt=l(t),A=r(t,"H3",{class:!0});var un=c(A);L=r(un,"A",{id:!0,class:!0,href:!0});var se=c(L);wt=r(se,"SPAN",{});var le=c(wt);u(Y.$$.fragment,le),le.forEach(n),se.forEach(n),Pn=l(un),_t=r(un,"SPAN",{});var pe=c(_t);Gn=$(pe,"4. Gradio \u0111\u01B0\u1EE3c thi\u1EBFt k\u1EBF ch\u1EE7 y\u1EBFu cho c\xE1c m\xF4 h\xECnh NLP"),pe.forEach(n),un.forEach(n),Vt=l(t),u(Z.$$.fragment,t),Xt=l(t),S=r(t,"H3",{class:!0});var gn=c(S);D=r(gn,"A",{id:!0,class:!0,href:!0});var ue=c(D);Et=r(ue,"SPAN",{});var ge=c(Et);u(tt.$$.fragment,ge),ge.forEach(n),ue.forEach(n),Nn=l(gn),At=r(gn,"SPAN",{});var me=c(At);Bn=$(me,"5. T\xEDnh n\u0103ng n\xE0o sau \u0111\xE2y \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3 b\u1EDFi Gradio?"),me.forEach(n),gn.forEach(n),jt=l(t),u(nt.$$.fragment,t),zt=l(t),H=r(t,"H3",{class:!0});var mn=c(H);M=r(mn,"A",{id:!0,class:!0,href:!0});var fe=c(M);St=r(fe,"SPAN",{});var ve=c(St);u(et.$$.fragment,ve),ve.forEach(n),fe.forEach(n),Cn=l(mn),Ht=r(mn,"SPAN",{});var de=c(Ht);Tn=$(de,"6. C\xE1ch n\xE0o sau \u0111\xE2y l\xE0 c\xE1ch h\u1EE3p l\u1EC7 \u0111\u1EC3 t\u1EA3i m\xF4 h\xECnhHugging Face t\u1EEB Hub ho\u1EB7c Spaces?"),de.forEach(n),mn.forEach(n),Wt=l(t),u(ht.$$.fragment,t),Yt=l(t),P=r(t,"H3",{class:!0});var fn=c(P);O=r(fn,"A",{id:!0,class:!0,href:!0});var $e=c(O);Pt=r($e,"SPAN",{});var be=c(Pt);u(rt.$$.fragment,be),be.forEach(n),$e.forEach(n),qn=l(fn),Gt=r(fn,"SPAN",{});var ke=c(Gt);In=$(ke,"7. Ch\u1ECDn t\u1EA5t c\u1EA3 c\xE1c b\u01B0\u1EDBc c\u1EA7n thi\u1EBFt \u0111\u1EC3 th\xEAm tr\u1EA1ng th\xE1i v\xE0o giao di\u1EC7n Gradio c\u1EE7a b\u1EA1n"),ke.forEach(n),fn.forEach(n),Zt=l(t),u(ct.$$.fragment,t),tn=l(t),G=r(t,"H3",{class:!0});var vn=c(G);J=r(vn,"A",{id:!0,class:!0,href:!0});var ye=c(J);Nt=r(ye,"SPAN",{});var xe=c(Nt);u(at.$$.fragment,xe),xe.forEach(n),ye.forEach(n),Fn=l(vn),Bt=r(vn,"SPAN",{});var we=c(Bt);Ln=$(we,"8. Nh\u1EEFng th\xE0nh ph\u1EA7n n\xE0o sau \u0111\xE2y c\xF3 trong th\u01B0 vi\u1EC7n Gradio?"),we.forEach(n),vn.forEach(n),nn=l(t),u(ot.$$.fragment,t),en=l(t),N=r(t,"H3",{class:!0});var dn=c(N);K=r(dn,"A",{id:!0,class:!0,href:!0});var _e=c(K);Ct=r(_e,"SPAN",{});var Ee=c(Ct);u(it.$$.fragment,Ee),Ee.forEach(n),_e.forEach(n),Dn=l(dn),st=r(dn,"SPAN",{});var $n=c(st);Mn=$($n,"9. Gradio "),Tt=r($n,"CODE",{});var Ae=c(Tt);On=$(Ae,"Blocks"),Ae.forEach(n),Jn=$($n," cho ph\xE9p b\u1EA1n l\xE0m g\xEC?"),$n.forEach(n),dn.forEach(n),hn=l(t),u(lt.$$.fragment,t),rn=l(t),B=r(t,"H3",{class:!0});var bn=c(B);Q=r(bn,"A",{id:!0,class:!0,href:!0});var Se=c(Q);qt=r(Se,"SPAN",{});var He=c(qt);u(pt.$$.fragment,He),He.forEach(n),Se.forEach(n),Kn=l(bn),C=r(bn,"SPAN",{});var mt=c(C);Qn=$(mt,"10. B\u1EA1n c\xF3 th\u1EC3 chia s\u1EBB li\xEAn k\u1EBFt c\xF4ng khai t\u1EDBi "),It=r(mt,"CODE",{});var Pe=c(It);Un=$(Pe,"Blocks"),Pe.forEach(n),Rn=$(mt," demo v\xE0 t\u1ED5 ch\u1EE9c l\u01B0u tr\u1EEF "),Ft=r(mt,"CODE",{});var Ge=c(Ft);Vn=$(Ge,"Blocks"),Ge.forEach(n),Xn=$(mt," demo tr\xEAn Hugging Face Spaces."),mt.forEach(n),bn.forEach(n),cn=l(t),u(ut.$$.fragment,t),this.h()},h(){o(y,"name","hf:doc:metadata"),o(y,"content",JSON.stringify(Le)),o(T,"id","vui-cui-chng"),o(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"),o(T,"href","#vui-cui-chng"),o(x,"class","relative group"),o(q,"id","1.-b\u1EA1n-c\xF3-th\u1EC3-s\u1EED-d\u1EE5ng-gradio-\u0111\u1EC3-l\xE0m-g\xEC?"),o(q,"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"),o(q,"href","#1.-b\u1EA1n-c\xF3-th\u1EC3-s\u1EED-d\u1EE5ng-gradio-\u0111\u1EC3-l\xE0m-g\xEC?"),o(w,"class","relative group"),o(I,"id","2.-gradio-ch\u1EC9-ho\u1EA1t-\u0111\u1ED9ng-v\u1EDBi-c\xE1c-m\xF4-h\xECnh-pytorch"),o(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"),o(I,"href","#2.-gradio-ch\u1EC9-ho\u1EA1t-\u0111\u1ED9ng-v\u1EDBi-c\xE1c-m\xF4-h\xECnh-pytorch"),o(_,"class","relative group"),o(F,"id","3.-b\u1EA1n-c\xF3-th\u1EC3-kh\u1EDFi-ch\u1EA1y-b\u1EA3n-demo-gradio-t\u1EEB-\u0111\xE2u?"),o(F,"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"),o(F,"href","#3.-b\u1EA1n-c\xF3-th\u1EC3-kh\u1EDFi-ch\u1EA1y-b\u1EA3n-demo-gradio-t\u1EEB-\u0111\xE2u?"),o(E,"class","relative group"),o(L,"id","4.-gradio-\u0111\u01B0\u1EE3c-thi\u1EBFt-k\u1EBF-ch\u1EE7-y\u1EBFu-cho-c\xE1c-m\xF4-h\xECnh-nlp"),o(L,"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"),o(L,"href","#4.-gradio-\u0111\u01B0\u1EE3c-thi\u1EBFt-k\u1EBF-ch\u1EE7-y\u1EBFu-cho-c\xE1c-m\xF4-h\xECnh-nlp"),o(A,"class","relative group"),o(D,"id","5.-t\xEDnh-n\u0103ng-n\xE0o-sau-\u0111\xE2y-\u0111\u01B0\u1EE3c-h\u1ED7-tr\u1EE3-b\u1EDFi-gradio?"),o(D,"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"),o(D,"href","#5.-t\xEDnh-n\u0103ng-n\xE0o-sau-\u0111\xE2y-\u0111\u01B0\u1EE3c-h\u1ED7-tr\u1EE3-b\u1EDFi-gradio?"),o(S,"class","relative group"),o(M,"id","6.-c\xE1ch-n\xE0o-sau-\u0111\xE2y-l\xE0-c\xE1ch-h\u1EE3p-l\u1EC7-\u0111\u1EC3-t\u1EA3i-m\xF4-h\xECnhhugging-face-t\u1EEB-hub-ho\u1EB7c-spaces?"),o(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"),o(M,"href","#6.-c\xE1ch-n\xE0o-sau-\u0111\xE2y-l\xE0-c\xE1ch-h\u1EE3p-l\u1EC7-\u0111\u1EC3-t\u1EA3i-m\xF4-h\xECnhhugging-face-t\u1EEB-hub-ho\u1EB7c-spaces?"),o(H,"class","relative group"),o(O,"id","7.-ch\u1ECDn-t\u1EA5t-c\u1EA3-c\xE1c-b\u01B0\u1EDBc-c\u1EA7n-thi\u1EBFt-\u0111\u1EC3-th\xEAm-tr\u1EA1ng-th\xE1i-v\xE0o-giao-di\u1EC7n-gradio-c\u1EE7a-b\u1EA1n"),o(O,"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"),o(O,"href","#7.-ch\u1ECDn-t\u1EA5t-c\u1EA3-c\xE1c-b\u01B0\u1EDBc-c\u1EA7n-thi\u1EBFt-\u0111\u1EC3-th\xEAm-tr\u1EA1ng-th\xE1i-v\xE0o-giao-di\u1EC7n-gradio-c\u1EE7a-b\u1EA1n"),o(P,"class","relative group"),o(J,"id","8.-nh\u1EEFng-th\xE0nh-ph\u1EA7n-n\xE0o-sau-\u0111\xE2y-c\xF3-trong-th\u01B0-vi\u1EC7n-gradio?"),o(J,"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"),o(J,"href","#8.-nh\u1EEFng-th\xE0nh-ph\u1EA7n-n\xE0o-sau-\u0111\xE2y-c\xF3-trong-th\u01B0-vi\u1EC7n-gradio?"),o(G,"class","relative group"),o(K,"id","9.-gradio-<code>blocks</code>-cho-ph\xE9p-b\u1EA1n-l\xE0m-g\xEC?"),o(K,"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"),o(K,"href","#9.-gradio-<code>blocks</code>-cho-ph\xE9p-b\u1EA1n-l\xE0m-g\xEC?"),o(N,"class","relative group"),o(Q,"id","10.-b\u1EA1n-c\xF3-th\u1EC3-chia-s\u1EBB-li\xEAn-k\u1EBFt-c\xF4ng-khai-t\u1EDBi-<code>blocks</code>-demo-v\xE0-t\u1ED5-ch\u1EE9c-l\u01B0u-tr\u1EEF-<code>blocks</code>-demo-tr\xEAn-hugging-face-spaces."),o(Q,"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"),o(Q,"href","#10.-b\u1EA1n-c\xF3-th\u1EC3-chia-s\u1EBB-li\xEAn-k\u1EBFt-c\xF4ng-khai-t\u1EDBi-<code>blocks</code>-demo-v\xE0-t\u1ED5-ch\u1EE9c-l\u01B0u-tr\u1EEF-<code>blocks</code>-demo-tr\xEAn-hugging-face-spaces."),o(B,"class","relative group")},m(t,a){e(document.head,y),i(t,Lt,a),i(t,x,a),e(x,T),e(T,ft),g(U,ft,null),e(x,kn),e(x,vt),e(vt,yn),i(t,Dt,a),i(t,gt,a),e(gt,xn),i(t,Mt,a),i(t,w,a),e(w,q),e(q,dt),g(R,dt,null),e(w,wn),e(w,$t),e($t,_n),i(t,Ot,a),g(V,t,a),i(t,Jt,a),i(t,_,a),e(_,I),e(I,bt),g(X,bt,null),e(_,En),e(_,kt),e(kt,An),i(t,Kt,a),g(j,t,a),i(t,Qt,a),i(t,E,a),e(E,F),e(F,yt),g(z,yt,null),e(E,Sn),e(E,xt),e(xt,Hn),i(t,Ut,a),g(W,t,a),i(t,Rt,a),i(t,A,a),e(A,L),e(L,wt),g(Y,wt,null),e(A,Pn),e(A,_t),e(_t,Gn),i(t,Vt,a),g(Z,t,a),i(t,Xt,a),i(t,S,a),e(S,D),e(D,Et),g(tt,Et,null),e(S,Nn),e(S,At),e(At,Bn),i(t,jt,a),g(nt,t,a),i(t,zt,a),i(t,H,a),e(H,M),e(M,St),g(et,St,null),e(H,Cn),e(H,Ht),e(Ht,Tn),i(t,Wt,a),g(ht,t,a),i(t,Yt,a),i(t,P,a),e(P,O),e(O,Pt),g(rt,Pt,null),e(P,qn),e(P,Gt),e(Gt,In),i(t,Zt,a),g(ct,t,a),i(t,tn,a),i(t,G,a),e(G,J),e(J,Nt),g(at,Nt,null),e(G,Fn),e(G,Bt),e(Bt,Ln),i(t,nn,a),g(ot,t,a),i(t,en,a),i(t,N,a),e(N,K),e(K,Ct),g(it,Ct,null),e(N,Dn),e(N,st),e(st,Mn),e(st,Tt),e(Tt,On),e(st,Jn),i(t,hn,a),g(lt,t,a),i(t,rn,a),i(t,B,a),e(B,Q),e(Q,qt),g(pt,qt,null),e(B,Kn),e(B,C),e(C,Qn),e(C,It),e(It,Un),e(C,Rn),e(C,Ft),e(Ft,Vn),e(C,Xn),i(t,cn,a),g(ut,t,a),an=!0},p:qe,i(t){an||(m(U.$$.fragment,t),m(R.$$.fragment,t),m(V.$$.fragment,t),m(X.$$.fragment,t),m(j.$$.fragment,t),m(z.$$.fragment,t),m(W.$$.fragment,t),m(Y.$$.fragment,t),m(Z.$$.fragment,t),m(tt.$$.fragment,t),m(nt.$$.fragment,t),m(et.$$.fragment,t),m(ht.$$.fragment,t),m(rt.$$.fragment,t),m(ct.$$.fragment,t),m(at.$$.fragment,t),m(ot.$$.fragment,t),m(it.$$.fragment,t),m(lt.$$.fragment,t),m(pt.$$.fragment,t),m(ut.$$.fragment,t),an=!0)},o(t){f(U.$$.fragment,t),f(R.$$.fragment,t),f(V.$$.fragment,t),f(X.$$.fragment,t),f(j.$$.fragment,t),f(z.$$.fragment,t),f(W.$$.fragment,t),f(Y.$$.fragment,t),f(Z.$$.fragment,t),f(tt.$$.fragment,t),f(nt.$$.fragment,t),f(et.$$.fragment,t),f(ht.$$.fragment,t),f(rt.$$.fragment,t),f(ct.$$.fragment,t),f(at.$$.fragment,t),f(ot.$$.fragment,t),f(it.$$.fragment,t),f(lt.$$.fragment,t),f(pt.$$.fragment,t),f(ut.$$.fragment,t),an=!1},d(t){n(y),t&&n(Lt),t&&n(x),v(U),t&&n(Dt),t&&n(gt),t&&n(Mt),t&&n(w),v(R),t&&n(Ot),v(V,t),t&&n(Jt),t&&n(_),v(X),t&&n(Kt),v(j,t),t&&n(Qt),t&&n(E),v(z),t&&n(Ut),v(W,t),t&&n(Rt),t&&n(A),v(Y),t&&n(Vt),v(Z,t),t&&n(Xt),t&&n(S),v(tt),t&&n(jt),v(nt,t),t&&n(zt),t&&n(H),v(et),t&&n(Wt),v(ht,t),t&&n(Yt),t&&n(P),v(rt),t&&n(Zt),v(ct,t),t&&n(tn),t&&n(G),v(at),t&&n(nn),v(ot,t),t&&n(en),t&&n(N),v(it),t&&n(hn),v(lt,t),t&&n(rn),t&&n(B),v(pt),t&&n(cn),v(ut,t)}}}const Le={local:"vui-cui-chng",title:"\u0110\u1ED1 vui cu\u1ED1i ch\u01B0\u01A1ng"};function De(jn){return Ie(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ke extends Ne{constructor(y){super();Be(this,y,De,Fe,Ce,{})}}export{Ke as default,Le as metadata};
