import{S as Ke,i as Qe,s as Ve,e as a,k as u,w as je,t as n,M as We,c as i,d as o,m as p,a as r,x as ze,h as l,b as c,G as t,g as d,y as Be,L as Xe,q as Oe,o as Re,B as Ue,v as Ye}from"../../chunks/vendor-hf-doc-builder.js";import{I as Je}from"../../chunks/IconCopyLink-hf-doc-builder.js";function Ze(Ge){let m,C,w,v,S,b,Z,L,ee,j,I,te,z,h,E,oe,x,ae,ie,re,G,ne,H,le,se,he,F,ce,de,M,ue,pe,T,fe,B,P,me,O,g,y,D,$,we,N,ge,R,_,ve,q,ye,_e,U,k,ke,A,be,Ee,J;return b=new Je({}),$=new Je({}),{c(){m=a("meta"),C=u(),w=a("h1"),v=a("a"),S=a("span"),je(b.$$.fragment),Z=u(),L=a("span"),ee=n("Gradio, check!"),j=u(),I=a("p"),te=n("This wraps up the chapter on building cool ML demos with Gradio - we hope you enjoyed it! To recap, in this chapter we learned:"),z=u(),h=a("ul"),E=a("li"),oe=n("How to create Gradio demos with the high-level "),x=a("code"),ae=n("Interface"),ie=n(" API, and how to configure different input and output modalities."),re=u(),G=a("li"),ne=n("Different ways to share Gradio demos, through temporary links and hosting on "),H=a("a"),le=n("Hugging Face Spaces"),se=n("."),he=u(),F=a("li"),ce=n("How to integrate Gradio demos with models and Spaces on the Hugging Face Hub."),de=u(),M=a("li"),ue=n("Advanced features like storing state in a demo or providing authentication."),pe=u(),T=a("li"),fe=n("How to have full control of the data flow and layout of your demo with Gradio Blocks."),B=u(),P=a("p"),me=n("If you\u2019d like to test your understanding of the concepts covered in this chapter, check out the quiz in the next section!"),O=u(),g=a("h2"),y=a("a"),D=a("span"),je($.$$.fragment),we=u(),N=a("span"),ge=n("Gradio blocks party \u{1F973}"),R=u(),_=a("p"),ve=n("If you want to put the knowledge from this chapter to good use, come join the Gradio blocks party! This is a community event that\u2019s hosted by Hugging Face on "),q=a("strong"),ye=n("May 16-31"),_e=n(". During this event, you\u2019ll build cool machine learning demos with Gradio and be in the running to win Hugging Face swag and prizes!"),U=u(),k=a("p"),ke=n("Check out the "),A=a("a"),be=n("event description"),Ee=n(" for details on how to participate - we can\u2019t wait to see what you\u2019ll build \u{1F917}!"),this.h()},l(e){const s=We('[data-svelte="svelte-1phssyn"]',document.head);m=i(s,"META",{name:!0,content:!0}),s.forEach(o),C=p(e),w=i(e,"H1",{class:!0});var K=r(w);v=i(K,"A",{id:!0,class:!0,href:!0});var He=r(v);S=i(He,"SPAN",{});var $e=r(S);ze(b.$$.fragment,$e),$e.forEach(o),He.forEach(o),Z=p(K),L=i(K,"SPAN",{});var Ae=r(L);ee=l(Ae,"Gradio, check!"),Ae.forEach(o),K.forEach(o),j=p(e),I=i(e,"P",{});var Ie=r(I);te=l(Ie,"This wraps up the chapter on building cool ML demos with Gradio - we hope you enjoyed it! To recap, in this chapter we learned:"),Ie.forEach(o),z=p(e),h=i(e,"UL",{});var f=r(h);E=i(f,"LI",{});var Q=r(E);oe=l(Q,"How to create Gradio demos with the high-level "),x=i(Q,"CODE",{});var Pe=r(x);ae=l(Pe,"Interface"),Pe.forEach(o),ie=l(Q," API, and how to configure different input and output modalities."),Q.forEach(o),re=p(f),G=i(f,"LI",{});var V=r(G);ne=l(V,"Different ways to share Gradio demos, through temporary links and hosting on "),H=i(V,"A",{href:!0,rel:!0});var Se=r(H);le=l(Se,"Hugging Face Spaces"),Se.forEach(o),se=l(V,"."),V.forEach(o),he=p(f),F=i(f,"LI",{});var Le=r(F);ce=l(Le,"How to integrate Gradio demos with models and Spaces on the Hugging Face Hub."),Le.forEach(o),de=p(f),M=i(f,"LI",{});var xe=r(M);ue=l(xe,"Advanced features like storing state in a demo or providing authentication."),xe.forEach(o),pe=p(f),T=i(f,"LI",{});var Fe=r(T);fe=l(Fe,"How to have full control of the data flow and layout of your demo with Gradio Blocks."),Fe.forEach(o),f.forEach(o),B=p(e),P=i(e,"P",{});var Me=r(P);me=l(Me,"If you\u2019d like to test your understanding of the concepts covered in this chapter, check out the quiz in the next section!"),Me.forEach(o),O=p(e),g=i(e,"H2",{class:!0});var W=r(g);y=i(W,"A",{id:!0,class:!0,href:!0});var Te=r(y);D=i(Te,"SPAN",{});var De=r(D);ze($.$$.fragment,De),De.forEach(o),Te.forEach(o),we=p(W),N=i(W,"SPAN",{});var Ne=r(N);ge=l(Ne,"Gradio blocks party \u{1F973}"),Ne.forEach(o),W.forEach(o),R=p(e),_=i(e,"P",{});var X=r(_);ve=l(X,"If you want to put the knowledge from this chapter to good use, come join the Gradio blocks party! This is a community event that\u2019s hosted by Hugging Face on "),q=i(X,"STRONG",{});var qe=r(q);ye=l(qe,"May 16-31"),qe.forEach(o),_e=l(X,". During this event, you\u2019ll build cool machine learning demos with Gradio and be in the running to win Hugging Face swag and prizes!"),X.forEach(o),U=p(e),k=i(e,"P",{});var Y=r(k);ke=l(Y,"Check out the "),A=i(Y,"A",{href:!0,rel:!0});var Ce=r(A);be=l(Ce,"event description"),Ce.forEach(o),Ee=l(Y," for details on how to participate - we can\u2019t wait to see what you\u2019ll build \u{1F917}!"),Y.forEach(o),this.h()},h(){c(m,"name","hf:doc:metadata"),c(m,"content",JSON.stringify(et)),c(v,"id","gradio-check"),c(v,"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"),c(v,"href","#gradio-check"),c(w,"class","relative group"),c(H,"href","https://huggingface.co/spaces"),c(H,"rel","nofollow"),c(y,"id","gradio-blocks-party"),c(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"),c(y,"href","#gradio-blocks-party"),c(g,"class","relative group"),c(A,"href","https://github.com/AK391/community-events/blob/main/gradio-blocks/README.md"),c(A,"rel","nofollow")},m(e,s){t(document.head,m),d(e,C,s),d(e,w,s),t(w,v),t(v,S),Be(b,S,null),t(w,Z),t(w,L),t(L,ee),d(e,j,s),d(e,I,s),t(I,te),d(e,z,s),d(e,h,s),t(h,E),t(E,oe),t(E,x),t(x,ae),t(E,ie),t(h,re),t(h,G),t(G,ne),t(G,H),t(H,le),t(G,se),t(h,he),t(h,F),t(F,ce),t(h,de),t(h,M),t(M,ue),t(h,pe),t(h,T),t(T,fe),d(e,B,s),d(e,P,s),t(P,me),d(e,O,s),d(e,g,s),t(g,y),t(y,D),Be($,D,null),t(g,we),t(g,N),t(N,ge),d(e,R,s),d(e,_,s),t(_,ve),t(_,q),t(q,ye),t(_,_e),d(e,U,s),d(e,k,s),t(k,ke),t(k,A),t(A,be),t(k,Ee),J=!0},p:Xe,i(e){J||(Oe(b.$$.fragment,e),Oe($.$$.fragment,e),J=!0)},o(e){Re(b.$$.fragment,e),Re($.$$.fragment,e),J=!1},d(e){o(m),e&&o(C),e&&o(w),Ue(b),e&&o(j),e&&o(I),e&&o(z),e&&o(h),e&&o(B),e&&o(P),e&&o(O),e&&o(g),Ue($),e&&o(R),e&&o(_),e&&o(U),e&&o(k)}}}const et={local:"gradio-check",sections:[{local:"gradio-blocks-party",title:"Gradio blocks party \u{1F973}"}],title:"Gradio, check!"};function tt(Ge){return Ye(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class it extends Ke{constructor(m){super();Qe(this,m,tt,Ze,Ve,{})}}export{it as default,et as metadata};
