import{s as J,n as K,o as N}from"../chunks/scheduler.37c15a92.js";import{S as Q,i as V,g as s,s as i,r as E,A as X,h as r,f as a,c as n,j as O,u as S,x,k as R,y as Y,a as l,v as j,d as k,t as q,w as A}from"../chunks/index.2bf4358c.js";import{H as W,E as Z}from"../chunks/getInferenceSnippets.80a69898.js";function tt(U){let o,v,g,w,p,C,m,z="關於使用 Gradio 構建酷炫的 ML 演示的章節到此結束 - 我們希望您喜歡它！回顧一下，在本章中，我們學習了：",b,f,F='<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>',P,u,I="如果您想測試您對本章所涵蓋概念的理解，請查看下一節中的測驗！",G,c,H,d,B="如果您想了解有關 Gradio 的更多信息，您可以",L,h,D='<li>看看 repo 中的 <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>',M,$,T,_,y;return p=new W({props:{title:"Gradio，回顧！",local:"gradio回顧",headingTag:"h1"}}),c=new W({props:{title:"下一步去哪裡？",local:"下一步去哪裡",headingTag:"h2"}}),$=new Z({props:{source:"https://github.com/huggingface/course/blob/main/chapters/zh-TW/chapter9/8.mdx"}}),{c(){o=s("meta"),v=i(),g=s("p"),w=i(),E(p.$$.fragment),C=i(),m=s("p"),m.textContent=z,b=i(),f=s("ul"),f.innerHTML=F,P=i(),u=s("p"),u.textContent=I,G=i(),E(c.$$.fragment),H=i(),d=s("p"),d.textContent=B,L=i(),h=s("ul"),h.innerHTML=D,M=i(),E($.$$.fragment),T=i(),_=s("p"),this.h()},l(t){const e=X("svelte-u9bgzb",document.head);o=r(e,"META",{name:!0,content:!0}),e.forEach(a),v=n(t),g=r(t,"P",{}),O(g).forEach(a),w=n(t),S(p.$$.fragment,t),C=n(t),m=r(t,"P",{"data-svelte-h":!0}),x(m)!=="svelte-1yjch30"&&(m.textContent=z),b=n(t),f=r(t,"UL",{"data-svelte-h":!0}),x(f)!=="svelte-10lxvwy"&&(f.innerHTML=F),P=n(t),u=r(t,"P",{"data-svelte-h":!0}),x(u)!=="svelte-1yvb9qd"&&(u.textContent=I),G=n(t),S(c.$$.fragment,t),H=n(t),d=r(t,"P",{"data-svelte-h":!0}),x(d)!=="svelte-rm6kw9"&&(d.textContent=B),L=n(t),h=r(t,"UL",{"data-svelte-h":!0}),x(h)!=="svelte-11jphq9"&&(h.innerHTML=D),M=n(t),S($.$$.fragment,t),T=n(t),_=r(t,"P",{}),O(_).forEach(a),this.h()},h(){R(o,"name","hf:doc:metadata"),R(o,"content",et)},m(t,e){Y(document.head,o),l(t,v,e),l(t,g,e),l(t,w,e),j(p,t,e),l(t,C,e),l(t,m,e),l(t,b,e),l(t,f,e),l(t,P,e),l(t,u,e),l(t,G,e),j(c,t,e),l(t,H,e),l(t,d,e),l(t,L,e),l(t,h,e),l(t,M,e),j($,t,e),l(t,T,e),l(t,_,e),y=!0},p:K,i(t){y||(k(p.$$.fragment,t),k(c.$$.fragment,t),k($.$$.fragment,t),y=!0)},o(t){q(p.$$.fragment,t),q(c.$$.fragment,t),q($.$$.fragment,t),y=!1},d(t){t&&(a(v),a(g),a(w),a(C),a(m),a(b),a(f),a(P),a(u),a(G),a(H),a(d),a(L),a(h),a(M),a(T),a(_)),a(o),A(p,t),A(c,t),A($,t)}}}const et='{"title":"Gradio，回顧！","local":"gradio回顧","sections":[{"title":"下一步去哪裡？","local":"下一步去哪裡","sections":[],"depth":2}],"depth":1}';function at(U){return N(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ot extends Q{constructor(o){super(),V(this,o,at,tt,J,{})}}export{ot as component};
