import{s as Q,n as V,o as W}from"../chunks/scheduler.cc52f4b9.js";import{S as X,i as Y,e as s,s as i,c as j,h as Z,a as r,d as a,b as n,f as R,g as z,j as C,k as J,l as tt,m as l,n as U,t as k,o as q,p as A}from"../chunks/index.9480bb2b.js";import{C as et,H as K,E as at}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.009dc98d.js";function lt(F){let o,v,_,w,p,G,m,b,f,I="关于使用 Gradio 构建酷炫的 ML 演示的章节到此结束 —— 希望你会喜欢！回顾一下，在本章中，我们学习了：",L,u,B='<li>如何使用高级 <code>Interface</code> API 创建 Gradio 演示，以及如何配置不同的输入和输出模式。</li> <li>使用临时链接或者托管在 <a href="https://huggingface.co/spaces" rel="nofollow">Hugging Face Spaces</a> 上共享 Gradio 演示。</li> <li>如何将 Gradio 演示与 Hugging Face Hub 上的 Model 和 Space 集成在一起。</li> <li>高级功能，例如在演示中存储状态或模型解释等高级功能。</li> <li>如何使用 Gradio Blocks 完全控制演示的数据流和布局。</li>',M,c,D="如果你想测试你对本章所涵盖概念的理解，请查看下一节中的测验！",P,d,H,$,N="如果你想了解有关 Gradio 的更多信息，你可以",y,h,O='<li>看看仓库中的 <a href="https://github.com/gradio-app/gradio/tree/main/demo" rel="nofollow">Demos</a> ，那里有很多例子。</li> <li>请参阅 <a href="https://gradio.app/guides" rel="nofollow">指南</a> 页面，你可以在其中找到有关酷炫和高级功能的指南。</li> <li>查看 <a href="https://gradio.app/docs" rel="nofollow">文档</a> 页面了解详细信息。</li>',T,g,E,x,S;return p=new et({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),m=new K({props:{title:"Gradio，回顾！",local:"Gradio，回顾！",headingTag:"h1"}}),d=new K({props:{title:"下一步去哪里？",local:"下一步去哪里？",headingTag:"h2"}}),g=new at({props:{source:"https://github.com/huggingface/course/blob/main/chapters/zh-CN/chapter9/8.mdx"}}),{c(){o=s("meta"),v=i(),_=s("p"),w=i(),j(p.$$.fragment),G=i(),j(m.$$.fragment),b=i(),f=s("p"),f.textContent=I,L=i(),u=s("ul"),u.innerHTML=B,M=i(),c=s("p"),c.textContent=D,P=i(),j(d.$$.fragment),H=i(),$=s("p"),$.textContent=N,y=i(),h=s("ul"),h.innerHTML=O,T=i(),j(g.$$.fragment),E=i(),x=s("p"),this.h()},l(t){const e=Z("svelte-u9bgzb",document.head);o=r(e,"META",{name:!0,content:!0}),e.forEach(a),v=n(t),_=r(t,"P",{}),R(_).forEach(a),w=n(t),z(p.$$.fragment,t),G=n(t),z(m.$$.fragment,t),b=n(t),f=r(t,"P",{"data-svelte-h":!0}),C(f)!=="svelte-1006dt4"&&(f.textContent=I),L=n(t),u=r(t,"UL",{"data-svelte-h":!0}),C(u)!=="svelte-7qjcjd"&&(u.innerHTML=B),M=n(t),c=r(t,"P",{"data-svelte-h":!0}),C(c)!=="svelte-o6cnwg"&&(c.textContent=D),P=n(t),z(d.$$.fragment,t),H=n(t),$=r(t,"P",{"data-svelte-h":!0}),C($)!=="svelte-3eddeu"&&($.textContent=N),y=n(t),h=r(t,"UL",{"data-svelte-h":!0}),C(h)!=="svelte-snyuhj"&&(h.innerHTML=O),T=n(t),z(g.$$.fragment,t),E=n(t),x=r(t,"P",{}),R(x).forEach(a),this.h()},h(){J(o,"name","hf:doc:metadata"),J(o,"content",it)},m(t,e){tt(document.head,o),l(t,v,e),l(t,_,e),l(t,w,e),U(p,t,e),l(t,G,e),U(m,t,e),l(t,b,e),l(t,f,e),l(t,L,e),l(t,u,e),l(t,M,e),l(t,c,e),l(t,P,e),U(d,t,e),l(t,H,e),l(t,$,e),l(t,y,e),l(t,h,e),l(t,T,e),U(g,t,e),l(t,E,e),l(t,x,e),S=!0},p:V,i(t){S||(k(p.$$.fragment,t),k(m.$$.fragment,t),k(d.$$.fragment,t),k(g.$$.fragment,t),S=!0)},o(t){q(p.$$.fragment,t),q(m.$$.fragment,t),q(d.$$.fragment,t),q(g.$$.fragment,t),S=!1},d(t){t&&(a(v),a(_),a(w),a(G),a(b),a(f),a(L),a(u),a(M),a(c),a(P),a(H),a($),a(y),a(h),a(T),a(E),a(x)),a(o),A(p,t),A(m,t),A(d,t),A(g,t)}}}const it='{"title":"Gradio，回顾！","local":"Gradio，回顾！","sections":[{"title":"下一步去哪里？","local":"下一步去哪里？","sections":[],"depth":2}],"depth":1}';function nt(F){return W(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class pt extends X{constructor(o){super(),Y(this,o,nt,lt,Q,{})}}export{pt as component};
