import{S as ze,i as Ke,s as Qe,e as l,k as p,w as Ve,t as r,M as We,c as o,d as a,m as d,a as i,x as Xe,h as s,b as f,G as t,g as u,y as Ye,L as Ze,q as et,o as tt,B as at,v as lt}from"../../chunks/vendor-hf-doc-builder.js";import{I as ot}from"../../chunks/IconCopyLink-hf-doc-builder.js";function rt(ke){let m,U,v,E,F,G,ee,q,te,O,k,ae,J,c,w,le,B,oe,re,ie,L,se,I,ne,fe,ce,C,pe,de,D,ue,he,N,_e,R,x,me,T,y,ve,j,M,Ee,z,h,g,Ge,A,we,Le,Ie,P,ye,S,ge,Ae,Pe,$,Se,H,$e,He,K;return G=new ot({}),{c(){m=l("meta"),U=p(),v=l("h1"),E=l("a"),F=l("span"),Ve(G.$$.fragment),ee=p(),q=l("span"),te=r("Gradio\uFF0C\u56DE\u987E\uFF01"),O=p(),k=l("p"),ae=r("\u5173\u4E8E\u4F7F\u7528 Gradio \u6784\u5EFA\u9177\u70AB\u7684 ML \u6F14\u793A\u7684\u7AE0\u8282\u5230\u6B64\u7ED3\u675F - \u6211\u4EEC\u5E0C\u671B\u60A8\u559C\u6B22\u5B83\uFF01\u56DE\u987E\u4E00\u4E0B\uFF0C\u5728\u672C\u7AE0\u4E2D\uFF0C\u6211\u4EEC\u5B66\u4E60\u4E86\uFF1A"),J=p(),c=l("ul"),w=l("li"),le=r("\u5982\u4F55\u4F7F\u7528\u9AD8\u7EA7 "),B=l("code"),oe=r("Interface"),re=r(" API \u521B\u5EFA Gradio \u6F14\u793A\uFF0C\u4EE5\u53CA\u5982\u4F55\u914D\u7F6E\u4E0D\u540C\u7684\u8F93\u5165\u548C\u8F93\u51FA\u6A21\u5F0F\u3002"),ie=p(),L=l("li"),se=r("\u901A\u8FC7\u4E34\u65F6\u94FE\u63A5\u548C\u6258\u7BA1\u5728 "),I=l("a"),ne=r("Hugging Face Spaces"),fe=r(" \u4E0A\u5171\u4EAB Gradio \u6F14\u793A\u7684\u4E0D\u540C\u65B9\u5F0F\u3002"),ce=p(),C=l("li"),pe=r("\u5982\u4F55\u5C06 Gradio \u6F14\u793A\u4E0E Hugging Face Hub \u4E0A\u7684Model\u548CSpace\u96C6\u6210\u5728\u4E00\u8D77\u3002"),de=p(),D=l("li"),ue=r("\u9AD8\u7EA7\u529F\u80FD\uFF0C\u4F8B\u5982\u5728\u6F14\u793A\u4E2D\u5B58\u50A8\u72B6\u6001\u6216\u63D0\u4F9B\u8EAB\u4EFD\u9A8C\u8BC1\u3002"),he=p(),N=l("li"),_e=r("\u5982\u4F55\u4F7F\u7528 Gradio Blocks \u5B8C\u5168\u63A7\u5236\u6F14\u793A\u7684\u6570\u636E\u6D41\u548C\u5E03\u5C40\u3002"),R=p(),x=l("p"),me=r("\u5982\u679C\u60A8\u60F3\u6D4B\u8BD5\u60A8\u5BF9\u672C\u7AE0\u6240\u6DB5\u76D6\u6982\u5FF5\u7684\u7406\u89E3\uFF0C\u8BF7\u67E5\u770B\u4E0B\u4E00\u8282\u4E2D\u7684\u6D4B\u9A8C\uFF01"),T=p(),y=l("h2"),ve=r("\u4E0B\u4E00\u6B65\u53BB\u54EA\u91CC\uFF1F"),j=p(),M=l("p"),Ee=r("\u5982\u679C\u60A8\u60F3\u4E86\u89E3\u6709\u5173 Gradio \u7684\u66F4\u591A\u4FE1\u606F\uFF0C\u60A8\u53EF\u4EE5"),z=p(),h=l("ul"),g=l("li"),Ge=r("\u770B\u770B repo \u4E2D\u7684 "),A=l("a"),we=r("Demos"),Le=r("\uFF0C\u90A3\u91CC\u6709\u5F88\u591A\u4F8B\u5B50\u3002"),Ie=p(),P=l("li"),ye=r("\u8BF7\u53C2\u9605 "),S=l("a"),ge=r("\u6307\u5357"),Ae=r(" \u9875\u9762\uFF0C\u60A8\u53EF\u4EE5\u5728\u5176\u4E2D\u627E\u5230\u6709\u5173\u9177\u70AB\u548C\u9AD8\u7EA7\u529F\u80FD\u7684\u6307\u5357\u3002"),Pe=p(),$=l("li"),Se=r("\u67E5\u770B "),H=l("a"),$e=r("\u6587\u6863"),He=r(" \u9875\u9762\u4E86\u89E3\u8BE6\u60C5\u3002"),this.h()},l(e){const n=We('[data-svelte="svelte-1phssyn"]',document.head);m=o(n,"META",{name:!0,content:!0}),n.forEach(a),U=d(e),v=o(e,"H1",{class:!0});var Q=i(v);E=o(Q,"A",{id:!0,class:!0,href:!0});var xe=i(E);F=o(xe,"SPAN",{});var Me=i(F);Xe(G.$$.fragment,Me),Me.forEach(a),xe.forEach(a),ee=d(Q),q=o(Q,"SPAN",{});var be=i(q);te=s(be,"Gradio\uFF0C\u56DE\u987E\uFF01"),be.forEach(a),Q.forEach(a),O=d(e),k=o(e,"P",{});var Fe=i(k);ae=s(Fe,"\u5173\u4E8E\u4F7F\u7528 Gradio \u6784\u5EFA\u9177\u70AB\u7684 ML \u6F14\u793A\u7684\u7AE0\u8282\u5230\u6B64\u7ED3\u675F - \u6211\u4EEC\u5E0C\u671B\u60A8\u559C\u6B22\u5B83\uFF01\u56DE\u987E\u4E00\u4E0B\uFF0C\u5728\u672C\u7AE0\u4E2D\uFF0C\u6211\u4EEC\u5B66\u4E60\u4E86\uFF1A"),Fe.forEach(a),J=d(e),c=o(e,"UL",{});var _=i(c);w=o(_,"LI",{});var V=i(w);le=s(V,"\u5982\u4F55\u4F7F\u7528\u9AD8\u7EA7 "),B=o(V,"CODE",{});var qe=i(B);oe=s(qe,"Interface"),qe.forEach(a),re=s(V," API \u521B\u5EFA Gradio \u6F14\u793A\uFF0C\u4EE5\u53CA\u5982\u4F55\u914D\u7F6E\u4E0D\u540C\u7684\u8F93\u5165\u548C\u8F93\u51FA\u6A21\u5F0F\u3002"),V.forEach(a),ie=d(_),L=o(_,"LI",{});var W=i(L);se=s(W,"\u901A\u8FC7\u4E34\u65F6\u94FE\u63A5\u548C\u6258\u7BA1\u5728 "),I=o(W,"A",{href:!0,rel:!0});var Be=i(I);ne=s(Be,"Hugging Face Spaces"),Be.forEach(a),fe=s(W," \u4E0A\u5171\u4EAB Gradio \u6F14\u793A\u7684\u4E0D\u540C\u65B9\u5F0F\u3002"),W.forEach(a),ce=d(_),C=o(_,"LI",{});var Ce=i(C);pe=s(Ce,"\u5982\u4F55\u5C06 Gradio \u6F14\u793A\u4E0E Hugging Face Hub \u4E0A\u7684Model\u548CSpace\u96C6\u6210\u5728\u4E00\u8D77\u3002"),Ce.forEach(a),de=d(_),D=o(_,"LI",{});var De=i(D);ue=s(De,"\u9AD8\u7EA7\u529F\u80FD\uFF0C\u4F8B\u5982\u5728\u6F14\u793A\u4E2D\u5B58\u50A8\u72B6\u6001\u6216\u63D0\u4F9B\u8EAB\u4EFD\u9A8C\u8BC1\u3002"),De.forEach(a),he=d(_),N=o(_,"LI",{});var Ne=i(N);_e=s(Ne,"\u5982\u4F55\u4F7F\u7528 Gradio Blocks \u5B8C\u5168\u63A7\u5236\u6F14\u793A\u7684\u6570\u636E\u6D41\u548C\u5E03\u5C40\u3002"),Ne.forEach(a),_.forEach(a),R=d(e),x=o(e,"P",{});var Ue=i(x);me=s(Ue,"\u5982\u679C\u60A8\u60F3\u6D4B\u8BD5\u60A8\u5BF9\u672C\u7AE0\u6240\u6DB5\u76D6\u6982\u5FF5\u7684\u7406\u89E3\uFF0C\u8BF7\u67E5\u770B\u4E0B\u4E00\u8282\u4E2D\u7684\u6D4B\u9A8C\uFF01"),Ue.forEach(a),T=d(e),y=o(e,"H2",{id:!0});var Oe=i(y);ve=s(Oe,"\u4E0B\u4E00\u6B65\u53BB\u54EA\u91CC\uFF1F"),Oe.forEach(a),j=d(e),M=o(e,"P",{});var Je=i(M);Ee=s(Je,"\u5982\u679C\u60A8\u60F3\u4E86\u89E3\u6709\u5173 Gradio \u7684\u66F4\u591A\u4FE1\u606F\uFF0C\u60A8\u53EF\u4EE5"),Je.forEach(a),z=d(e),h=o(e,"UL",{});var b=i(h);g=o(b,"LI",{});var X=i(g);Ge=s(X,"\u770B\u770B repo \u4E2D\u7684 "),A=o(X,"A",{href:!0,rel:!0});var Re=i(A);we=s(Re,"Demos"),Re.forEach(a),Le=s(X,"\uFF0C\u90A3\u91CC\u6709\u5F88\u591A\u4F8B\u5B50\u3002"),X.forEach(a),Ie=d(b),P=o(b,"LI",{});var Y=i(P);ye=s(Y,"\u8BF7\u53C2\u9605 "),S=o(Y,"A",{href:!0,rel:!0});var Te=i(S);ge=s(Te,"\u6307\u5357"),Te.forEach(a),Ae=s(Y," \u9875\u9762\uFF0C\u60A8\u53EF\u4EE5\u5728\u5176\u4E2D\u627E\u5230\u6709\u5173\u9177\u70AB\u548C\u9AD8\u7EA7\u529F\u80FD\u7684\u6307\u5357\u3002"),Y.forEach(a),Pe=d(b),$=o(b,"LI",{});var Z=i($);Se=s(Z,"\u67E5\u770B "),H=o(Z,"A",{href:!0,rel:!0});var je=i(H);$e=s(je,"\u6587\u6863"),je.forEach(a),He=s(Z," \u9875\u9762\u4E86\u89E3\u8BE6\u60C5\u3002"),Z.forEach(a),b.forEach(a),this.h()},h(){f(m,"name","hf:doc:metadata"),f(m,"content",JSON.stringify(it)),f(E,"id","gradio"),f(E,"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"),f(E,"href","#gradio"),f(v,"class","relative group"),f(I,"href","https://huggingface.co/spaces"),f(I,"rel","nofollow"),f(y,"id",""),f(A,"href","https://github.com/gradio-app/gradio/tree/main/demo"),f(A,"rel","nofollow"),f(S,"href","https://gradio.app/guides/"),f(S,"rel","nofollow"),f(H,"href","https://gradio.app/docs/"),f(H,"rel","nofollow")},m(e,n){t(document.head,m),u(e,U,n),u(e,v,n),t(v,E),t(E,F),Ye(G,F,null),t(v,ee),t(v,q),t(q,te),u(e,O,n),u(e,k,n),t(k,ae),u(e,J,n),u(e,c,n),t(c,w),t(w,le),t(w,B),t(B,oe),t(w,re),t(c,ie),t(c,L),t(L,se),t(L,I),t(I,ne),t(L,fe),t(c,ce),t(c,C),t(C,pe),t(c,de),t(c,D),t(D,ue),t(c,he),t(c,N),t(N,_e),u(e,R,n),u(e,x,n),t(x,me),u(e,T,n),u(e,y,n),t(y,ve),u(e,j,n),u(e,M,n),t(M,Ee),u(e,z,n),u(e,h,n),t(h,g),t(g,Ge),t(g,A),t(A,we),t(g,Le),t(h,Ie),t(h,P),t(P,ye),t(P,S),t(S,ge),t(P,Ae),t(h,Pe),t(h,$),t($,Se),t($,H),t(H,$e),t($,He),K=!0},p:Ze,i(e){K||(et(G.$$.fragment,e),K=!0)},o(e){tt(G.$$.fragment,e),K=!1},d(e){a(m),e&&a(U),e&&a(v),at(G),e&&a(O),e&&a(k),e&&a(J),e&&a(c),e&&a(R),e&&a(x),e&&a(T),e&&a(y),e&&a(j),e&&a(M),e&&a(z),e&&a(h)}}}const it={local:"gradio",sections:[{local:"",title:"\u4E0B\u4E00\u6B65\u53BB\u54EA\u91CC\uFF1F"}],title:"Gradio\uFF0C\u56DE\u987E\uFF01"};function st(ke){return lt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ct extends ze{constructor(m){super();Ke(this,m,st,rt,Qe,{})}}export{ct as default,it as metadata};
