| hf_search_spaces | R Documentation |
Search hosted Spaces and return one row per result.
hf_search_spaces(
search = NULL,
author = NULL,
sort = "likes",
direction = "desc",
limit = 30,
token = NULL
)
search |
Character string or NULL. Search query. |
author |
Character string or NULL. Filter by owner. |
sort |
Character string. Sort field passed to the Hub API. |
direction |
Character string. Sort direction: "asc" or "desc". |
limit |
Integer. Maximum number of Spaces to return. |
token |
Character string or NULL. API token for authentication. |
A tibble with Space metadata.
## Not run:
hf_search_spaces(search = "chat", limit = 10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.