import{S as Ha,i as Pa,s as Ta,e as o,k as u,w as J,t as c,M as qa,c as l,d as a,m as f,a as n,x as M,h as p,b as r,N as ea,G as t,g as i,y as N,L as Aa,q as R,o as C,B as D,v as Fa}from"../../chunks/vendor-hf-doc-builder.js";import{I as aa}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as ta}from"../../chunks/CodeBlock-hf-doc-builder.js";import{D as Ia}from"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function Ga(ra){let w,re,v,y,W,T,Pe,X,Te,se,q,oe,_,qe,U,Ae,Fe,le,x,k,K,A,Ie,Q,Ge,ie,m,je,V,Be,Se,Y,Je,Me,Z,Ne,Re,F,Ce,De,ne,I,ce,z,ze,pe,g,sa,ue,E,Le,G,Oe,We,fe,$,H,ee,j,Xe,ae,Ue,me,L,Ke,ge,B,he,h,oa,de,O,Qe,be,S,we,d,la,ve,P,Ve,te,Ye,Ze,xe;return T=new aa({}),q=new Ia({props:{classNames:"absolute z-10 right-0 top-0",options:[{label:"Google Colab",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/master/course/chapter9/section5.ipynb"},{label:"Aws Studio",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/master/course/chapter9/section5.ipynb"}]}}),A=new aa({}),I=new ta({props:{code:`import gradio as gr

title = "GPT-J-6B"
description = "Gradio Demo for GPT-J 6B, a transformer model trained using Ben Wang's Mesh Transformer JAX. 'GPT-J' refers to the class of model, while '6B' represents the number of trainable parameters. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
article = "<p style='text-align: center'><a href='https://github.com/kingoflolz/mesh-transformer-jax' target='_blank'>GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model</a></p>"
examples = [
    ["The tower is 324 metres (1,063 ft) tall,"],
    ["The Moon's orbit around Earth has"],
    ["The smooth Borealis basin in the Northern Hemisphere covers 40%"],
]
gr.Interface.load(
    "huggingface/EleutherAI/gpt-j-6B",
    inputs=gr.Textbox(lines=5, label="Input Text"),
    title=title,
    description=description,
    article=article,
    examples=examples,
    enable_queue=True,
).launch()`,highlighted:`<span class="hljs-keyword">import</span> gradio <span class="hljs-keyword">as</span> gr

title = <span class="hljs-string">&quot;GPT-J-6B&quot;</span>
description = <span class="hljs-string">&quot;Gradio Demo for GPT-J 6B, a transformer model trained using Ben Wang&#x27;s Mesh Transformer JAX. &#x27;GPT-J&#x27; refers to the class of model, while &#x27;6B&#x27; represents the number of trainable parameters. To use it, simply add your text, or click one of the examples to load them. Read more at the links below.&quot;</span>
article = <span class="hljs-string">&quot;&lt;p style=&#x27;text-align: center&#x27;&gt;&lt;a href=&#x27;https://github.com/kingoflolz/mesh-transformer-jax&#x27; target=&#x27;_blank&#x27;&gt;GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model&lt;/a&gt;&lt;/p&gt;&quot;</span>
examples = [
    [<span class="hljs-string">&quot;The tower is 324 metres (1,063 ft) tall,&quot;</span>],
    [<span class="hljs-string">&quot;The Moon&#x27;s orbit around Earth has&quot;</span>],
    [<span class="hljs-string">&quot;The smooth Borealis basin in the Northern Hemisphere covers 40%&quot;</span>],
]
gr.Interface.load(
    <span class="hljs-string">&quot;huggingface/EleutherAI/gpt-j-6B&quot;</span>,
    inputs=gr.Textbox(lines=<span class="hljs-number">5</span>, label=<span class="hljs-string">&quot;Input Text&quot;</span>),
    title=title,
    description=description,
    article=article,
    examples=examples,
    enable_queue=<span class="hljs-literal">True</span>,
).launch()`}}),j=new aa({}),B=new ta({props:{code:'gr.Interface.load("spaces/abidlabs/remove-bg").launch()',highlighted:'gr.Interface.load(<span class="hljs-string">&quot;spaces/abidlabs/remove-bg&quot;</span>).launch()'}}),S=new ta({props:{code:`gr.Interface.load(
    "spaces/abidlabs/remove-bg", inputs="webcam", title="Remove your webcam background!"
).launch()`,highlighted:`gr.Interface.load(
    <span class="hljs-string">&quot;spaces/abidlabs/remove-bg&quot;</span>, inputs=<span class="hljs-string">&quot;webcam&quot;</span>, title=<span class="hljs-string">&quot;Remove your webcam background!&quot;</span>
).launch()`}}),{c(){w=o("meta"),re=u(),v=o("h1"),y=o("a"),W=o("span"),J(T.$$.fragment),Pe=u(),X=o("span"),Te=c("\u4E0E Hugging Face Hub \u6574\u5408"),se=u(),J(q.$$.fragment),oe=u(),_=o("p"),qe=c("\u4E3A\u4E86\u8BA9\u4F60\u7684\u751F\u6D3B\u66F4\u8F7B\u677E, Gradio \u76F4\u63A5\u4E0E Hugging Face Hub \u548C Hugging Face Spaces \u96C6\u6210\u3002\u4F60\u53EF\u4EE5\u4EC5\u4F7F\u7528 "),U=o("em"),Ae=c("\u4E00\u884C\u4EE3\u7801"),Fe=c(" \u4ECE\u4E2D\u5FC3\u548C\u7A7A\u95F4\u52A0\u8F7D\u6F14\u793A\u3002"),le=u(),x=o("h3"),k=o("a"),K=o("span"),J(A.$$.fragment),Ie=u(),Q=o("span"),Ge=c("\u4ECE Hugging Face Hub \u52A0\u8F7D\u6A21\u578B"),ie=c(`

\u9996\u5148, \u4ECE Hugging Face \u901A\u8FC7 Hub \u63D0\u4F9B\u7684\u6570\u5343\u4E2A\u6A21\u578B\u4E2D\u9009\u62E9\u4E00\u4E2A, \u5982 [\u7B2C\u56DB\u7AE0](/course/chapter4/2) \u4E2D\u6240\u8FF0\u3002
`),m=o("p"),je=c("\u4F7F\u7528\u7279\u6B8A\u7684 "),V=o("code"),Be=c("Interface.load()"),Se=c(" \u65B9\u6CD5, \u4F60\u53EF\u4EE5\u4F20\u9012 "),Y=o("code"),Je=c('"model/"'),Me=c(" (\u6216\u8005, \u7B49\u6548\u7684, "),Z=o("code"),Ne=c('"huggingface/"'),Re=c(") \u540E\u9762\u662F\u6A21\u578B\u540D\u79F0\u3002\u4F8B\u5982, \u8FD9\u91CC\u662F\u4E3A\u5927\u578B\u8BED\u8A00\u6A21\u578B "),F=o("a"),Ce=c("GPT-J"),De=c("\u6784\u5EFA\u6F14\u793A\u7684\u4EE3\u7801, \u6DFB\u52A0\u51E0\u4E2A\u793A\u4F8B\u8F93\u5165:"),ne=u(),J(I.$$.fragment),ce=u(),z=o("p"),ze=c("\u4E0A\u8FF0\u4EE3\u7801\u5C06\u751F\u6210\u4EE5\u4E0B\u754C\u9762:"),pe=u(),g=o("iframe"),ue=u(),E=o("p"),Le=c("\u4EE5\u8FD9\u79CD\u65B9\u5F0F\u52A0\u8F7D\u6A21\u578B\u4F7F\u7528 Hugging Face \u7684 "),G=o("a"),Oe=c("Inference API"),We=c(",\u800C\u4E0D\u662F\u5C06\u6A21\u578B\u52A0\u8F7D\u5230\u5185\u5B58\u4E2D\u3002\u8FD9\u5BF9\u4E8E\u50CF GPT-J \u6216 T0pp\u8FD9\u6837\u9700\u8981\u5927\u91CF RAM \u7684\u5927\u578B\u6A21\u578B\u662F\u7406\u60F3\u7684\u3002"),fe=u(),$=o("h3"),H=o("a"),ee=o("span"),J(j.$$.fragment),Xe=u(),ae=o("span"),Ue=c("\u4ECE Hugging Face Spaces \u7A7A\u95F4\u52A0\u8F7D"),me=c("\n\n\u8981\u4ECEhugs Face Hub\u52A0\u8F7D\u4EFB\u4F55\u7A7A\u95F4\u5E76\u5728\u672C\u5730\u91CD\u65B0\u521B\u5EFA\u5B83, \u4F60\u53EF\u4EE5\u5C06 `spaces/` \u4F20\u9012\u7ED9 `Interface`, \u518D\u52A0\u4E0A\u7A7A\u95F4\u7684\u540D\u79F0\u3002\n"),L=o("p"),Ke=c("\u8FD8\u8BB0\u5F97\u7B2C 1 \u8282\u4E2D\u5220\u9664\u56FE\u50CF\u80CC\u666F\u7684\u6F14\u793A\u5417? \u8BA9\u6211\u4EEC\u4ECE Hugging Face Spaces \u52A0\u8F7D\u5B83:"),ge=u(),J(B.$$.fragment),he=u(),h=o("iframe"),de=u(),O=o("p"),Qe=c("\u4ECEHub\u6216Spaces\u52A0\u8F7D\u6F14\u793A\u7684\u4E00\u4E2A\u5F88\u9177\u7684\u5730\u65B9\u662F, \u4F60\u53EF\u4EE5\u901A\u8FC7\u8986\u76D6\u4EFB\u4F55\u53C2\u6570\u6765\u81EA\u5B9A\u4E49\u5B83\u4EEC\u3002\u5728\u8FD9\u91CC, \u6211\u4EEC\u6DFB\u52A0\u4E00\u4E2A\u6807\u9898\u5E76\u8BA9\u5B83\u4E0E\u7F51\u7EDC\u6444\u50CF\u5934\u4E00\u8D77\u4F7F\u7528:"),be=u(),J(S.$$.fragment),we=u(),d=o("iframe"),ve=u(),P=o("p"),Ve=c("\u73B0\u5728\u6211\u4EEC\u5DF2\u7ECF\u63A2\u7D22\u4E86\u51E0\u79CD\u5C06Gradio\u4E0Ehugs Face Hub\u96C6\u6210\u7684\u65B9\u6CD5, \u8BA9\u6211\u4EEC\u6765\u770B\u770B "),te=o("code"),Ye=c("Interface"),Ze=c(" \u7C7B\u7684\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002\u8FD9\u5C31\u662F\u4E0B\u4E00\u8282\u7684\u4E3B\u9898\uFF01"),this.h()},l(e){const s=qa('[data-svelte="svelte-1phssyn"]',document.head);w=l(s,"META",{name:!0,content:!0}),s.forEach(a),re=f(e),v=l(e,"H1",{class:!0});var $e=n(v);y=l($e,"A",{id:!0,class:!0,href:!0});var ia=n(y);W=l(ia,"SPAN",{});var na=n(W);M(T.$$.fragment,na),na.forEach(a),ia.forEach(a),Pe=f($e),X=l($e,"SPAN",{});var ca=n(X);Te=p(ca,"\u4E0E Hugging Face Hub \u6574\u5408"),ca.forEach(a),$e.forEach(a),se=f(e),M(q.$$.fragment,e),oe=f(e),_=l(e,"P",{});var ye=n(_);qe=p(ye,"\u4E3A\u4E86\u8BA9\u4F60\u7684\u751F\u6D3B\u66F4\u8F7B\u677E, Gradio \u76F4\u63A5\u4E0E Hugging Face Hub \u548C Hugging Face Spaces \u96C6\u6210\u3002\u4F60\u53EF\u4EE5\u4EC5\u4F7F\u7528 "),U=l(ye,"EM",{});var pa=n(U);Ae=p(pa,"\u4E00\u884C\u4EE3\u7801"),pa.forEach(a),Fe=p(ye," \u4ECE\u4E2D\u5FC3\u548C\u7A7A\u95F4\u52A0\u8F7D\u6F14\u793A\u3002"),ye.forEach(a),le=f(e),x=l(e,"H3",{class:!0});var _e=n(x);k=l(_e,"A",{id:!0,class:!0,href:!0});var ua=n(k);K=l(ua,"SPAN",{});var fa=n(K);M(A.$$.fragment,fa),fa.forEach(a),ua.forEach(a),Ie=f(_e),Q=l(_e,"SPAN",{});var ma=n(Q);Ge=p(ma,"\u4ECE Hugging Face Hub \u52A0\u8F7D\u6A21\u578B"),ma.forEach(a),_e.forEach(a),ie=p(e,`

\u9996\u5148, \u4ECE Hugging Face \u901A\u8FC7 Hub \u63D0\u4F9B\u7684\u6570\u5343\u4E2A\u6A21\u578B\u4E2D\u9009\u62E9\u4E00\u4E2A, \u5982 [\u7B2C\u56DB\u7AE0](/course/chapter4/2) \u4E2D\u6240\u8FF0\u3002
`),m=l(e,"P",{});var b=n(m);je=p(b,"\u4F7F\u7528\u7279\u6B8A\u7684 "),V=l(b,"CODE",{});var ga=n(V);Be=p(ga,"Interface.load()"),ga.forEach(a),Se=p(b," \u65B9\u6CD5, \u4F60\u53EF\u4EE5\u4F20\u9012 "),Y=l(b,"CODE",{});var ha=n(Y);Je=p(ha,'"model/"'),ha.forEach(a),Me=p(b," (\u6216\u8005, \u7B49\u6548\u7684, "),Z=l(b,"CODE",{});var da=n(Z);Ne=p(da,'"huggingface/"'),da.forEach(a),Re=p(b,") \u540E\u9762\u662F\u6A21\u578B\u540D\u79F0\u3002\u4F8B\u5982, \u8FD9\u91CC\u662F\u4E3A\u5927\u578B\u8BED\u8A00\u6A21\u578B "),F=l(b,"A",{href:!0,rel:!0});var ba=n(F);Ce=p(ba,"GPT-J"),ba.forEach(a),De=p(b,"\u6784\u5EFA\u6F14\u793A\u7684\u4EE3\u7801, \u6DFB\u52A0\u51E0\u4E2A\u793A\u4F8B\u8F93\u5165:"),b.forEach(a),ne=f(e),M(I.$$.fragment,e),ce=f(e),z=l(e,"P",{});var wa=n(z);ze=p(wa,"\u4E0A\u8FF0\u4EE3\u7801\u5C06\u751F\u6210\u4EE5\u4E0B\u754C\u9762:"),wa.forEach(a),pe=f(e),g=l(e,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),n(g).forEach(a),ue=f(e),E=l(e,"P",{});var ke=n(E);Le=p(ke,"\u4EE5\u8FD9\u79CD\u65B9\u5F0F\u52A0\u8F7D\u6A21\u578B\u4F7F\u7528 Hugging Face \u7684 "),G=l(ke,"A",{href:!0,rel:!0});var va=n(G);Oe=p(va,"Inference API"),va.forEach(a),We=p(ke,",\u800C\u4E0D\u662F\u5C06\u6A21\u578B\u52A0\u8F7D\u5230\u5185\u5B58\u4E2D\u3002\u8FD9\u5BF9\u4E8E\u50CF GPT-J \u6216 T0pp\u8FD9\u6837\u9700\u8981\u5927\u91CF RAM \u7684\u5927\u578B\u6A21\u578B\u662F\u7406\u60F3\u7684\u3002"),ke.forEach(a),fe=f(e),$=l(e,"H3",{class:!0});var Ee=n($);H=l(Ee,"A",{id:!0,class:!0,href:!0});var xa=n(H);ee=l(xa,"SPAN",{});var $a=n(ee);M(j.$$.fragment,$a),$a.forEach(a),xa.forEach(a),Xe=f(Ee),ae=l(Ee,"SPAN",{});var ya=n(ae);Ue=p(ya,"\u4ECE Hugging Face Spaces \u7A7A\u95F4\u52A0\u8F7D"),ya.forEach(a),Ee.forEach(a),me=p(e,"\n\n\u8981\u4ECEhugs Face Hub\u52A0\u8F7D\u4EFB\u4F55\u7A7A\u95F4\u5E76\u5728\u672C\u5730\u91CD\u65B0\u521B\u5EFA\u5B83, \u4F60\u53EF\u4EE5\u5C06 `spaces/` \u4F20\u9012\u7ED9 `Interface`, \u518D\u52A0\u4E0A\u7A7A\u95F4\u7684\u540D\u79F0\u3002\n"),L=l(e,"P",{});var _a=n(L);Ke=p(_a,"\u8FD8\u8BB0\u5F97\u7B2C 1 \u8282\u4E2D\u5220\u9664\u56FE\u50CF\u80CC\u666F\u7684\u6F14\u793A\u5417? \u8BA9\u6211\u4EEC\u4ECE Hugging Face Spaces \u52A0\u8F7D\u5B83:"),_a.forEach(a),ge=f(e),M(B.$$.fragment,e),he=f(e),h=l(e,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),n(h).forEach(a),de=f(e),O=l(e,"P",{});var ka=n(O);Qe=p(ka,"\u4ECEHub\u6216Spaces\u52A0\u8F7D\u6F14\u793A\u7684\u4E00\u4E2A\u5F88\u9177\u7684\u5730\u65B9\u662F, \u4F60\u53EF\u4EE5\u901A\u8FC7\u8986\u76D6\u4EFB\u4F55\u53C2\u6570\u6765\u81EA\u5B9A\u4E49\u5B83\u4EEC\u3002\u5728\u8FD9\u91CC, \u6211\u4EEC\u6DFB\u52A0\u4E00\u4E2A\u6807\u9898\u5E76\u8BA9\u5B83\u4E0E\u7F51\u7EDC\u6444\u50CF\u5934\u4E00\u8D77\u4F7F\u7528:"),ka.forEach(a),be=f(e),M(S.$$.fragment,e),we=f(e),d=l(e,"IFRAME",{src:!0,frameborder:!0,height:!0,title:!0,class:!0,allow:!0,sandbox:!0}),n(d).forEach(a),ve=f(e),P=l(e,"P",{});var He=n(P);Ve=p(He,"\u73B0\u5728\u6211\u4EEC\u5DF2\u7ECF\u63A2\u7D22\u4E86\u51E0\u79CD\u5C06Gradio\u4E0Ehugs Face Hub\u96C6\u6210\u7684\u65B9\u6CD5, \u8BA9\u6211\u4EEC\u6765\u770B\u770B "),te=l(He,"CODE",{});var Ea=n(te);Ye=p(Ea,"Interface"),Ea.forEach(a),Ze=p(He," \u7C7B\u7684\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002\u8FD9\u5C31\u662F\u4E0B\u4E00\u8282\u7684\u4E3B\u9898\uFF01"),He.forEach(a),this.h()},h(){r(w,"name","hf:doc:metadata"),r(w,"content",JSON.stringify(ja)),r(y,"id","hugging-face-hub"),r(y,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),r(y,"href","#hugging-face-hub"),r(v,"class","relative group"),r(k,"id","hugging-face-hub"),r(k,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),r(k,"href","#hugging-face-hub"),r(x,"class","relative group"),r(F,"href","https://huggingface.co/EleutherAI/gpt-j-6B"),r(F,"rel","nofollow"),ea(g.src,sa="https://course-demos-gpt-j-6B.hf.space")||r(g,"src",sa),r(g,"frameborder","0"),r(g,"height","750"),r(g,"title","Gradio app"),r(g,"class","container p-0 flex-grow space-iframe"),r(g,"allow","accelerometer; ambient-light-sensor; autoplay; battery; camera; document-domain; encrypted-media; fullscreen; geolocation; gyroscope; layout-animations; legacy-image-formats; magnetometer; microphone; midi; oversized-images; payment; picture-in-picture; publickey-credentials-get; sync-xhr; usb; vr ; wake-lock; xr-spatial-tracking"),r(g,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads"),r(G,"href","https://huggingface.co/inference-api"),r(G,"rel","nofollow"),r(H,"id","hugging-face-spaces"),r(H,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),r(H,"href","#hugging-face-spaces"),r($,"class","relative group"),ea(h.src,oa="https://course-demos-remove-bg-original.hf.space")||r(h,"src",oa),r(h,"frameborder","0"),r(h,"height","650"),r(h,"title","Gradio app"),r(h,"class","container p-0 flex-grow space-iframe"),r(h,"allow","accelerometer; ambient-light-sensor; autoplay; battery; camera; document-domain; encrypted-media; fullscreen; geolocation; gyroscope; layout-animations; legacy-image-formats; magnetometer; microphone; midi; oversized-images; payment; picture-in-picture; publickey-credentials-get; sync-xhr; usb; vr ; wake-lock; xr-spatial-tracking"),r(h,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads"),ea(d.src,la="https://course-demos-Remove-bg.hf.space")||r(d,"src",la),r(d,"frameborder","0"),r(d,"height","550"),r(d,"title","Gradio app"),r(d,"class","container p-0 flex-grow space-iframe"),r(d,"allow","accelerometer; ambient-light-sensor; autoplay; battery; camera; document-domain; encrypted-media; fullscreen; geolocation; gyroscope; layout-animations; legacy-image-formats; magnetometer; microphone; midi; oversized-images; payment; picture-in-picture; publickey-credentials-get; sync-xhr; usb; vr ; wake-lock; xr-spatial-tracking"),r(d,"sandbox","allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads")},m(e,s){t(document.head,w),i(e,re,s),i(e,v,s),t(v,y),t(y,W),N(T,W,null),t(v,Pe),t(v,X),t(X,Te),i(e,se,s),N(q,e,s),i(e,oe,s),i(e,_,s),t(_,qe),t(_,U),t(U,Ae),t(_,Fe),i(e,le,s),i(e,x,s),t(x,k),t(k,K),N(A,K,null),t(x,Ie),t(x,Q),t(Q,Ge),i(e,ie,s),i(e,m,s),t(m,je),t(m,V),t(V,Be),t(m,Se),t(m,Y),t(Y,Je),t(m,Me),t(m,Z),t(Z,Ne),t(m,Re),t(m,F),t(F,Ce),t(m,De),i(e,ne,s),N(I,e,s),i(e,ce,s),i(e,z,s),t(z,ze),i(e,pe,s),i(e,g,s),i(e,ue,s),i(e,E,s),t(E,Le),t(E,G),t(G,Oe),t(E,We),i(e,fe,s),i(e,$,s),t($,H),t(H,ee),N(j,ee,null),t($,Xe),t($,ae),t(ae,Ue),i(e,me,s),i(e,L,s),t(L,Ke),i(e,ge,s),N(B,e,s),i(e,he,s),i(e,h,s),i(e,de,s),i(e,O,s),t(O,Qe),i(e,be,s),N(S,e,s),i(e,we,s),i(e,d,s),i(e,ve,s),i(e,P,s),t(P,Ve),t(P,te),t(te,Ye),t(P,Ze),xe=!0},p:Aa,i(e){xe||(R(T.$$.fragment,e),R(q.$$.fragment,e),R(A.$$.fragment,e),R(I.$$.fragment,e),R(j.$$.fragment,e),R(B.$$.fragment,e),R(S.$$.fragment,e),xe=!0)},o(e){C(T.$$.fragment,e),C(q.$$.fragment,e),C(A.$$.fragment,e),C(I.$$.fragment,e),C(j.$$.fragment,e),C(B.$$.fragment,e),C(S.$$.fragment,e),xe=!1},d(e){a(w),e&&a(re),e&&a(v),D(T),e&&a(se),D(q,e),e&&a(oe),e&&a(_),e&&a(le),e&&a(x),D(A),e&&a(ie),e&&a(m),e&&a(ne),D(I,e),e&&a(ce),e&&a(z),e&&a(pe),e&&a(g),e&&a(ue),e&&a(E),e&&a(fe),e&&a($),D(j),e&&a(me),e&&a(L),e&&a(ge),D(B,e),e&&a(he),e&&a(h),e&&a(de),e&&a(O),e&&a(be),D(S,e),e&&a(we),e&&a(d),e&&a(ve),e&&a(P)}}}const ja={local:"hugging-face-hub",sections:[{local:"hugging-face-hub",title:"\u4ECE Hugging Face Hub \u52A0\u8F7D\u6A21\u578B"},{local:"hugging-face-spaces",title:"\u4ECE Hugging Face Spaces \u7A7A\u95F4\u52A0\u8F7D"}],title:"\u4E0E Hugging Face Hub \u6574\u5408"};function Ba(ra){return Fa(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ra extends Ha{constructor(w){super();Pa(this,w,Ba,Ga,Ta,{})}}export{Ra as default,ja as metadata};
