import{S as le,i as re,s as ce,e as o,k as U,w as ee,t as l,N as pe,c as r,d as a,m as $,a as p,x as te,h as c,b as S,G as t,g as y,y as ae,L as ie,q as se,o as ne,B as oe,v as he}from"../chunks/vendor-hf-doc-builder.js";import{I as fe}from"../chunks/IconCopyLink-hf-doc-builder.js";import{C as me}from"../chunks/CodeBlock-hf-doc-builder.js";function de(Y){let i,b,h,f,v,u,N,w,A,G,s,R,E,D,L,j,P,Q,M,Z,T,B,g,k,m,z,_,J,W,C;return u=new fe({}),g=new me({props:{code:"LS0tJTBBdGl0bGUlM0ElMjBEZW1vJTIwU3BhY2UlMEFlbW9qaSUzQSUyMCVGMCU5RiVBNCU5NyUwQWNvbG9yRnJvbSUzQSUyMHllbGxvdyUwQWNvbG9yVG8lM0ElMjBvcmFuZ2UlMEFzZGslM0ElMjBncmFkaW8lMEFhcHBfZmlsZSUzQSUyMGFwcC5weSUwQXBpbm5lZCUzQSUyMGZhbHNlJTBBLS0t",highlighted:`<span class="hljs-meta">---</span>
<span class="hljs-attr">title:</span> <span class="hljs-string">Demo</span> <span class="hljs-string">Space</span>
<span class="hljs-attr">emoji:</span> <span class="hljs-string">\u{1F917}</span>
<span class="hljs-attr">colorFrom:</span> <span class="hljs-string">yellow</span>
<span class="hljs-attr">colorTo:</span> <span class="hljs-string">orange</span>
<span class="hljs-attr">sdk:</span> <span class="hljs-string">gradio</span>
<span class="hljs-attr">app_file:</span> <span class="hljs-string">app.py</span>
<span class="hljs-attr">pinned:</span> <span class="hljs-literal">false</span>
<span class="hljs-meta">---</span>`}}),{c(){i=o("meta"),b=U(),h=o("h1"),f=o("a"),v=o("span"),ee(u.$$.fragment),N=U(),w=o("span"),A=l("Spaces Settings"),G=U(),s=o("p"),R=l("You can configure your Space\u2019s appearance and other settings inside the "),E=o("code"),D=l("YAML"),L=l(" block at the top of the "),j=o("strong"),P=l("README.md"),Q=l(" file at the root of the repository. For example, if you want to create a Space with Gradio named "),M=o("code"),Z=l("Demo Space"),T=l(" with a yellow to orange gradient thumbnail:"),B=U(),ee(g.$$.fragment),k=U(),m=o("p"),z=l("For additional settings, refer to the "),_=o("a"),J=l("Reference"),W=l(" section."),this.h()},l(e){const n=pe('[data-svelte="svelte-1phssyn"]',document.head);i=r(n,"META",{name:!0,content:!0}),n.forEach(a),b=$(e),h=r(e,"H1",{class:!0});var F=p(h);f=r(F,"A",{id:!0,class:!0,href:!0});var q=p(f);v=r(q,"SPAN",{});var H=p(v);te(u.$$.fragment,H),H.forEach(a),q.forEach(a),N=$(F),w=r(F,"SPAN",{});var O=p(w);A=c(O,"Spaces Settings"),O.forEach(a),F.forEach(a),G=$(e),s=r(e,"P",{});var d=p(s);R=c(d,"You can configure your Space\u2019s appearance and other settings inside the "),E=r(d,"CODE",{});var I=p(E);D=c(I,"YAML"),I.forEach(a),L=c(d," block at the top of the "),j=r(d,"STRONG",{});var V=p(j);P=c(V,"README.md"),V.forEach(a),Q=c(d," file at the root of the repository. For example, if you want to create a Space with Gradio named "),M=r(d,"CODE",{});var X=p(M);Z=c(X,"Demo Space"),X.forEach(a),T=c(d," with a yellow to orange gradient thumbnail:"),d.forEach(a),B=$(e),te(g.$$.fragment,e),k=$(e),m=r(e,"P",{});var x=p(m);z=c(x,"For additional settings, refer to the "),_=r(x,"A",{href:!0});var K=p(_);J=c(K,"Reference"),K.forEach(a),W=c(x," section."),x.forEach(a),this.h()},h(){S(i,"name","hf:doc:metadata"),S(i,"content",JSON.stringify(ue)),S(f,"id","spaces-settings"),S(f,"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"),S(f,"href","#spaces-settings"),S(h,"class","relative group"),S(_,"href","./spaces-config-reference")},m(e,n){t(document.head,i),y(e,b,n),y(e,h,n),t(h,f),t(f,v),ae(u,v,null),t(h,N),t(h,w),t(w,A),y(e,G,n),y(e,s,n),t(s,R),t(s,E),t(E,D),t(s,L),t(s,j),t(j,P),t(s,Q),t(s,M),t(M,Z),t(s,T),y(e,B,n),ae(g,e,n),y(e,k,n),y(e,m,n),t(m,z),t(m,_),t(_,J),t(m,W),C=!0},p:ie,i(e){C||(se(u.$$.fragment,e),se(g.$$.fragment,e),C=!0)},o(e){ne(u.$$.fragment,e),ne(g.$$.fragment,e),C=!1},d(e){a(i),e&&a(b),e&&a(h),oe(u),e&&a(G),e&&a(s),e&&a(B),oe(g,e),e&&a(k),e&&a(m)}}}const ue={local:"spaces-settings",title:"Spaces Settings"};function ge(Y){return he(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ve extends le{constructor(i){super();re(this,i,ge,de,ce,{})}}export{ve as default,ue as metadata};
