import{s as W,n as j,o as q}from"../chunks/scheduler.de5597d1.js";import{S as D,i as F,e as u,s as g,c as k,h as G,a as b,d as r,b as c,f as A,g as H,j as I,k as P,l as O,m as d,n as S,t as C,o as E,p as M}from"../chunks/index.bf1177c2.js";import{C as R,H as U,E as V}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.cd8e640f.js";function B(L){let a,f,m,h,l,x,n,w,i,T=`在本节中，您将找到帮助您实现特定目标的实用指南。
查看这些指南，了解如何使用 huggingface_hub 解决实际问题：`,y,o,z=`<div class="w-full flex flex-col space-y-4 md:space-y-0 md:grid md:grid-cols-3 md:gap-y-4 md:gap-x-5"><a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./repository"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">仓库
      </div><p class="text-gray-700">如何在 Hub 上创建仓库？如何配置它？如何与之交互？</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./download"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">下载文件
      </div><p class="text-gray-700">如何从 Hub 下载文件？如何下载仓库？</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./upload"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">上传文件
      </div><p class="text-gray-700">如何上传文件或文件夹？如何对 Hub 上的现有仓库进行更改？</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./search"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">搜索
      </div><p class="text-gray-700">如何高效地搜索超过 200k+ 个公共模型、数据集和Space？</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./hf_file_system"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">HfFileSystem
      </div><p class="text-gray-700">如何通过一个模仿 Python 文件接口的便捷接口与 Hub 交互？</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./inference"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">推理
      </div><p class="text-gray-700">如何使用加速推理 API 进行预测？</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./community"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">社区
      </div><p class="text-gray-700">如何与社区（讨论和拉取请求）互动？</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./collections"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">集合
      </div><p class="text-gray-700">如何以编程方式构建集合？</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./manage-cache"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">缓存
      </div><p class="text-gray-700">缓存系统如何工作？如何从中受益？</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./model-cards"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">模型卡片
      </div><p class="text-gray-700">如何创建和分享模型卡片？</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./manage-spaces"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">管理您的Space
      </div><p class="text-gray-700">如何管理您的Space的硬件和配置？</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./integrations"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">集成库
      </div><p class="text-gray-700">将库集成到 Hub 中意味着什么？如何实现？</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./webhooks_server"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Webhooks 服务器
      </div><p class="text-gray-700">如何创建一个接收 Webhooks 的服务器并将其部署为一个Space？</p></a></div>`,v,s,$,p,_;return l=new R({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),n=new U({props:{title:"操作指南",local:"操作指南",headingTag:"h1"}}),s=new V({props:{source:"https://github.com/huggingface/huggingface_hub/blob/main/docs/source/cn/guides/overview.md"}}),{c(){a=u("meta"),f=g(),m=u("p"),h=g(),k(l.$$.fragment),x=g(),k(n.$$.fragment),w=g(),i=u("p"),i.textContent=T,y=g(),o=u("div"),o.innerHTML=z,v=g(),k(s.$$.fragment),$=g(),p=u("p"),this.h()},l(e){const t=G("svelte-u9bgzb",document.head);a=b(t,"META",{name:!0,content:!0}),t.forEach(r),f=c(e),m=b(e,"P",{}),A(m).forEach(r),h=c(e),H(l.$$.fragment,e),x=c(e),H(n.$$.fragment,e),w=c(e),i=b(e,"P",{"data-svelte-h":!0}),I(i)!=="svelte-10uo3w0"&&(i.textContent=T),y=c(e),o=b(e,"DIV",{class:!0,"data-svelte-h":!0}),I(o)!=="svelte-ewitys"&&(o.innerHTML=z),v=c(e),H(s.$$.fragment,e),$=c(e),p=b(e,"P",{}),A(p).forEach(r),this.h()},h(){P(a,"name","hf:doc:metadata"),P(a,"content",J),P(o,"class","mt-10")},m(e,t){O(document.head,a),d(e,f,t),d(e,m,t),d(e,h,t),S(l,e,t),d(e,x,t),S(n,e,t),d(e,w,t),d(e,i,t),d(e,y,t),d(e,o,t),d(e,v,t),S(s,e,t),d(e,$,t),d(e,p,t),_=!0},p:j,i(e){_||(C(l.$$.fragment,e),C(n.$$.fragment,e),C(s.$$.fragment,e),_=!0)},o(e){E(l.$$.fragment,e),E(n.$$.fragment,e),E(s.$$.fragment,e),_=!1},d(e){e&&(r(f),r(m),r(h),r(x),r(w),r(i),r(y),r(o),r(v),r($),r(p)),r(a),M(l,e),M(n,e),M(s,e)}}}const J='{"title":"操作指南","local":"操作指南","sections":[],"depth":1}';function K(L){return q(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Y extends D{constructor(a){super(),F(this,a,K,B,W,{})}}export{Y as component};
