import{s as T,f as B,n as A,o as S}from"../chunks/scheduler.37c15a92.js";import{S as q,i as j,g as p,s as u,r as z,A as F,h as d,f as t,c as f,j as $,u as R,x as H,k as l,y as I,a as s,v as N,d as Q,t as U,w as Y}from"../chunks/index.2bf4358c.js";import{H as D}from"../chunks/Heading.8ada512a.js";function J(G){let r,w,h,_,n,y,i,M="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.",b,c,C='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,m,E="<strong>Natural language to SQL</strong>",v,o,L,k,g,P;return n=new D({props:{title:"Gradio Blocks Party",local:"gradio-blocks-party",headingTag:"h1"}}),{c(){r=p("meta"),w=u(),h=p("p"),_=u(),z(n.$$.fragment),y=u(),i=p("p"),i.textContent=M,b=u(),c=p("p"),c.innerHTML=C,x=u(),m=p("p"),m.innerHTML=E,v=u(),o=p("iframe"),k=u(),g=p("p"),this.h()},l(e){const a=F("svelte-u9bgzb",document.head);r=d(a,"META",{name:!0,content:!0}),a.forEach(t),w=f(e),h=d(e,"P",{}),$(h).forEach(t),_=f(e),R(n.$$.fragment,e),y=f(e),i=d(e,"P",{"data-svelte-h":!0}),H(i)!=="svelte-bktssc"&&(i.textContent=M),b=f(e),c=d(e,"P",{"data-svelte-h":!0}),H(c)!=="svelte-1dh09gg"&&(c.innerHTML=C),x=f(e),m=d(e,"P",{"data-svelte-h":!0}),H(m)!=="svelte-bn9s6r"&&(m.innerHTML=E),v=f(e),o=d(e,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),$(o).forEach(t),k=f(e),g=d(e,"P",{}),$(g).forEach(t),this.h()},h(){l(r,"name","hf:doc:metadata"),l(r,"content",K),B(o.src,L="https://curranj-words-to-sql.hf.space")||l(o,"src",L),l(o,"frameborder","0"),l(o,"height","640"),l(o,"title","Gradio app"),l(o,"class","container p-0 flex-grow space-iframe"),l(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"),l(o,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads")},m(e,a){I(document.head,r),s(e,w,a),s(e,h,a),s(e,_,a),N(n,e,a),s(e,y,a),s(e,i,a),s(e,b,a),s(e,c,a),s(e,x,a),s(e,m,a),s(e,v,a),s(e,o,a),s(e,k,a),s(e,g,a),P=!0},p:A,i(e){P||(Q(n.$$.fragment,e),P=!0)},o(e){U(n.$$.fragment,e),P=!1},d(e){e&&(t(w),t(h),t(_),t(y),t(i),t(b),t(c),t(x),t(m),t(v),t(o),t(k),t(g)),t(r),Y(n,e)}}}const K='{"title":"Gradio Blocks Party","local":"gradio-blocks-party","sections":[],"depth":1}';function O(G){return S(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Z extends q{constructor(r){super(),j(this,r,O,J,T,{})}}export{Z as component};
