import{s as N,a as O,n as Q,o as U}from"../chunks/scheduler.cc52f4b9.js";import{S as Y,i as D,e as h,s as r,c as E,h as J,a as g,d as a,b as l,f as G,g as L,j as T,k as i,l as K,m as n,n as B,t as S,o as q,p as z}from"../chunks/index.5b747fde.js";import{C as V,H as W,E as X}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.d38ac5a9.js";function Z(A){let s,b,$,_,m,y,c,x,p,j="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.",v,u,F='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:',k,f,R="<strong>Natural language to SQL</strong>",P,o,I,H,d,M,w,C;return m=new V({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),c=new W({props:{title:"Gradio Blocks Party",local:"gradio-blocks-party",headingTag:"h1"}}),d=new X({props:{source:"https://github.com/huggingface/course/blob/main/chapters/en/events/3.mdx"}}),{c(){s=h("meta"),b=r(),$=h("p"),_=r(),E(m.$$.fragment),y=r(),E(c.$$.fragment),x=r(),p=h("p"),p.textContent=j,v=r(),u=h("p"),u.innerHTML=F,k=r(),f=h("p"),f.innerHTML=R,P=r(),o=h("iframe"),H=r(),E(d.$$.fragment),M=r(),w=h("p"),this.h()},l(e){const t=J("svelte-u9bgzb",document.head);s=g(t,"META",{name:!0,content:!0}),t.forEach(a),b=l(e),$=g(e,"P",{}),G($).forEach(a),_=l(e),L(m.$$.fragment,e),y=l(e),L(c.$$.fragment,e),x=l(e),p=g(e,"P",{"data-svelte-h":!0}),T(p)!=="svelte-bktssc"&&(p.textContent=j),v=l(e),u=g(e,"P",{"data-svelte-h":!0}),T(u)!=="svelte-1dh09gg"&&(u.innerHTML=F),k=l(e),f=g(e,"P",{"data-svelte-h":!0}),T(f)!=="svelte-bn9s6r"&&(f.innerHTML=R),P=l(e),o=g(e,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),G(o).forEach(a),H=l(e),L(d.$$.fragment,e),M=l(e),w=g(e,"P",{}),G(w).forEach(a),this.h()},h(){i(s,"name","hf:doc:metadata"),i(s,"content",ee),O(o.src,I="https://curranj-words-to-sql.hf.space")||i(o,"src",I),i(o,"frameborder","0"),i(o,"height","640"),i(o,"title","Gradio app"),i(o,"class","container p-0 flex-grow space-iframe"),i(o,"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"),i(o,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads")},m(e,t){K(document.head,s),n(e,b,t),n(e,$,t),n(e,_,t),B(m,e,t),n(e,y,t),B(c,e,t),n(e,x,t),n(e,p,t),n(e,v,t),n(e,u,t),n(e,k,t),n(e,f,t),n(e,P,t),n(e,o,t),n(e,H,t),B(d,e,t),n(e,M,t),n(e,w,t),C=!0},p:Q,i(e){C||(S(m.$$.fragment,e),S(c.$$.fragment,e),S(d.$$.fragment,e),C=!0)},o(e){q(m.$$.fragment,e),q(c.$$.fragment,e),q(d.$$.fragment,e),C=!1},d(e){e&&(a(b),a($),a(_),a(y),a(x),a(p),a(v),a(u),a(k),a(f),a(P),a(o),a(H),a(M),a(w)),a(s),z(m,e),z(c,e),z(d,e)}}}const ee='{"title":"Gradio Blocks Party","local":"gradio-blocks-party","sections":[],"depth":1}';function te(A){return U(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class se extends Y{constructor(s){super(),D(this,s,te,Z,N,{})}}export{se as component};
