import{s as P,n as S,o as $}from"../chunks/scheduler.d6170356.js";import{S as A,i as H,g as r,s as g,r as E,A as L,h,f as t,c as f,j as v,u as z,x as T,k as D,y as M,a as o,v as j,d as q,t as G,w as C}from"../chunks/index.fcd4cc08.js";import{H as F}from"../chunks/Heading.8660bd0e.js";function I(x){let s,m,c,u,l,d,n,y='We gathered some example demos in the <a href="https://huggingface.co/SpacesExamples" rel="nofollow">Spaces Examples</a> organization. Please check them out!',_,i,b='<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://huggingface.co/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>',k,p,w;return l=new F({props:{title:"Docker Spaces Examples",local:"docker-spaces-examples",headingTag:"h1"}}),{c(){s=r("meta"),m=g(),c=r("p"),u=g(),E(l.$$.fragment),d=g(),n=r("p"),n.innerHTML=y,_=g(),i=r("ul"),i.innerHTML=b,k=g(),p=r("p"),this.h()},l(e){const a=L("svelte-u9bgzb",document.head);s=h(a,"META",{name:!0,content:!0}),a.forEach(t),m=f(e),c=h(e,"P",{}),v(c).forEach(t),u=f(e),z(l.$$.fragment,e),d=f(e),n=h(e,"P",{"data-svelte-h":!0}),T(n)!=="svelte-j1vqhl"&&(n.innerHTML=y),_=f(e),i=h(e,"UL",{"data-svelte-h":!0}),T(i)!=="svelte-u7pz4k"&&(i.innerHTML=b),k=f(e),p=h(e,"P",{}),v(p).forEach(t),this.h()},h(){D(s,"name","hf:doc:metadata"),D(s,"content",J)},m(e,a){M(document.head,s),o(e,m,a),o(e,c,a),o(e,u,a),j(l,e,a),o(e,d,a),o(e,n,a),o(e,_,a),o(e,i,a),o(e,k,a),o(e,p,a),w=!0},p:S,i(e){w||(q(l.$$.fragment,e),w=!0)},o(e){G(l.$$.fragment,e),w=!1},d(e){e&&(t(m),t(c),t(u),t(d),t(n),t(_),t(i),t(k),t(p)),t(s),C(l,e)}}}const J='{"title":"Docker Spaces Examples","local":"docker-spaces-examples","sections":[],"depth":1}';function O(x){return $(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class V extends A{constructor(s){super(),H(this,s,O,I,P,{})}}export{V as component};
