Buckets:

rtrm's picture
download
raw
2.33 kB
import{s as k,f as q,n as U,o as j}from"../chunks/scheduler.f6b352c8.js";import{S as B,i as F,g as u,s as c,r as y,A as G,h,f as a,c as m,j as C,u as M,x as S,k as d,l as T,y as O,a as r,v as H,d as R,t as z,w as L}from"../chunks/index.b90df637.js";import{H as D,E as J}from"../chunks/getInferenceSnippets.cdf13d78.js";function K(x){let s,g,f,_,i,$,o,A=`🤗 Inference Endpoints can be used through the <a href="https://endpoints.huggingface.co/endpoints" rel="nofollow">UI</a> and programmatically through an API.
The API exposes <a href="https://api.endpoints.huggingface.cloud/" rel="nofollow">open-API specification</a> for each available route.`,w,n,E="Browser not compatible.",I,b,l,P,p,v;return i=new D({props:{title:"API Reference (Swagger)",local:"api-reference-swagger",headingTag:"h1"}}),l=new J({props:{source:"https://github.com/huggingface/hf-endpoints-documentation/blob/main/docs/source/api_reference.mdx"}}),{c(){s=u("meta"),g=c(),f=u("p"),_=c(),y(i.$$.fragment),$=c(),o=u("p"),o.innerHTML=A,w=c(),n=u("iframe"),n.textContent=E,b=c(),y(l.$$.fragment),P=c(),p=u("p"),this.h()},l(e){const t=G("svelte-u9bgzb",document.head);s=h(t,"META",{name:!0,content:!0}),t.forEach(a),g=m(e),f=h(e,"P",{}),C(f).forEach(a),_=m(e),M(i.$$.fragment,e),$=m(e),o=h(e,"P",{"data-svelte-h":!0}),S(o)!=="svelte-1mupez6"&&(o.innerHTML=A),w=m(e),n=h(e,"IFRAME",{src:!0,style:!0,frameborder:!0,id:!0,"data-svelte-h":!0}),S(n)!=="svelte-17lkzlc"&&(n.textContent=E),b=m(e),M(l.$$.fragment,e),P=m(e),p=h(e,"P",{}),C(p).forEach(a),this.h()},h(){d(s,"name","hf:doc:metadata"),d(s,"content",N),q(n.src,I="https://api.endpoints.huggingface.cloud/")||d(n,"src",I),T(n,"height","60vh"),T(n,"width","100%"),d(n,"frameborder","0"),d(n,"id","iframe")},m(e,t){O(document.head,s),r(e,g,t),r(e,f,t),r(e,_,t),H(i,e,t),r(e,$,t),r(e,o,t),r(e,w,t),r(e,n,t),r(e,b,t),H(l,e,t),r(e,P,t),r(e,p,t),v=!0},p:U,i(e){v||(R(i.$$.fragment,e),R(l.$$.fragment,e),v=!0)},o(e){z(i.$$.fragment,e),z(l.$$.fragment,e),v=!1},d(e){e&&(a(g),a(f),a(_),a($),a(o),a(w),a(n),a(b),a(P),a(p)),a(s),L(i,e),L(l,e)}}}const N='{"title":"API Reference (Swagger)","local":"api-reference-swagger","sections":[],"depth":1}';function Q(x){return j(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Y extends B{constructor(s){super(),F(this,s,Q,K,k,{})}}export{Y as component};

Xet Storage Details

Size:
2.33 kB
·
Xet hash:
8dfd55399f703f04c758b7d88c5695bc3d02189440e7ee815fc9e89ba7c0fe84

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