Buckets:

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

Xet Storage Details

Size:
2.51 kB
·
Xet hash:
293acd76c1a0395b78ce27050a89a581be843400dee1e762e707efb3fee8a57c

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