Buckets:

rtrm's picture
download
raw
9.55 kB
import{s as Re,o as Ye,n as ze}from"../chunks/scheduler.7bc62968.js";import{S as Ue,i as je,g as l,s as i,r as Y,A as Ae,h as o,f as a,c as s,j as Ie,u as z,x as c,k as ge,y as De,a as n,v as U,d as j,t as A,w as D}from"../chunks/index.66556066.js";import{H as O,g as Fe}from"../chunks/Heading.8f17e89c.js";import{T as Oe}from"../chunks/Tip.ad57eee8.js";function Ve(q){let p,f="If you want to customize the title, emojis, and colors of your space, go to “Files and Versions” and edit the metadata of your README.md file.";return{c(){p=l("p"),p.textContent=f},l(u){p=o(u,"P",{"data-svelte-h":!0}),c(p)!=="svelte-11y0lag"&&(p.textContent=f)},m(u,F){n(u,p,F)},p:ze,d(u){u&&a(p)}}}function qe(q){let p,f,u,F,m,B,g,he='<a href="https://tabby.tabbyml.com" rel="nofollow">Tabby</a> is an open-source, self-hosted AI coding assistant. With Tabby, every team can set up its own LLM-powered code completion server with ease.',N,h,de="In this guide, you will learn how to deploy your own Tabby instance and use it for development directly from the Hugging Face website.",G,d,J,y,ye="In this section, you will learn how to deploy a Tabby Space and use it for yourself or your orgnization.",W,v,K,$,ve="You can deploy Tabby on Spaces with just a few clicks:",Q,T,$e='<a href="https://huggingface.co/spaces/TabbyML/tabby-template-space?duplicate=true" rel="nofollow"><img src="https://huggingface.co/datasets/huggingface/badges/raw/main/deploy-to-spaces-lg.svg" alt="Deploy on HF Spaces"/></a>',X,w,Te="You need to define the Owner (your personal account or an organization), a Space name, and the Visibility. To secure the api endpoint, we’re configuring the visibility as Private.",Z,x,we='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tabby/duplicate-space.png" alt="Duplicate Space"/>',ee,L,xe="You’ll see the <em>Building status</em>. Once it becomes <em>Running</em>, your Space is ready to go. If you don’t see the Tabby Swagger UI, try refreshing the page.",te,C,Le='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tabby/swagger-ui.png" alt="Swagger UI"/>',ae,r,ne,_,ie,M,Ce=`Once Tabby is up and running, for a space link such as <a href="https://huggingface.com/spaces/TabbyML/tabby" rel="nofollow">https://huggingface.com/spaces/TabbyML/tabby</a>, the direct URL will be <a href="https://tabbyml-tabby.hf.space." rel="nofollow">https://tabbyml-tabby.hf.space.</a>
This URL provides access to a stable Tabby instance in full-screen mode and serves as the API endpoint for IDE/Editor Extensions to talk with.`,se,H,le,S,_e='<li>Install the <a href="https://marketplace.visualstudio.com/items?itemName=TabbyML.vscode-tabby" rel="nofollow">VSCode Extension</a>.</li> <li>Open the file located at <code>~/.tabby-client/agent/config.toml</code>. Uncomment both the <code>[server]</code> section and the <code>[server.requestHeaders]</code> section.<ul><li>Set the endpoint to the Direct URL you found in the previous step, which should look something like <code>https://UserName-SpaceName.hf.space</code>.</li> <li>As the Space is set to <strong>Private</strong>, it is essential to configure the authorization header for accessing the endpoint. You can obtain a token from the <a href="https://huggingface.co/settings/tokens" rel="nofollow">Access Tokens</a> page.</li></ul></li>',oe,P,Me='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tabby/agent-config.png" alt="Agent Config"/>',pe,b,He=`<li><p>You’ll notice a ✓ icon indicating a successful connection.
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tabby/tabby-connected.png" alt="Tabby Connected"/></p></li> <li><p>You’ve complete the setup, now enjoy tabing!</p></li>`,ce,k,Se='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tabby/code-completion.png" alt="Code Completion"/>',ue,E,Pe='You can also utilize Tabby extensions in other IDEs, such as <a href="https://plugins.jetbrains.com/plugin/22379-tabby" rel="nofollow">JetBrains</a>.',re,I,be,R,ke='If you have improvement suggestions or need specific support, please join <a href="https://join.slack.com/t/tabbycommunity/shared_invite/zt-1xeiddizp-bciR2RtFTaJ37RBxr8VxpA" rel="nofollow">Tabby Slack community</a> or reach out on <a href="https://github.com/TabbyML/tabby" rel="nofollow">Tabby’s GitHub repository</a>.',fe,V,me;return m=new O({props:{title:"Tabby on Spaces",local:"tabby-on-spaces",headingTag:"h1"}}),d=new O({props:{title:"Your first Tabby Space",local:"your-first-tabby-space",headingTag:"h2"}}),v=new O({props:{title:"Deploy Tabby on Spaces",local:"deploy-tabby-on-spaces",headingTag:"h3"}}),r=new Oe({props:{$$slots:{default:[Ve]},$$scope:{ctx:q}}}),_=new O({props:{title:"Your Tabby Space URL",local:"your-tabby-space-url",headingTag:"h3"}}),H=new O({props:{title:"Connect VSCode Extension to Space backend",local:"connect-vscode-extension-to-space-backend",headingTag:"h3"}}),I=new O({props:{title:"Feedback and support",local:"feedback-and-support",headingTag:"h2"}}),{c(){p=l("meta"),f=i(),u=l("p"),F=i(),Y(m.$$.fragment),B=i(),g=l("p"),g.innerHTML=he,N=i(),h=l("p"),h.textContent=de,G=i(),Y(d.$$.fragment),J=i(),y=l("p"),y.textContent=ye,W=i(),Y(v.$$.fragment),K=i(),$=l("p"),$.textContent=ve,Q=i(),T=l("p"),T.innerHTML=$e,X=i(),w=l("p"),w.textContent=Te,Z=i(),x=l("p"),x.innerHTML=we,ee=i(),L=l("p"),L.innerHTML=xe,te=i(),C=l("p"),C.innerHTML=Le,ae=i(),Y(r.$$.fragment),ne=i(),Y(_.$$.fragment),ie=i(),M=l("p"),M.innerHTML=Ce,se=i(),Y(H.$$.fragment),le=i(),S=l("ol"),S.innerHTML=_e,oe=i(),P=l("p"),P.innerHTML=Me,pe=i(),b=l("ol"),b.innerHTML=He,ce=i(),k=l("p"),k.innerHTML=Se,ue=i(),E=l("p"),E.innerHTML=Pe,re=i(),Y(I.$$.fragment),be=i(),R=l("p"),R.innerHTML=ke,fe=i(),V=l("p"),this.h()},l(e){const t=Ae("svelte-u9bgzb",document.head);p=o(t,"META",{name:!0,content:!0}),t.forEach(a),f=s(e),u=o(e,"P",{}),Ie(u).forEach(a),F=s(e),z(m.$$.fragment,e),B=s(e),g=o(e,"P",{"data-svelte-h":!0}),c(g)!=="svelte-e2bxag"&&(g.innerHTML=he),N=s(e),h=o(e,"P",{"data-svelte-h":!0}),c(h)!=="svelte-18b94a7"&&(h.textContent=de),G=s(e),z(d.$$.fragment,e),J=s(e),y=o(e,"P",{"data-svelte-h":!0}),c(y)!=="svelte-1pypmm3"&&(y.textContent=ye),W=s(e),z(v.$$.fragment,e),K=s(e),$=o(e,"P",{"data-svelte-h":!0}),c($)!=="svelte-bsh6cs"&&($.textContent=ve),Q=s(e),T=o(e,"P",{"data-svelte-h":!0}),c(T)!=="svelte-1vxsie5"&&(T.innerHTML=$e),X=s(e),w=o(e,"P",{"data-svelte-h":!0}),c(w)!=="svelte-1uucyts"&&(w.textContent=Te),Z=s(e),x=o(e,"P",{"data-svelte-h":!0}),c(x)!=="svelte-1t0sqit"&&(x.innerHTML=we),ee=s(e),L=o(e,"P",{"data-svelte-h":!0}),c(L)!=="svelte-1o0wpf8"&&(L.innerHTML=xe),te=s(e),C=o(e,"P",{"data-svelte-h":!0}),c(C)!=="svelte-1246u9z"&&(C.innerHTML=Le),ae=s(e),z(r.$$.fragment,e),ne=s(e),z(_.$$.fragment,e),ie=s(e),M=o(e,"P",{"data-svelte-h":!0}),c(M)!=="svelte-5jzl3x"&&(M.innerHTML=Ce),se=s(e),z(H.$$.fragment,e),le=s(e),S=o(e,"OL",{"data-svelte-h":!0}),c(S)!=="svelte-1vx7uam"&&(S.innerHTML=_e),oe=s(e),P=o(e,"P",{"data-svelte-h":!0}),c(P)!=="svelte-c79pml"&&(P.innerHTML=Me),pe=s(e),b=o(e,"OL",{start:!0,"data-svelte-h":!0}),c(b)!=="svelte-1b04ba6"&&(b.innerHTML=He),ce=s(e),k=o(e,"P",{"data-svelte-h":!0}),c(k)!=="svelte-uov9bv"&&(k.innerHTML=Se),ue=s(e),E=o(e,"P",{"data-svelte-h":!0}),c(E)!=="svelte-121avt9"&&(E.innerHTML=Pe),re=s(e),z(I.$$.fragment,e),be=s(e),R=o(e,"P",{"data-svelte-h":!0}),c(R)!=="svelte-yjpns8"&&(R.innerHTML=ke),fe=s(e),V=o(e,"P",{}),Ie(V).forEach(a),this.h()},h(){ge(p,"name","hf:doc:metadata"),ge(p,"content",Be),ge(b,"start","3")},m(e,t){De(document.head,p),n(e,f,t),n(e,u,t),n(e,F,t),U(m,e,t),n(e,B,t),n(e,g,t),n(e,N,t),n(e,h,t),n(e,G,t),U(d,e,t),n(e,J,t),n(e,y,t),n(e,W,t),U(v,e,t),n(e,K,t),n(e,$,t),n(e,Q,t),n(e,T,t),n(e,X,t),n(e,w,t),n(e,Z,t),n(e,x,t),n(e,ee,t),n(e,L,t),n(e,te,t),n(e,C,t),n(e,ae,t),U(r,e,t),n(e,ne,t),U(_,e,t),n(e,ie,t),n(e,M,t),n(e,se,t),U(H,e,t),n(e,le,t),n(e,S,t),n(e,oe,t),n(e,P,t),n(e,pe,t),n(e,b,t),n(e,ce,t),n(e,k,t),n(e,ue,t),n(e,E,t),n(e,re,t),U(I,e,t),n(e,be,t),n(e,R,t),n(e,fe,t),n(e,V,t),me=!0},p(e,[t]){const Ee={};t&2&&(Ee.$$scope={dirty:t,ctx:e}),r.$set(Ee)},i(e){me||(j(m.$$.fragment,e),j(d.$$.fragment,e),j(v.$$.fragment,e),j(r.$$.fragment,e),j(_.$$.fragment,e),j(H.$$.fragment,e),j(I.$$.fragment,e),me=!0)},o(e){A(m.$$.fragment,e),A(d.$$.fragment,e),A(v.$$.fragment,e),A(r.$$.fragment,e),A(_.$$.fragment,e),A(H.$$.fragment,e),A(I.$$.fragment,e),me=!1},d(e){e&&(a(f),a(u),a(F),a(B),a(g),a(N),a(h),a(G),a(J),a(y),a(W),a(K),a($),a(Q),a(T),a(X),a(w),a(Z),a(x),a(ee),a(L),a(te),a(C),a(ae),a(ne),a(ie),a(M),a(se),a(le),a(S),a(oe),a(P),a(pe),a(b),a(ce),a(k),a(ue),a(E),a(re),a(be),a(R),a(fe),a(V)),a(p),D(m,e),D(d,e),D(v,e),D(r,e),D(_,e),D(H,e),D(I,e)}}}const Be='{"title":"Tabby on Spaces","local":"tabby-on-spaces","sections":[{"title":"Your first Tabby Space","local":"your-first-tabby-space","sections":[{"title":"Deploy Tabby on Spaces","local":"deploy-tabby-on-spaces","sections":[],"depth":3},{"title":"Your Tabby Space URL","local":"your-tabby-space-url","sections":[],"depth":3},{"title":"Connect VSCode Extension to Space backend","local":"connect-vscode-extension-to-space-backend","sections":[],"depth":3}],"depth":2},{"title":"Feedback and support","local":"feedback-and-support","sections":[],"depth":2}],"depth":1}';function Ne(q){return Ye(()=>{new URLSearchParams(window.location.search).get("fw"),window.hfDocGoto=Fe}),[]}class Qe extends Ue{constructor(p){super(),je(this,p,Ne,qe,Re,{})}}export{Qe as component};

Xet Storage Details

Size:
9.55 kB
·
Xet hash:
48bc4feeec0ec4d90a2301635e675515ddb9f3531094c3260584fa9738e8dd79

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.