import{s as K,n as Q,o as V}from"../chunks/scheduler.37c15a92.js";import{S as X,i as Y,g as r,s as n,r as S,A as Z,h as s,f as a,c as i,j as O,u as A,x as v,k as R,y as ee,a as o,v as I,d as q,t as z,w as D}from"../chunks/index.7cb9c9b8.js";import{C as te}from"../chunks/CourseFloatingBanner.df82c153.js";import{H as J,E as ae}from"../chunks/getInferenceSnippets.b6a8c7d2.js";function oe(F){let l,_,w,y,p,k,u,C,h,U="This wraps up the chapter on building cool ML demos with Gradio - we hope you enjoyed it! To recap, in this chapter we learned:",b,m,j='<li>How to create Gradio demos with the high-level <code>Interface</code> API, and how to configure different input and output modalities.</li> <li>Different ways to share Gradio demos, through temporary links and hosting on <a href="https://huggingface.co/spaces" rel="nofollow">Hugging Face Spaces</a>.</li> <li>How to integrate Gradio demos with models and Spaces on the Hugging Face Hub.</li> <li>Advanced features like storing state in a demo or providing authentication.</li> <li>How to have full control of the data flow and layout of your demo with Gradio Blocks.</li>',H,f,B="If you’d like to test your understanding of the concepts covered in this chapter, check out the quiz in the next section!",G,c,P,d,W="If you want to learn more about Gradio you can",T,g,N='<li>Take a look at <a href="https://github.com/gradio-app/gradio/tree/main/demo" rel="nofollow">Demos</a> in the repo, there are quite a lot of examples there.</li> <li>See the <a href="https://gradio.app/guides/" rel="nofollow">Guides</a> page, where you can find guides about cool and advanced features.</li> <li>Check the <a href="https://gradio.app/docs/" rel="nofollow">Docs</a> page to learn the details.</li>',L,$,M,x,E;return p=new J({props:{title:"Gradio, check!",local:"gradio-check",headingTag:"h1"}}),u=new te({props:{chapter:9,classNames:"absolute z-10 right-0 top-0"}}),c=new J({props:{title:"Where to next?",local:"where-to-next",headingTag:"h2"}}),$=new ae({props:{source:"https://github.com/huggingface/course/blob/main/chapters/en/chapter9/8.mdx"}}),{c(){l=r("meta"),_=n(),w=r("p"),y=n(),S(p.$$.fragment),k=n(),S(u.$$.fragment),C=n(),h=r("p"),h.textContent=U,b=n(),m=r("ul"),m.innerHTML=j,H=n(),f=r("p"),f.textContent=B,G=n(),S(c.$$.fragment),P=n(),d=r("p"),d.textContent=W,T=n(),g=r("ul"),g.innerHTML=N,L=n(),S($.$$.fragment),M=n(),x=r("p"),this.h()},l(e){const t=Z("svelte-u9bgzb",document.head);l=s(t,"META",{name:!0,content:!0}),t.forEach(a),_=i(e),w=s(e,"P",{}),O(w).forEach(a),y=i(e),A(p.$$.fragment,e),k=i(e),A(u.$$.fragment,e),C=i(e),h=s(e,"P",{"data-svelte-h":!0}),v(h)!=="svelte-nywok"&&(h.textContent=U),b=i(e),m=s(e,"UL",{"data-svelte-h":!0}),v(m)!=="svelte-12rviv8"&&(m.innerHTML=j),H=i(e),f=s(e,"P",{"data-svelte-h":!0}),v(f)!=="svelte-oar3hi"&&(f.textContent=B),G=i(e),A(c.$$.fragment,e),P=i(e),d=s(e,"P",{"data-svelte-h":!0}),v(d)!=="svelte-1k99na0"&&(d.textContent=W),T=i(e),g=s(e,"UL",{"data-svelte-h":!0}),v(g)!=="svelte-1uo6xmp"&&(g.innerHTML=N),L=i(e),A($.$$.fragment,e),M=i(e),x=s(e,"P",{}),O(x).forEach(a),this.h()},h(){R(l,"name","hf:doc:metadata"),R(l,"content",ne)},m(e,t){ee(document.head,l),o(e,_,t),o(e,w,t),o(e,y,t),I(p,e,t),o(e,k,t),I(u,e,t),o(e,C,t),o(e,h,t),o(e,b,t),o(e,m,t),o(e,H,t),o(e,f,t),o(e,G,t),I(c,e,t),o(e,P,t),o(e,d,t),o(e,T,t),o(e,g,t),o(e,L,t),I($,e,t),o(e,M,t),o(e,x,t),E=!0},p:Q,i(e){E||(q(p.$$.fragment,e),q(u.$$.fragment,e),q(c.$$.fragment,e),q($.$$.fragment,e),E=!0)},o(e){z(p.$$.fragment,e),z(u.$$.fragment,e),z(c.$$.fragment,e),z($.$$.fragment,e),E=!1},d(e){e&&(a(_),a(w),a(y),a(k),a(C),a(h),a(b),a(m),a(H),a(f),a(G),a(P),a(d),a(T),a(g),a(L),a(M),a(x)),a(l),D(p,e),D(u,e),D(c,e),D($,e)}}}const ne='{"title":"Gradio, check!","local":"gradio-check","sections":[{"title":"Where to next?","local":"where-to-next","sections":[],"depth":2}],"depth":1}';function ie(F){return V(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ue extends X{constructor(l){super(),Y(this,l,ie,oe,K,{})}}export{ue as component};
