import{s as C,n as G,o as j}from"../chunks/scheduler.9cda857a.js";import{S as F,i as O,e as h,s as r,c as T,h as I,a as u,d as t,b as f,f as M,g as v,j as q,k as z,l as J,m as s,n as D,t as P,o as S,p as E}from"../chunks/index.f47f3121.js";import{C as U}from"../chunks/CopyLLMTxtMenu.676ed699.js";import{H as X,E as R}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.64d112fc.js";function V(H){let o,d,g,_,l,k,n,w,i,L='We gathered some example demos in the <a href="https://huggingface.co/SpacesExamples" rel="nofollow">Spaces Examples</a> organization. Please check them out!',$,c,A='<li>Dummy FastAPI app: <a href="https://huggingface.co/spaces/DockerTemplates/fastapi_dummy" rel="nofollow">https://huggingface.co/spaces/DockerTemplates/fastapi_dummy</a></li> <li>FastAPI app serving a static site and using <code>transformers</code>: <a href="https://huggingface.co/spaces/DockerTemplates/fastapi_t5" rel="nofollow">https://huggingface.co/spaces/DockerTemplates/fastapi_t5</a></li> <li>Phoenix app for <a href="https://huggingface.co/spaces/DockerTemplates/single_file_phx_bumblebee_ml" rel="nofollow">https://huggingface.co/spaces/DockerTemplates/single_file_phx_bumblebee_ml</a></li> <li>HTTP endpoint in Go with query parameters <a href="https://huggingface.co/spaces/XciD/test-docker-go?q=Adrien" rel="nofollow">https://huggingface.co/spaces/XciD/test-docker-go?q=Adrien</a></li> <li>Shiny app written in Python <a href="https://huggingface.co/spaces/elonmuskceo/shiny-orbit-simulation" rel="nofollow">https://huggingface.co/spaces/elonmuskceo/shiny-orbit-simulation</a></li> <li>Genie.jl app in Julia <a href="https://huggingface.co/spaces/nooji/GenieOnHuggingFaceSpaces" rel="nofollow">https://huggingface.co/spaces/nooji/GenieOnHuggingFaceSpaces</a></li> <li>Argilla app for data labelling and curation: <a href="https://huggingface.co/spaces/argilla/live-demo" rel="nofollow">https://huggingface.co/spaces/argilla/live-demo</a> and <a href="./spaces-sdks-docker-argilla">write-up about hosting Argilla on Spaces</a> by <a href="https://huggingface.co/dvilasuero" rel="nofollow">@dvilasuero</a> 🎉</li> <li>JupyterLab and VSCode: <a href="https://huggingface.co/spaces/DockerTemplates/docker-examples" rel="nofollow">https://huggingface.co/spaces/DockerTemplates/docker-examples</a> by <a href="https://twitter.com/camenduru" rel="nofollow">@camenduru</a> and <a href="https://hf.co/nateraw" rel="nofollow">@nateraw</a>.</li> <li>Zeno app for interactive model evaluation: <a href="https://huggingface.co/spaces/zeno-ml/diffusiondb" rel="nofollow">https://huggingface.co/spaces/zeno-ml/diffusiondb</a> and <a href="https://zenoml.com/docs/deployment#hugging-face-spaces" rel="nofollow">instructions for setup</a></li> <li>Gradio App: <a href="https://huggingface.co/spaces/sayakpaul/demo-docker-gradio" rel="nofollow">https://huggingface.co/spaces/sayakpaul/demo-docker-gradio</a></li>',b,p,x,m,y;return l=new U({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),n=new X({props:{title:"Docker Spaces Examples",local:"docker-spaces-examples",headingTag:"h1"}}),p=new R({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/spaces-sdks-docker-examples.md"}}),{c(){o=h("meta"),d=r(),g=h("p"),_=r(),T(l.$$.fragment),k=r(),T(n.$$.fragment),w=r(),i=h("p"),i.innerHTML=L,$=r(),c=h("ul"),c.innerHTML=A,b=r(),T(p.$$.fragment),x=r(),m=h("p"),this.h()},l(e){const a=I("svelte-u9bgzb",document.head);o=u(a,"META",{name:!0,content:!0}),a.forEach(t),d=f(e),g=u(e,"P",{}),M(g).forEach(t),_=f(e),v(l.$$.fragment,e),k=f(e),v(n.$$.fragment,e),w=f(e),i=u(e,"P",{"data-svelte-h":!0}),q(i)!=="svelte-j1vqhl"&&(i.innerHTML=L),$=f(e),c=u(e,"UL",{"data-svelte-h":!0}),q(c)!=="svelte-1rkcsrq"&&(c.innerHTML=A),b=f(e),v(p.$$.fragment,e),x=f(e),m=u(e,"P",{}),M(m).forEach(t),this.h()},h(){z(o,"name","hf:doc:metadata"),z(o,"content",W)},m(e,a){J(document.head,o),s(e,d,a),s(e,g,a),s(e,_,a),D(l,e,a),s(e,k,a),D(n,e,a),s(e,w,a),s(e,i,a),s(e,$,a),s(e,c,a),s(e,b,a),D(p,e,a),s(e,x,a),s(e,m,a),y=!0},p:G,i(e){y||(P(l.$$.fragment,e),P(n.$$.fragment,e),P(p.$$.fragment,e),y=!0)},o(e){S(l.$$.fragment,e),S(n.$$.fragment,e),S(p.$$.fragment,e),y=!1},d(e){e&&(t(d),t(g),t(_),t(k),t(w),t(i),t($),t(c),t(b),t(x),t(m)),t(o),E(l,e),E(n,e),E(p,e)}}}const W='{"title":"Docker Spaces Examples","local":"docker-spaces-examples","sections":[],"depth":1}';function Z(H){return j(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Y extends F{constructor(o){super(),O(this,o,Z,V,C,{})}}export{Y as component};
