import{s as R,f as I,n as N,o as O}from"../chunks/scheduler.37c15a92.js";import{S as Q,i as U,g as d,s as l,r as A,A as Y,h,f as a,c as i,j as E,u as S,x as G,k as n,y as D,a as o,v as q,d as j,t as z,w as F}from"../chunks/index.7cb9c9b8.js";import{H as J,E as K}from"../chunks/getInferenceSnippets.c47ae3ea.js";function V(M){let r,_,g,b,c,y,m,C="Along with the release of the Gradio chapter of the course, Hugging Face hosted a community event on building cool machine learning demos using the new Gradio Blocks feature.",$,u,L='You can find all the demos that the community created under the <a href="https://huggingface.co/Gradio-Blocks" rel="nofollow"><code>Gradio-Blocks</code></a> organisation on the Hub. Here’s a few examples from the winners:',x,p,T="<strong>Natural language to SQL</strong>",v,s,B,k,f,P,w,H;return c=new J({props:{title:"Gradio Blocks Party",local:"gradio-blocks-party",headingTag:"h1"}}),f=new K({props:{source:"https://github.com/huggingface/course/blob/main/chapters/en/events/3.mdx"}}),{c(){r=d("meta"),_=l(),g=d("p"),b=l(),A(c.$$.fragment),y=l(),m=d("p"),m.textContent=C,$=l(),u=d("p"),u.innerHTML=L,x=l(),p=d("p"),p.innerHTML=T,v=l(),s=d("iframe"),k=l(),A(f.$$.fragment),P=l(),w=d("p"),this.h()},l(e){const t=Y("svelte-u9bgzb",document.head);r=h(t,"META",{name:!0,content:!0}),t.forEach(a),_=i(e),g=h(e,"P",{}),E(g).forEach(a),b=i(e),S(c.$$.fragment,e),y=i(e),m=h(e,"P",{"data-svelte-h":!0}),G(m)!=="svelte-bktssc"&&(m.textContent=C),$=i(e),u=h(e,"P",{"data-svelte-h":!0}),G(u)!=="svelte-1dh09gg"&&(u.innerHTML=L),x=i(e),p=h(e,"P",{"data-svelte-h":!0}),G(p)!=="svelte-bn9s6r"&&(p.innerHTML=T),v=i(e),s=h(e,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),E(s).forEach(a),k=i(e),S(f.$$.fragment,e),P=i(e),w=h(e,"P",{}),E(w).forEach(a),this.h()},h(){n(r,"name","hf:doc:metadata"),n(r,"content",W),I(s.src,B="https://curranj-words-to-sql.hf.space")||n(s,"src",B),n(s,"frameborder","0"),n(s,"height","640"),n(s,"title","Gradio app"),n(s,"class","container p-0 flex-grow space-iframe"),n(s,"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(s,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads")},m(e,t){D(document.head,r),o(e,_,t),o(e,g,t),o(e,b,t),q(c,e,t),o(e,y,t),o(e,m,t),o(e,$,t),o(e,u,t),o(e,x,t),o(e,p,t),o(e,v,t),o(e,s,t),o(e,k,t),q(f,e,t),o(e,P,t),o(e,w,t),H=!0},p:N,i(e){H||(j(c.$$.fragment,e),j(f.$$.fragment,e),H=!0)},o(e){z(c.$$.fragment,e),z(f.$$.fragment,e),H=!1},d(e){e&&(a(_),a(g),a(b),a(y),a(m),a($),a(u),a(x),a(p),a(v),a(s),a(k),a(P),a(w)),a(r),F(c,e),F(f,e)}}}const W='{"title":"Gradio Blocks Party","local":"gradio-blocks-party","sections":[],"depth":1}';function X(M){return O(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ae extends Q{constructor(r){super(),U(this,r,X,V,R,{})}}export{ae as component};
