<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{s as X,n as Z,o as ee}from"../chunks/scheduler.d6170356.js";import{S as te,i as ae,g as i,s as n,r as A,A as se,h as c,f as a,c as l,j as N,u as I,x,k as y,y as ne,a as s,v as R,d as U,t as z,w as D}from"../chunks/index.fcd4cc08.js";import{H as Q,E as le}from"../chunks/EditOnGithub.da2b595c.js";function ie(V){let r,_,$,T,f,k,m,G="You can now easily search anything on the Hub with &lt;strong&gt;Full-text search&lt;/strong&gt;. We index model cards, dataset cards, and Spaces app.py files.",H,g,B='Go directly to &lt;a href="https://huggingface.co/search" rel="nofollow"&gt;https://huggingface.co/search&lt;/a&gt; or, using the search bar at the top of &lt;a href="https://huggingface.co" rel="nofollow"&gt;https://huggingface.co&lt;/a&gt;, you can select “Try Full-text search” to help find what you seek on the Hub across models, datasets, and Spaces:',L,o,O='&lt;img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/fulltextsearch1.png"/&gt; &lt;img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/fulltextsearch2.png"/&gt;',M,h,W='&lt;img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/AlbertFTS1.png"/&gt; &lt;img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/AlbertFTS2.png"/&gt;',q,p,C,d,Y="By default, models, datasets, &amp; spaces are being searched when a user enters a query. If one prefers, one can filter to search only models, datasets, or spaces.",P,u,J='&lt;img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/Filter%20search%201.png"/&gt; &lt;img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/Filter%20search%202.png"/&gt;',S,v,K='Moreover, one can copy &amp;amp; share the URL from one’s browser’s address bar, which should contain the filter information as URL query. For example, when one searches for a query &lt;code&gt;llama&lt;/code&gt; with a filter to show &lt;code&gt;Spaces&lt;/code&gt; only, one gets URL &lt;a href="https://huggingface.co/search/full-text?q=llama&amp;amp;type=space" rel="nofollow"&gt;https://huggingface.co/search/full-text?q=llama&amp;amp;type=space&lt;/a&gt;',F,b,E,w,j;return f=new Q({props:{title:"Search",local:"search",headingTag:"h1"}}),p=new Q({props:{title:"Filter with ease",local:"filter-with-ease",headingTag:"h2"}}),b=new le({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/search.md"}}),{c(){r=i("meta"),_=n(),$=i("p"),T=n(),A(f.$$.fragment),k=n(),m=i("p"),m.innerHTML=G,H=n(),g=i("p"),g.innerHTML=B,L=n(),o=i("div"),o.innerHTML=O,M=n(),h=i("div"),h.innerHTML=W,q=n(),A(p.$$.fragment),C=n(),d=i("p"),d.textContent=Y,P=n(),u=i("div"),u.innerHTML=J,S=n(),v=i("p"),v.innerHTML=K,F=n(),A(b.$$.fragment),E=n(),w=i("p"),this.h()},l(e){const t=se("svelte-u9bgzb",document.head);r=c(t,"META",{name:!0,content:!0}),t.forEach(a),_=l(e),$=c(e,"P",{}),N($).forEach(a),T=l(e),I(f.$$.fragment,e),k=l(e),m=c(e,"P",{"data-svelte-h":!0}),x(m)!=="svelte-l0zm8b"&amp;&amp;(m.innerHTML=G),H=l(e),g=c(e,"P",{"data-svelte-h":!0}),x(g)!=="svelte-1dwf1q3"&amp;&amp;(g.innerHTML=B),L=l(e),o=c(e,"DIV",{class:!0,"data-svelte-h":!0}),x(o)!=="svelte-1tp185v"&amp;&amp;(o.innerHTML=O),M=l(e),h=c(e,"DIV",{class:!0,"data-svelte-h":!0}),x(h)!=="svelte-k53eqx"&amp;&amp;(h.innerHTML=W),q=l(e),I(p.$$.fragment,e),C=l(e),d=c(e,"P",{"data-svelte-h":!0}),x(d)!=="svelte-1uxh98"&amp;&amp;(d.textContent=Y),P=l(e),u=c(e,"DIV",{class:!0,"data-svelte-h":!0}),x(u)!=="svelte-1q7kzlf"&amp;&amp;(u.innerHTML=J),S=l(e),v=c(e,"P",{"data-svelte-h":!0}),x(v)!=="svelte-19oqe4h"&amp;&amp;(v.innerHTML=K),F=l(e),I(b.$$.fragment,e),E=l(e),w=c(e,"P",{}),N(w).forEach(a),this.h()},h(){y(r,"name","hf:doc:metadata"),y(r,"content",ce),y(o,"class","flex justify-center"),y(h,"class","flex justify-center"),y(u,"class","flex justify-center")},m(e,t){ne(document.head,r),s(e,_,t),s(e,$,t),s(e,T,t),R(f,e,t),s(e,k,t),s(e,m,t),s(e,H,t),s(e,g,t),s(e,L,t),s(e,o,t),s(e,M,t),s(e,h,t),s(e,q,t),R(p,e,t),s(e,C,t),s(e,d,t),s(e,P,t),s(e,u,t),s(e,S,t),s(e,v,t),s(e,F,t),R(b,e,t),s(e,E,t),s(e,w,t),j=!0},p:Z,i(e){j||(U(f.$$.fragment,e),U(p.$$.fragment,e),U(b.$$.fragment,e),j=!0)},o(e){z(f.$$.fragment,e),z(p.$$.fragment,e),z(b.$$.fragment,e),j=!1},d(e){e&amp;&amp;(a(_),a($),a(T),a(k),a(m),a(H),a(g),a(L),a(o),a(M),a(h),a(q),a(C),a(d),a(P),a(u),a(S),a(v),a(F),a(E),a(w)),a(r),D(f,e),D(p,e),D(b,e)}}}const ce='{"title":"Search","local":"search","sections":[{"title":"Filter with ease","local":"filter-with-ease","sections":[],"depth":2}],"depth":1}';function re(V){return ee(()=&gt;{new URLSearchParams(window.location.search).get("fw")}),[]}class fe extends te{constructor(r){super(),ae(this,r,re,ie,X,{})}}export{fe as component};
</pre></body></html>